Delete draft invoice
delete_invoiceDelete a DRAFT invoice (factura en borrador) by id. Only drafts can be deleted: a finalized invoice is part of the Veri*factu chain and must be corrected with rectify_invoice instead. Use list_invoices to find the id. Returns the deleted draft's id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | invoice id from list_invoices |