Void invoice
o2c_void_invoiceVoid an invoice that should never have been issued. Only an invoice with no cash applied to it can be voided, and voiding puts the quantities back to uninvoiced so the order can be billed correctly. An invoice the customer has already paid against is corrected with a credit note, never voided — the money moved, and the record has to keep saying so. Effects: invoice.status -> void; order_line.qty_invoiced released.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why it is being voided. | |
| invoice_id | Yes | The invoice. An existing invoice id. |