approve_invoice
Approves a draft invoice to book it permanently, transitioning from draft to approved with no option to revert.
Instructions
Approve a draft Billy invoice (draft -> approved is the only allowed state change). Approval books the invoice; it cannot be reverted to draft.
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": {
"id": "<id>"
},
"name": "approve_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID of a draft invoice | |
| verbose | No | Return the full Billy response. Default false: compact records with key fields only (saves ~90% context) |