Create a draft invoice
create_invoiceGenerates a draft invoice for a customer using account settings for numbering, language, texts, and VAT. The invoice is not sent and counts toward the monthly plan limit.
Instructions
Creates a draft invoice for a customer. Number, language, texts and VAT treatment come from the account settings. The invoice is not sent; it counts towards the monthly invoice maximum of the plan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"items": "<items>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Invoice date, defaults to today | |
| items | Yes | ||
| due_days | No | Days until payment is due | |
| signature | No | ||
| customer_id | Yes | ||
| introduction | No | ||
| service_period_end_date | No | ||
| service_period_start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||