Invoice history
Short description
The ERP Cache Invoice interface is used to keep a record of the invoices in the ERP system. The Invoices in the ERP Cache are used to show invoice history to the user.
Delivery method
Update Frequency: Batch at least once a day Incremental or complete set: Incremental
Filetype: Zipped XML
Filename: [SHOPNAME]_ErpCache_Invoice_[INDEXNUMBER](_[SUBNUMBER]).xml Transport: over FTPS, FTPS Vendisto server hosted by INTEGRACE, file will be placed on FTPS server by ERP party.
Location within FTP root: \ErpCache\
Structure XML
Fields XML
Import element:
Name | Description | Type | Required/Optional |
ImportSettings | Container element for importsettings | Element | Required |
Invoices | Container element for invoice data | Element | Required |
ImportSettings element:
Name | Description | Type | Required/Optional |
Importer | Name of the importer. Should be ErpCache_Invoices. | Text, default ErpCache_Invoices | Required |
Version | Version of the import xml. To be used for backward compatibility issues. | Text, default 1.0 | Required |
Order element:
Name | Description | Type | Required/Optional |
InvoiceNumber | Invoice number | Text | Required |
AccountNumber | Customer's account number | Text | Required |
InvoiceDate | Invoice date | Date | Required |
DownloadablePdfUri | A link to the Invoice document (PDF format) which will be generated by the ERP system | Uri | Optional |
InvoicePdf | The PDF containing the invoice | Base64Binary | Optional |
TotalOutstanding | The total outstanding amount of the invoice. Webservice falls back on Outstanding Item -> TotalOutstanding if this value is null | Decimal | Optional |
TotalPrice | The total price of the invoice | Decimal | Optional |
Types:
Type | Values |
Date | yyyy-MM-dd |
Base64Binary | Base64 encoded equivalent of an array of 8-bit unsigned integers |