Create a draft invoice
invoice.create_draftUse this when the user asks to invoice a client, bill for a period, or turn unbilled hours into an invoice. Creates a draft only; nothing is sent and the client cannot see it yet. Includes all unbilled billable entries for the client through through_date and marks them as invoiced. Show the draft to the user, then use invoice.send when they ask to send it.
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": "<client>"
},
"name": "invoice.create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| client | Yes | ||
| due_in_days | No | Default: client net terms (30) | |
| through_date | No | Default: today | |
| group_lines_by | No | Default "project" | |
| tax_rate_percent | No |