Resource: escan.nv
HTTP-method: POST
A transaction payment for web invoice will be charged for each eScan document imported to Netvisor via interface. If resource management is activated, no transaction fee is charged.
eScan document will be imported to Netvisor as unprocessed data (can be found in Netvisor view: Extensions > Netvisor eScan > Processing of eScan data) OR it can be targeted to a sales invoice or purchase invoice. API doesn't check the size of the document, but the maximum size of sales and purchase attachments can be 5MB / invoice.
Request:
Level | Element name | Type and length | Occurs | Description | Example |
Root | root | Aggr. | 1 | ||
1 | escandocument | Aggr | 1 | ||
2 | documenttype | String | 1 | Type of document | Voucher |
2 | description | String | 1 | Description of document | |
2 | documentmimetype | String | 1 | MIME-type of the document *1 | application/pdf |
2 | compression | String | 0...1 | Compression type of the document gzip or none | gzip |
2 | documentdata | Base64 | 1 | Contains Base64 encoded document data. If document is compressed, only compressed data is encoded. | |
2 | targets | Aggr. | 0...n | ||
3 | targetline | Aggr. | 1...n | ||
4 | target | String | 1 | The document target, salesinvoice or purchaseinvoice | salesinvoice |
4 | targetidentifier | String | 1 | Netvisor key |
*1) Allowed document types: image/bmp, image/emf, image/exif, image/gif, image/icon, image/jpeg, image/png, image/tiff, image/wmf, application/pdf
Did you find it helpful? Yes No
Send feedback