Download Invoice
Download a Nebula Block invoice by its ID.
Download a specific invoice by including the invoice_id in the URL path. The invoice_id can be obtained from the response of the List_Invoices endpoint, where it is returned as the id field.
HTTP Request
GET {API_URL}/users/invoice-download/{invoice_id}
Path Parameters
Parameters
Requirements
Type
Description
Response
The invoice document itself, returned as a file download rather than the usual JSON envelope.
Example
Request
curl -X GET '{API_URL}/users/invoice-download/{invoice_id}'
-H 'Authorization: Bearer {TOKEN/KEY}'Response
The invoice PDF file will be downloaded automatically.
Last updated