Read expenses and payments
expenses_listList a flat's expenses newest first with splits and cash payments, page by page, to find expense, split, or payment IDs and review history before updates.
Instructions
Lists the flat's expenses, newest first by occurredAt, each with its splits (debtorMemberId, amountCents, settledAt) and the recorded cash payments, one page at a time. Use it to find an expense, split or payment id, to check updatedAt before expense_update, or to review history. For what others owe the caller use balances_get, for the amount to settle between two members use settlement_preview. Read only. The answer carries expenses, payments, total (all expenses) and hasMore; payments are returned in full on every page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expenses_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size: how many expenses to return. | |
| offset | No | Number of newest expenses to skip. Use limit plus the previous offset while hasMore is true. | |
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |