Cancel an invoice
smartbill_cancel_invoiceDestructive
Cancel an existing invoice (it stays in the books as cancelled; smartbill_restore_invoice undoes it). Changes the document's fiscal status, so confirm with the user. PUT /invoice/cancel.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Document number as text, e.g. "0025" (keep leading zeros). | |
| series_name | Yes | Document series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them). |