Reconcile Bank Transactions
reconcile_bank_transactionsSuggest and confirm invoice matches for bank transactions, and reconcile reviewed inter-account transfers using dry-run plans.
Instructions
Merged bank reconciliation entry point. Use mode='suggest' for invoice-match suggestions, mode='dry_run_auto_confirm' or mode='execute_auto_confirm' for exact invoice matches (confidence >= 90, or the ref_number_exact rule: the reference of exactly one open unpaid EUR invoice + the exact EUR amount + a proven direction matching the invoice kind, or the document_reference_exact rule: payment text naming exactly one open unpaid EUR purchase invoice by its number or order number + the exact amount + a verified outgoing CAMT direction; such rows keep their lower confidence and carry auto_confirm_rule), mode='inter_account_dry_run' for own-account transfer detection, and mode='execute_inter_account' (REQUIRES the plan_handle from the dry run) to reconcile the reviewed inter-account transfers.
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": "reconcile_bank_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Workflow phase to run. Defaults to suggest. | |
| keep_side | No | Inter-account only: which leg of a matched transfer pair is confirmed (the other is deleted). Default outgoing. incoming requires a checksum-verified incoming CAMT marker on that leg, else the pair goes to ambiguous_pairs (direction_unresolved). Resend the same value at execute. | |
| plan_handle | No | Execution-plan handle from the reviewed dry run. Required for mode='execute_auto_confirm' and mode='execute_inter_account', and forwarded to the executor. | |
| max_date_gap | No | Maximum days between inter-account transfer legs (default 1, max 31). | |
| min_confidence | No | Minimum confidence threshold for invoice matching modes (auto-confirm default 90). Above 90 also disables ref_number_exact and document_reference_exact. | |
| block_on_duplicate | No | For the invoice-matching modes (suggest / dry_run_auto_confirm / execute_auto_confirm): refuse (or, in suggest, flag) an exact match whose cash movement appears already booked by another journal. Default false = advisory only. | |
| delete_proposed_mirrors | No | Inter-account only, opt-in: bind each proposed mirror deletion (a PROJECT row already journalized from the other account side) into the dry-run plan; execute deletes only rows still matching the reviewed identity. Resend the same value at execute. | |
| target_accounts_dimensions_id | No | For inter_account_dry_run one-sided transfers, specify the target bank account dimension ID when it cannot be inferred. |