saveEDocuments

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

Input parameters

Parameter name Description Possible value Required
format By default "XML" XML
type Possible values: SALESINVWAYBILL, SALESINVOICE, SALESORDER, SALESEXPORTINVOICE, PURCHASEINVOICE, PURCHASEORDER, PURCHASECASHINVOICE String yes
invoiceXML xml file's content String
invoiceXMLUri link to xml file String

Response

Field name Type Description
invoiceCount Integer Number of documents inserted