Bank reconciliation
Import bank statements, match each line to a voucher, set clearance dates and read the bank reports in ERP.
Each line of a bank statement becomes a Bank Transaction. You match it to the Payment Entry, Journal Entry or invoice that booked the same money. A full match sets the voucher's clearance date.
Statement file → Bank Transactions → Bank Reconciliation Tool (match or create voucher) → cleared vouchersThe bank account must be a company account. See Bank accounts.
Bank Transaction
A Bank Transaction is one statement line on a Bank Account, with a Deposit or a Withdrawal. It is submittable. Its Payment Entries table lists the vouchers it is matched to and the amount allocated to each. A voucher can be a Payment Entry, Journal Entry, Sales Invoice, Purchase Invoice or another Bank Transaction.
| Field | What it does |
|---|---|
| Deposit, Withdrawal | The amount in or out. Only one is non-zero. |
| Reference Number | The cheque or UTR number. Auto Reconcile matches on it. |
| Included Fee | A bank fee already inside the amount. |
| Excluded Fee | A fee outside the amount. Save adds it to the amount and to Included Fee. |
| Allocated Amount, Unallocated Amount | Sum of the Payment Entries rows, and what is left of the amount. |
| Party Type, Party | Who paid or was paid. |
| Status | Unreconciled after submit, Reconciled once fully allocated, Cancelled after a cancel. |
Rules the controller checks:
- Transaction currency must equal the bank account's currency.
- Included Fee cannot exceed the withdrawal.
- With an Excluded Fee, only one of Deposit or Withdrawal is non-zero, and the fee cannot exceed a deposit.
- A row added with zero allocation takes what the voucher's bank GL lines still have unallocated, up to what the transaction has left.
- A voucher allocated in full is cleared on the date of the latest transaction allocated to it.
- Removing a row, or cancelling the transaction or the voucher, undoes the allocation and the clearance date.
With Accounts Settings' Enable Automatic Party Matching on, submit fills an empty party from a Bank Account or Employee with the statement's account number or IBAN.
Importing a statement
There are two import RecTypes.
Bank Statement Import takes a CSV or XLSX file on a company's bank account. The Bank's Bank Transaction Mapping table gives the starting column map, and each import writes the map back to the Bank. erp.bank_statement_import.form_start_import starts the import as a chain of background jobs. Each job inserts and submits the next rows and logs them on the record, so a node that dies loses only its own rows and the next job resumes. Status ends as Success, Partial Success or Error. MT940 files and Google Sheets are refused.
Bank Statement Import Log reads a CSV statement on insert. It detects the header row, the column mapping, the date format, the amount format (separate withdrawal and deposit columns, CR/DR values, signed amounts and others), the totals and the closing balance. erp.bank_statement_import_log.insert_transactions then inserts and submits one Bank Transaction per row, saves the closing balance as a Bank Account Balance, runs the Bank Transaction Rules and marks the log Completed. A statement cannot be imported twice. The bank account must be enabled and a company account, and the user must be allowed to create and submit Bank Transactions.
Bank Transaction Rule
A rule tags unreconciled transactions with Matched Transaction Rule. Rules run in Priority order and the first match wins.
| Field | What it does |
|---|---|
| Transaction Type | Any, Withdrawal or Deposit |
| Min Amount, Max Amount | The amount range |
| Description Rules | Contains, Starts With, Ends With or Regex. Any one condition matches. Case is ignored. |
| Classify As | Bank Entry, Payment Entry or Transfer |
| Bank Entry Type | Single Account (one Account) or Multiple Accounts (the Accounts table) |
In the Accounts table, Debit and Credit take a number or a formula in transaction_amount, such as transaction_amount * 0.18. The last row stays empty and takes the balance.
The rules run after each import, and hourly when Accounts Settings' Automatically run rules on unreconciled transactions is on.
Rules the controller checks: Min Amount is not above Max Amount, a regex compiles, a formula parses, the accounts belong to the rule's company, a Payment Entry rule has party type, party and party account, and a Bank Entry rule has its accounts.
Bank Reconciliation Tool
Open Bank Reconciliation Tool. Pick Company and Bank Account. From Date and To Date default to the last month. Check Filter by Reference Date to filter on the voucher's reference date instead.
Account Opening Balance fills from the ledger. Type the statement's Closing Balance.
Click Get Unreconciled Entries. The dialog shows three cards (Closing Balance as per Bank Statement, Closing Balance as per ERP, Difference) and the unreconciled transactions.
Click Actions on a transaction and pick one of three actions. Match Against Voucher lists vouchers ranked by matching reference number, amount and party. Create Voucher makes a Payment Entry or Journal Entry (Bank, Journal, Contra or Credit Card Entry) and reconciles it. Update Bank Transaction saves the reference number and party.
Auto Reconcile matches every transaction in the period to vouchers that carry its Reference Number. A transaction without one matches nothing. More than ten transactions run as background batches of up to 1000.
Acme Traders receives 11,800 from Globex with UTR HDFC0042. The statement line imports as a deposit of 11,800 with that reference. Payment Entry ACC-PAY-2026-00031 received 11,800 into HDFC Current - AT with Reference No HDFC0042. Auto Reconcile matches the two, allocates 11,800, and sets the Payment Entry's clearance date.
Bank Clearance
Bank Clearance sets clearance dates by hand, without bank transactions. Pick the Account (a bank or cash account), From Date and To Date, then click Get Payment Entries. It lists the period's uncleared Payment Entries and Journal Entries, or all of them with Include Reconciled Entries. Type a Clearance Date on each row and click Update Clearance Date. Each changed voucher gets a comment. A clearance date before the row's cheque date stops the update.
Bank reports
| Report | Shows |
|---|---|
| Bank Reconciliation Statement | Vouchers on the account posted by the Date and not cleared by it. Ends with the statement balance they imply: GL balance, less outstanding debits, plus outstanding credits, plus incorrectly cleared. |
| Bank Clearance Summary | Every Payment Entry and Journal Entry line on the account in the period, with cheque number and clearance date. |
| Cheques and Deposits Incorrectly cleared | Vouchers posted after the report date but cleared on or before it. |
Plaid can also feed Bank Transactions; it has its own setup.