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