Gallery Platform API
Reference

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.

GET
/gallery/invoices/{id}/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.

Authorization

bearerAuth sales:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: sales:read

Path Parameters

id*string

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"    }  ]}