Resource: salesinvoicebatch.nv
HTTP-method: POST
This resource can be used to import sales invoices as a batch, sales orders must be imported individually with the resource salesinvoice.nv.
Please note that when importing sales invoices using salesinvoicebatch.nv, any potential errors in the import must be queried using the query get batch status getbatchstatus.nv. The query also returns the error type returned by the Netvisor API. Errors are not otherwise notified.
Level | Element | Type | Occurs | Description | Example |
Root | root | Aggr. | 1 | ||
1 | salesinvoicebatch | Aggr. | 1 | ||
2 | sharedattachments | Aggr. | 0...1 | ||
3 | attachment | Aggr. | 1...n | ||
4 | mimetype | Text max. 50 | 1 | MIME-type of the attachment | application/pdf |
4 | data | Text | 1 | Base64 encoded data of the attachment | |
Attr. | type | Text | 1 | finvoice or pdf | finvoice |
4 | filename | Text. max.255 | 1 | Attachment file name | attachment.pdf |
4 | description | Text, max.100 | 1 | Attachment description | Description |
4 | printbydefault | Numeric | 0...1 | NOTE! Not given if the attachment type is finvoice (otherwise the request is rejected) 1 = true, 0 = false | 1 |
4 | itemlink | Aggr. | 1 | ||
5 | itemidentifier | Text, max. 50 | 1 | ||
2 | items | Aggr. | 1 | ||
3 | item | Aggr. | 1...n | ||
4 | identifier | Text, max. 50 | 1 | Identifier of one invoice in invoice batch. Defined by you. | |
4 | itemdata | XML | 1 | Valid SalesInvoice XML | See the resource description: Import Sales Invoice |
This article has been translated using an AI-based translation tool.
Did you find it helpful? Yes No
Send feedback