Make an invoice
make_invoiceLay out a PDF invoice from the details the user gives: who sends it, who pays, and the lines (description, quantity, unit price, VAT %). Shows a preview, and returns a dozokit.com link that opens the invoice filled in, where the user checks it and downloads the PDF, made on their device. Use lang fr and EUR for a French invoice; set noVat for a French micro-entrepreneur exempt from VAT (it prints « TVA non applicable, art. 293 B du CGI »). Read-only: nothing is sent or stored. Crée une facture PDF à partir des informations données.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | Due date, YYYY-MM-DD. Defaults to 30 days after the issue date. | |
| bank | No | Bank details such as IBAN and BIC. | |
| lang | No | Language printed on the invoice. | en |
| lines | Yes | ||
| noVat | No | ||
| terms | No | Payment terms or notes. | |
| client | Yes | ||
| issued | No | Issue date, YYYY-MM-DD. Defaults to today. | |
| number | No | Invoice number. Defaults to INV-<year>-001. | |
| seller | Yes | ||
| currency | No | ISO currency code. | EUR |