Mark a split as settled
expense_split_settleMark a single debtor's share of an expense as settled after cash repayment, or reopen it if marked by mistake; the expense itself remains unchanged.
Instructions
Marks one debtor share of an expense as settled (the person paid it back in cash), or reopens it with settled false; the expense itself stays unchanged. Use it for a single share; to settle several shares between two members use settlement_preview then settlement_commit, to settle the whole net debt use cash_payment_record. Only the debtor or the payer of that expense may call it (otherwise not_split_party). Settling is refused with 409 split_already_offset when the share is larger than what the debtor still owes net, and split_not_found when the split id does not belong to the expense. Settling notifies the other party; reopening does not. The answer holds the split.
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>",
"splitId": "<splitId>"
},
"name": "expense_split_settle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the expense the split belongs to, from expenses_list. | |
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. | |
| settled | No | true marks the share as paid back; false reopens a share that was settled by mistake. | |
| splitId | Yes | Id of the split to change, from the splits of that expense in expenses_list. |