The corresponding new call is: POST /download.
if ID is specified, returns the corresponding EDocument. Otherwise returns a list of EDocuments, according to the supplied filtering 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 retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". | integer |
Field name | Type | Description |
---|---|---|
XML | string |