Print Invoice (PDF)
Returns the invoice as an application/pdf binary attachment — the same PDF the admin panel produces. Requires the sales.invoices.view permission.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/invoices/{id}/print | GET |
Response headers
Content-Type: application/pdf
Content-Disposition: attachment; filename="invoice-{id}.pdf"The body is a raw PDF — do not JSON-decode it.
GraphQL
There is no GraphQL counterpart for this endpoint — GraphQL transports cannot return a binary PDF stream. Use this REST endpoint when you need the PDF.

