Reconcile Bank Transactions
reconcile_bank_transactionsReconcile bank transactions by matching invoices or detecting inter-account transfers. Supports modes for suggestion, auto-confirm, and inter-account dry run with execution.
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, 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Workflow phase to run. Defaults to suggest. | |
| 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. | |
| 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. | |
| 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. |