Download invoice PDF
nula_get_invoice_pdfDownload an invoice as a PDF in Bulgarian or English, saving it to your download folder or returning it inline. Specify the invoice ID to retrieve the document.
Instructions
Download the PDF of an invoice in Bulgarian or English and save it locally (or return it inline).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Invoice number, used for the file name | |
| delivery | No | "file" (default) saves to the download folder and returns the path; "embed" returns the file inline | |
| language | No | Document language (default from configuration) | |
| invoice_id | Yes | nula.bg internal id of the invoice |