Refund a deposit
deposit_refundGive part or all of a held deposit back to the client, with the date and how it was sent. Refuses more than is still held. The invoice server is not touched: a refund is not a payment.
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": {
"id": "<id>"
},
"name": "deposit_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deposit id such as DEP-2026-0001, or an exact client name | |
| date | No | YYYY-MM-DD, the day the money went back. Defaults to today | |
| note | No | Free text kept on the refund row | |
| method | No | How it was sent, e.g. "bank transfer to the account it came from". Printed on the statement | |
| amount_minor | No | How much to give back, in minor units. Defaults to everything still held |