cancel_invoice
Cancel an invoice by providing its unique ID. Void active invoices to correct billing mistakes and avoid unwanted charges.
Instructions
Cancel an invoice
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_id": "<invoice_id>"
},
"name": "cancel_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | the id of the invoice |