invoiceflow_create_invoice
Create a DRAFT invoice for an existing client. Amounts are INTEGER CENTS: unitPrice 25000 means $250.00, not $25,000. Do not send totals - the server derives subtotal and total from the line items. Does not email anyone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | No | Optional total tax in INTEGER CENTS. Defaults to 0. | |
| items | Yes | One or more line items. At least one is required. | |
| notes | No | Optional note printed on the invoice. | |
| dueDate | No | Due date, ISO yyyy-mm-dd. If omitted, 14 days from today is used. | |
| clientId | Yes | id of an existing client, from list_clients or create_client. Required. | |
| currency | No | 3-letter ISO code. Defaults to USD. |