Skip to main content

Import eScan document escan.nv

Resource: escan.nv

HTTP-method: POST

A transaction fee (e-scan charge) will be applied for importing eScan documents via the interface when the HRM section Travel service is not activated. If the Travel service is activated, no separate charge is applied for importing the document.

eScan material can be imported to Netvisor as unprocessed material (can be found in Netvisor view: Extensions > Netvisor eScan > Processing of eScan material) or directly allocated to an existing sales invoice or purchase invoice. The interface does not check the size of the attachment, but the maximum size for sales and purchase invoice attachments can be 5MB / invoice.

The imported data is sent with the request as XML according to the following description (POST-data):

Level

Element

Format

Occurs

Description

Example

root

root

Aggregate

1

1

escandocument

Aggregate

1

2

documenttype

String

1

Type of document

Receipt

2

description

String

1

Description of document

Receipt for bank transfer

2

documentmimetype

String

1

MIME-type of the document, 1*)

application/pdf

2

compression

String

0...1

Compression type used for the document, gzip or none

2

documentdata

String

1

Document data Base64 encoded, if the document is compressed, only compressed data is encoded

S89O3Ly1Lr59NB

2

targets

Aggregate

0...n

3

targetline

Aggregate

1...n

4

target

String

1

Document allocation, sales invoice or purchase invoice

salesinvoice,

purchaseinvoice

4

targetidentifier

String

1

Target identifier, netvisor key

*1) Allowed document types: image/bmp, image/emf, image/exif, image/gif, image/icon, image/jpeg, image/png, image/tiff, image/wmf or application/pdf

This article has been translated using an AI-based translation tool. The contents or wording of these instructions may differ from those in other instructions or in the software.

Did this answer your question?