Update invoice
update_invoiceUpdate invoice header details: set status, due date, billed date, and notes. Void unpaid invoices by setting status to void.
Instructions
Edit invoice header fields: status (active/draft/proforma/void), due date, billed date, notes. Wraps Invoices.edit. Use status: "void" to void an unpaid invoice (irreversible in practice). Line items are not editable here; use blesta_call invoices/edit with lines for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| date_due | No | ISO 8601 with timezone | |
| invoice_id | Yes | Numeric invoice ID | |
| date_billed | No | ISO 8601 with timezone | |
| note_public | No | ||
| note_private | No |