Restore cancelled invoice
restore_invoiceRestore a cancelled invoice to its valid state. Use when an invoice was voided by mistake and needs to count again.
Instructions
Undo cancel_invoice and put a cancelled invoice back into its normal, valid state.
Use this when an invoice was voided by mistake and should count again. It has no effect on an invoice that was never cancelled, and it cannot bring back one that was deleted — deletion has no undo.
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": "restore_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Invoice number, without the series prefix. | |
| seriesName | No | Invoice series. Falls back to the configured default. | |
| companyVatCode | No | Issuing company CIF. Falls back to SMARTBILL_VAT_CODE. |