create_invoice
Create a draft invoice for a client using line items, prices, tax, and payment terms; mark it sent once delivered.
Instructions
Create a draft invoice. Use mark_invoice_sent once it has gone to the client.
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": {
"client_id": "<client_id>",
"items": "<items>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | ||
| tax_rate | No | Percent; defaults to the profile rate | |
| client_id | Yes | ||
| issue_date | No | YYYY-MM-DD; defaults to today | |
| due_in_days | No | Defaults to the profile payment terms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||