Prepare an invoice from a template
prepare_invoice_templateSelect a template by ID and add sender, customer and dates. Returns invoice JSON, calculated totals and an editable builderUrl. Example amounts need review. Nothing stored or sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | The business sending the invoice. | |
| billTo | No | The customer. name is required; email is prefilled at checkout. | |
| number | No | Your invoice number, e.g. INV-1042 | |
| dueDate | No | YYYY-MM-DD. The invoice reads overdue the day after. | |
| issueDate | No | YYYY-MM-DD | |
| templateId | Yes |