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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice": "<invoice>",
"amount_minor": "<amount_minor>"
},
"name": "payment_record"
}
}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 |