invoice_payment_delete
[REQUIRES APPROVAL] Retires a payment fact row — the only correction lane (payments are append-only; amounts are never edited). If retiring it un-settles the invoice, the reversal itself rolls the status from 'paid' back to 'sent' and clears paid_at. An agent's call parks here for a human to approve in the Simpler UI; a human's call is its own approval. NEXT: invoice_payment_record to re-record the correct amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The payment id (invoice_payment_list shows them). | |
| note | No | ||
| method | No | ||
| currency | No | ||
| invoice_id | No | ||
| payment_id | No | Alias of id. | |
| occurred_at | No | ||
| amount_cents | No |