v1

latestOpenAPI 3.1.02026-07-22155403592.5 KB
Accounting
Attachments

Get attachments

Returns the file content of all attachments linked to an accounting entry (invoice or journal entry). Use this endpoint when an invoice or journal entry has attachments_info.status set to 'yes_to_request'. Pass type=invoice and document_id={invoice_id} for invoices, or type=entry and document_id={entry_id} for journal entries. Each returned item contains a base64-encoded string of the file content (id and base64_string fields).

get/consumers/{consumer_id}/accounting/attachments

Path parameters

consumer_idstring uuid required

Query parameters

pageinteger

Page number

sizeinteger

Page size

folder_idstring nullable

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

type'invoice' | 'entry' required
document_idstring required

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required