invoices_create
Create an invoice without a quote (AI can draft lines; a person who can send invoices approves agent-drafted lines before the invoice is sent). Optional due date, memo and deposit. Send it with invoices.send.
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": {
"job_id": "<job_id>",
"lines": "<lines>"
},
"name": "invoices_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| lines | Yes | ||
| due_on | No | ||
| job_id | Yes | ||
| tax_rate_id | No | Tax rate to charge. Leave out for the shop default rate; null for no tax. | |
| deposit_minor | No |