Record a cash payment
cash_payment_recordRecords a completed cash payment settling a member's full net debt to another member without moving funds; use the expected balance to catch debt changes.
Instructions
Records a cash payment that already happened over the whole current net debt from fromMemberId to toMemberId; ManaWG moves no money. Use it once the debt was handed over; to mark only selected shares use settlement_commit or expense_split_settle, to take a wrong entry back use cash_payment_void. The caller must be one of the two members (otherwise not_party_to_debt), both active in the flat (member_not_in_wg). expectedNetCents guards against a changed debt: 409 settlement_changed means run settlement_preview again. Notifies the other member and writes an audit entry.
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": {
"fromMemberId": "<fromMemberId>",
"toMemberId": "<toMemberId>",
"expectedNetCents": "<expectedNetCents>"
},
"name": "cash_payment_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. | |
| currency | No | Currency of the debt that was paid. | EUR |
| toMemberId | Yes | Member who received the cash, from members_list. | |
| fromMemberId | Yes | Member who paid the cash and owed the money, from members_list. | |
| expectedNetCents | Yes | netCents from settlement_preview for the same members and currency: the net debt in cents you expect to settle. |