List the files attached to an invoice
Includes the invoice document, its mailed copy once one has been sent, and any manually attached files.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
GET /api/v1/invoices/{invoice_number}/attachments
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/invoices/{invoice_number}/attachments' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Path parameters
- Name
invoice_number- Type
- string
- Description
The invoice invoice number
Response
{
"data": {
"files": [
null
]
}
}Response fields
- Name
files- Type
- array of object
- Description
Every stored file for this invoice: the invoice document itself, present once one exists; its emailed copy (kind invoice_mail), present only once one has been sent; and any manually attached files. Each entry has a filename, a file_type and file_contents — the file’s bytes, base64-encoded.