Cancel receipt
cancel_paymentCancel a receipt that was issued in error, voiding it without deletion to maintain continuous receipt numbering.
Instructions
Void a receipt (chitanta) without removing it: it keeps its number and is marked cancelled, so the receipt series has no gap.
Use this when a receipt was issued in error. This only applies to receipts — to remove a card or bank transfer collection, use delete_payment; to remove the receipt entirely, use delete_receipt.
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": {
"number": "<number>"
},
"name": "cancel_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Receipt number. | |
| seriesName | No | Receipt series. Falls back to SMARTBILL_RECEIPT_SERIES. | |
| companyVatCode | No | Issuing company CIF. Falls back to SMARTBILL_VAT_CODE. |