cancel_invoice
Cancel an invoice that was never sent and is not booked; sent invoices are refused and must be credited instead via credit_invoice.
Instructions
Cancel (makulera) an invoice that was NEVER sent and is not booked. A sent invoice is in the customer's hands, so it is credited instead (credit_invoice); this tool refuses 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": {
"document_number": "<document_number>"
},
"name": "cancel_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| document_number | Yes |