Write off
o2c_write_offClose an uncollectible open invoice balance as a visible, reasoned credit act. A write-off is a credit note of kind write_off, raised for the open balance and applied to the invoice in the same act — never a deletion, never silent (INV-16). The threshold for who may write off how much is yours to police; the record that it happened is not. Effects: credit note (kind write_off) raised and applied; invoice.status -> paid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why it will not be collected. | |
| invoice_id | Yes | The invoice. An existing invoice id. |