Record a payment received
payment_recordRecord money received against a chased invoice, in whole MINOR units: a part payment lowers what is still chased, a payment that covers the balance closes the ladder and frees the free-tier slot. Returns the outstanding amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date the money arrived, YYYY-MM-DD. Default today | |
| note | No | How it was paid, e.g. Bank transfer, or what it was against | |
| invoice | Yes | The chased invoice: its id (DUN-2026-0001) or its invoice reference | |
| amount_minor | Yes | What was received, in whole minor units |