List attachments on an invoice
GET
/api/public/v1/invoices/{invoice_id}/attachments
Code sample: cURL
curl --request GET \ --url 'https://api.getzutax.com/api/public/v1/invoices/f3df2967-7cbe-4cca-8c8c-975ee2f6857f/attachments' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” invoice_id
required
Invoice Id
string format: uuid
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response List Invoice Attachments Api Public V1 Invoices Invoice Id Attachments Get
Array<object>
AttachmentResponseStable response shape for public-API attachment endpoints.
object
id
required
Id
string format: uuid
filename
required
Filename
string
mime_type
required
Mime Type
string
size_bytes
required
Size Bytes
integer
attachment_type
required
Attachment Type
string
created_at
required
Created At
string format: date-time
Examples
Example Sample response
200 response example
[ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "invoice_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "filename": "string", "mime_type": "string", "size_bytes": 1, "attachment_type": "invoice_pdf", "description": "string", "checksum_sha256": "string", "created_at": "2026-02-11T10:00:00Z" }]Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examples
Example Sample response
422 response example
{ "detail": [ { "loc": [], "msg": "string", "type": "string" } ]}