Delete invoice
delete_invoicePermanently delete an invoice and its PDF. Requires the invoice ID; use list_invoices to find it. This can't be undone, so confirm with the user first.
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": "delete_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID to delete (from list_invoices) | |
| customerName | No | Customer name for confirmation display | |
| invoiceNumber | No | Invoice number for confirmation display |