Search

saveEDocuments

Creates a new EDocument (sales invoice/order or purchase invoice/order)

Input parameters

Parameter nameDescriptionPossible valueRequired
formatBy default "XML"XML
typePossible values: SALESINVWAYBILL, SALESINVOICE, SALESORDER, SALESEXPORTINVOICE, PURCHASEINVOICE, PURCHASEORDER, PURCHASECASHINVOICEString yes
invoiceXMLxml file's content
invoiceXMLUrilink to xml file

Response

Field nameTypeDescription
invoiceCountIntegerNumber of documents inserted