Skip to main content

Download Sales Invoice Document File

GET 

/api/sales-invoices/:salesInvoice/documents/:document/file

Stream an attached file. The response is the raw file, not JSON — Content-Type is the stored file's own type (e.g. application/pdf, image/jpeg).

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Returns 404 when the document is not attached to this invoice or the stored file is missing.

Requires orders:read and sales_invoices.show.

Request​

Responses​

OK

Response Headers
    Content-Type