Resource: getvoucherattachments.nv
HTTP-method: GET
Fetch bookkeeping voucher attachments. The maximum combined file size of the attachments for one voucher can be up to 200MB. 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 bookkeeping material accountingledger.nv
Parameters used in the request:
Parameter | Occurs | Description | Example |
netvisorkey | 1 | The NetvisorKey of the bookkeeping voucher for which attachments are retrieved. The NetvisorKey can be retrieved with the api resource get bookkeeping material 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 the 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 attachment | JVBERi0xLjQKJdPr6eEKMSAwIG9iago8 |
Did you find it helpful? Yes No
Send feedback