Resource: getattachments.nv

HTTP-method: GET

Returns purchase invoice attachments.

Also returns purchase invoice's finvoice-style attachment as an image.

ParameterOccursDescriptionExample
attachmentsource1Always purchaseinvoice
purchaseinvoice
netvisorkey1Netvisor ID of the purchase invoice123
convertpdfstoimages0...1With value true pdf attachments are converted to png images.
Every pdf page as their own image.
true

Response:

LevelElementTypeOccursDescriptionExample
rootRootAggr.1  
1AttachmentsAggr.1  
2AttachmentAggr.1...n  
3AttachmentNetvisorKeyNumeric1Netvisor ID of attachment123
3AttachmentPageNumberNumericPage number1
3FileNameStringDate of invoiceTestimage.jpg
3FileTypeString1 image/png
3ContentStringBase64 encoded fileiVBORw0KGgoAAAANSUhEUgAAB


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.