DownloadInvoice generates and downloads invoice as PDF.
GET/api/v1/billing/invoices/:id/download
Generates a professionally formatted PDF invoice suitable for printing or sending to customers. Includes company branding, line items, tax breakdown, and payment instructions.
Authorization
Requires billing:read permission.
Response
Returns binary PDF data with suggested filename.
Errors
- NOT_FOUND: Invoice does not exist
- FAILED_PRECONDITION: Invoice in draft status cannot be downloaded
Request
Responses
- 200
- default
A successful response.
An unexpected error response.