Generate an invoice PDF
render_invoice_pdfGenerate a downloadable PDF artifact without a browser, account or storage. Requires sender/customer names, invoice number, dates and complete line items. Western European text only; unsupported characters or logos return an explicit error, use the web builder for those. Does not send invoices or process payments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The business sending the invoice. | |
| items | Yes | ||
| notes | No | ||
| terms | No | ||
| billTo | Yes | The customer. name is required; email is prefilled at checkout. | |
| number | Yes | Your invoice number, e.g. INV-1042 | |
| shipTo | No | Optional shipping address | |
| dueDate | Yes | YYYY-MM-DD. The invoice reads overdue the day after. | |
| taxRate | No | Percent. Applied after discount, not to shipping. | |
| currency | No | usd | |
| discount | No | Minor units, taken off the subtotal | |
| shipping | No | Minor units, added after tax | |
| issueDate | Yes | YYYY-MM-DD |