Delete an invoice
delete_invoicePermanently delete an invoice record while keeping its time entries; provide the invoice ID or number and confirm before removal.
Instructions
Permanently delete an invoice record. The time entries stay. Confirm with the user before calling this.
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": {
"invoice": "<invoice>"
},
"name": "delete_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Invoice id or invoice number, e.g. INV-2026-004 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |