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:
Parameter | Occurs | Description | Example |
netvisorkey | 1 | The 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.nv | 123 |
Response:
Level | Element | Type | Occurs | Description | Example |
Root | Root | Aggregate | 1 | ||
1 | Attachments | Aggregate | 1 | ||
2 | Attachment | Aggregate | 1..n | ||
3 | Filename | String | 1 | Name of he attachment file | ExampleAttachment.pdf |
3 | SizeInBytes | Numeric | 1 | File size in bytes | 20431511 |
3 | MimeType | String | 1 | Mime type of the attachment file | application/pdf |
3 | Content | String | 1 | Base64 encoded file | JVBERi0xLjQKJdPr6eEKMSAwIG9iago8 |
Did you find it helpful? Yes No
Send feedback