create_invoice
Create a new invoice for a customer by providing customer ID, dates, and line items. Automatically fills required hidden fields in InvoiceShelf, so you can issue valid invoices without knowing internal API details.
Instructions
Create a new invoice. Handles InvoiceShelf's undocumented required fields internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | ||
| due_date | Yes | YYYY-MM-DD | |
| customer_id | Yes | ||
| tax_percent | No | Adds the existing tax type with this percentage (e.g. 19) on the whole invoice. Omit for no tax. | |
| invoice_date | Yes | YYYY-MM-DD | |
| template_name | No | Defaults to "tobeworks". | |
| invoice_number | No | Auto-generated via /next-number if omitted. | |
| reference_number | No |