Delete public Wave draft invoice
wave_delete_invoicePermanently delete a Wave invoice only after verifying ownership and confirming it is still a DRAFT; non-draft invoices are refused, and ambiguous results are not retried.
Instructions
Destructive policy denied by default. Reads actual ownership/current state, refuses every non-DRAFT before one invoiceDelete. No atomic conditional-delete guarantee; ambiguous effects are never retried, audit awaited.
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": {
"invoiceId": "<invoiceId>"
},
"name": "wave_delete_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | ||
| businessId | No |