Delete receipt
delete_receiptPermanently remove a receipt by its series and number. Irreversible action; use cancel_payment to void instead.
Instructions
Permanently remove a receipt (chitanta), identified by its series and number. Irreversible.
Use cancel_payment instead when the receipt should stay on record as voided — that is usually what accounting expects. This tool is only for receipts; other payment types are removed with delete_payment. Confirm with the user before calling.
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": "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. |