Mark an invoice paid
invoice_mark_paidRecord a payment on one invoice. amount is in MAJOR units and ADDS to what is paid, never replaces it; omit it to settle the rest. An overpayment is refused, naming the open balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount received in major units, ADDED to what is already paid on this invoice. Omit to pay off the remaining balance in full | |
| method | No | How it was paid, e.g. bank transfer, card. Stored on this payment's row | |
| number | Yes | ||
| paid_date | No | YYYY-MM-DD, defaults to today | |
| reference | No | Bank reference or transaction id for this payment. Stored on this payment's row |