Generate Invoice PDF
1 min
GET
https://api.nue.io/billing/invoices/{id}/pdf:generate
idstring<uuid>The invoice ID. The invoice cannot be in Draft or Canceled statuses.
templateIdstring<p>The invoice template ID used to generate the invoice PDF. If not provided, the default invoice template will be used.</p>
acceptstringGenerated from available response content types
200default response
400Bad Request
404Not Found
curl --request GET \
--url https://api.nue.io/billing/invoices/{id}/pdf:generate \
--header 'accept: application/pdf'