List invoice documents
Lists the supporting documents attached to an invoice (wire instructions, a resale certificate, shipping paperwork). These are the files `POST /invoices/{id}/send` can enclose. A first-party session gets a short-lived signed download URL for each; an API-key principal has no membership, so it reads none.
Lists the supporting documents attached to an invoice (wire instructions, a resale certificate, shipping paperwork). These are the files POST /invoices/{id}/send can enclose. A first-party session gets a short-lived signed download URL for each; an API-key principal has no membership, so it reads none.
Authorization
bearerAuth sales:readA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: sales:read
Path Parameters
The invoice id.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "data": [ { "id": "string", "invoice_id": "string", "storage_path": "string", "url": "string", "title": "string", "file_name": "string", "content_type": "string", "byte_size": -9007199254740991, "position": -9007199254740991, "created_at": "string", "updated_at": "string" } ]}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}