Last updated 3 months ago
The consent for which you wish to retrieve invoice attachments.
The id of the invoice that you wish to retrieve attachments for.
Returns invoice attachments related to specific consent.
const response = await fetch('https://apione.zwapgrid.com/accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments', { method: 'GET', headers: { "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000" }, }); const data = await response.json();
{ "meta": {}, "data": [ { "id": "text", "invoiceId": "text", "type": "Attachment" } ] }