Close account
purch_close_accountMark an account closed from a day, with a reason. It stays in the register and its statements stay; it leaves net worth from that day. Only when the person says it is closed. A closing balance that is not zero is named in the result, not refused: that money went somewhere worth recording. Effects: account closed from a day.
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": {
"account_id": "<account_id>",
"closed_on": "<closed_on>",
"reason": "<reason>"
},
"name": "purch_close_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why, for the record. | |
| closed_on | Yes | The day it closed. ISO date, YYYY-MM-DD. | |
| account_id | Yes | The account. An existing purch_account id. |