Invoices API
POST/api/v1/invoices/{id}/pdf
Product availabilityAlgaPSA

Generate and download invoice PDF

Generates the invoice PDF and returns the raw PDF file as an application/pdf attachment.

RBAC · invoice

Path parameters

idstring <uuid>Required
Path UUID parameter resolved by ApiBaseController.extractIdFromPath().

Response codes

200
PDF file returned as an application/pdf attachment.
400
Invalid invoice id.
401
API key missing/invalid.
403
invoice:read permission denied.
404
Invoice not found.
500
Unexpected PDF generation failure.