Delete invoice
delete_invoicePermanently deletes an unpaid invoice and its line items; invoices with recorded payments are refused, so use update_invoice with write_off or denied instead.
Instructions
Deletes an invoice that has no payments, for good.
Deletes the invoice and its items. It cannot be undone. An invoice with payments recorded is refused. For that one, or to keep the record, use update_invoice with status write_off or denied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | From list_invoices. |