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        
dateTo        
documentID  ID of a specific e-document      
searchAttributeName  Search from attribute name.searchAttributeName and searchAttributeValue have to be specified both  String    
searchAttributeValue  Search from attribute value  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