Skip to content

Print Invoice (PDF)

Not exposed over GraphQL

GraphQL transports cannot return a binary PDF stream, so this action is REST only. Use the REST endpoint to download the PDF:

GET /api/admin/invoices/{id}/print
Authorization: Bearer <admin-token>

The response is an application/pdf binary attachment — the same PDF the admin panel produces. Requires the sales.invoices.view permission.

See the REST → Print Invoice page for the full details.

Released under the MIT License.