getEDocuments

if ID is specified, returns the corresponding EDocument. Otherwise returns a list of EDocuments, according to the supplied filtering parameters.

Input parameters

Parameter name Description Possible value Required
format By default "XML" XML
type Specify ALLSALESINVOICES or ALLPURCHASEINVOICES if you do not want to filter by type, or if you are querying by document ID.

Otherwise, the following options are available: SALESINVWAYBILL, SALESINVOICE, SALESORDER, SALESEXPORTINVOICE, SALESCASHINVOICE, SALESCREDITINVOICE, PURCHASEINVOICE, PURCHASEORDER
String yes
dateFrom Period start date (yyyy-mm-dd) String
dateTo Period end date (yyyy-mm-dd) String
documentID ID of a specific e-document Integer
searchAttributeName Name of attribute to search from. Both "searchAttributeName" and "searchAttributeValue" have to be specified. Error 1030 will be returned if value is an array. String
searchAttributeValue Attribute value to search for. Error 1030 will be returned if value is an array. String
recordsOnPage Number of records API should return. By default 20, at most 100. Integer
pageNo API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer

Response

Field name Type Description
XML xml