Resource: getvoucherattachments.nv

HTTP-method: GET

Returns voucher attachments. Maximum combined file size of the attachments cannot exceed more than 200MB in one voucher. You can fetch the attachments of one voucher in one request. The NetvisorKey required in the request can be retrieved using the api resource get accounting data accountingledger.nv

Paratemers used in the request:

ParameterOccursDescriptionExample
netvisorkey1The Netvisor key of the accounting voucher for which attachments have been retrieved. The NetvisorKey can be retrieved with the api resource get accounting data accountingledger.nv123

Response:

LevelElementTypeOccurs
Description
Example
RootRootAggregate1  
1AttachmentsAggregate1  
2AttachmentAggregate1..n  
3FilenameString
1Name of he attachment file
ExampleAttachment.pdf
3SizeInBytes
Numeric1File size in bytes
20431511
3MimeType
String
1Mime type of the attachment file
application/pdf
3Content
String
1Base64 encoded file JVBERi0xLjQKJdPr6eEKMSAwIG9iago8


Did you find it helpful? Yes No

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