Resources - eScan
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.
Integration | HTTP-method | Resource | DTD | Example |
POST | escan.nv |
Resource: escan.nv
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 targetted to a salesinvoice or purchase invoice.
Request:
Level | Element name | Type and length | Occurs | Description | Example |
Root | root | Aggr. | 1 | ||
1 | escandocument | Aggr | 1 | ||
2 | documenttype | Text | 1 | Type of document | Voucher |
2 | description | Text | 1 | Description of document | |
2 | documentmimetype | Text | 1 | MIME-type of the document *1 | application/pdf |
2 | compression | Text | 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 | Text | 1 | The document target, salesinvoice or purchaseinvoice | salesinvoice |
4 | targetidentifier | Text | 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