GET /api/invoices/{id}/pdf to download the invoice as a PDF file. Kibble streams the binary response with Content-Type: application/pdf. You can save the file to disk with curl’s -o flag, proxy the response from your server, or redirect the user’s browser to this URL to trigger a native download.
Request
Path parameters
The invoice UUID returned as
invoice_id when you created the invoice.Example request
Response
A successful request returns200 OK with:
- Content-Type:
application/pdf - Body: The raw PDF binary stream
pdf_url field returned by POST /api/invoices and GET /api/invoices/{id} points to this same endpoint for convenience.