Reconcile bank transaction
reconcile_transactionMatch, create and match, or ignore a pending bank transaction. Matching to an existing payment marks it paid and replaces its paid date, method, and reference with the bank line. To match one bank transaction to several records, use action match with targets: [{ type, targetId, amount }]. Bank import tools are available only when a building has bank sync configured.
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": {
"buildingId": "<buildingId>",
"transactionId": "<transactionId>",
"action": "<action>"
},
"name": "reconcile_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| action | Yes | ||
| expense | No | ||
| payment | No | ||
| targets | No | Split match: several payments and expenses for one bank transaction. Each amount is positive; payments count as money in, expenses as money out, and the total must equal the bank amount (e.g. bank -1020 = expense 1500 + payment 480 settled as an offset). | |
| targetId | No | ||
| createFee | No | ||
| buildingId | Yes | ||
| transactionId | Yes |