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.
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. |