Bank rules are Xero's most powerful time-saving feature for reconciliation. When set up correctly, they automatically code recurring transactions — bank fees, subscription payments, payroll, rent — without manual input. When set up incorrectly, they silently code transactions to the wrong account for months before anyone notices.
How bank rules work in Xero
A bank rule tells Xero: 'When a bank transaction matches these conditions, code it to this account with this description and tax code.' Rules are triggered by the transaction description, amount, or both. When a matching transaction arrives in the bank feed, Xero applies the rule and marks the transaction as ready to reconcile. You still approve the transaction — rules do not auto-reconcile without review unless you enable that setting deliberately.
Setting up your first bank rules
- Navigate to Accounting > Bank Accounts, select a bank account, and click 'Bank Rules'.
- Click 'Create Rule' and choose 'Spend Money' or 'Receive Money' depending on the transaction direction.
- Set conditions: 'Transaction description contains [keyword]' — use the exact text that always appears in that transaction's description.
- Set the account, tax code, contact and description to apply when the rule triggers.
- Choose whether the rule runs for 'all conditions' or 'any condition' if you use multiple criteria.
- Save and test with one matching transaction before adding more rules.
The most useful rules to create first
Start with transactions that recur with identical descriptions every month: bank fees, Xero subscription, payroll clearing transfers, rent payments, loan repayments, insurance payments, ATO PAYG payments, and regular supplier direct debits. For each, the rule should include the specific description text from the bank statement — not a generic keyword that could match other transactions.
Common bank rule mistakes and how to avoid them
- Overly broad conditions: a rule matching 'payment' as a keyword will match almost every transaction — always use specific text from the actual bank description.
- Wrong tax code: a rule that codes all matched transactions to GST when some are non-GST will produce BAS errors — confirm the tax treatment before setting the rule.
- Missing contact: a rule without a contact set will create transactions with no supplier or customer — the aged payable or receivable will be wrong.
- Auto-reconcile without review: enabling auto-reconcile hides errors — a rule can apply to the wrong transaction and reconcile it without you seeing it. Keep auto-reconcile off until you have used each rule for at least 3 months.
- Rules for transactions that change: a payroll amount that changes each period should not use an amount-based condition — use description only.
Auditing bank rules that may be causing errors
If you notice recurring transactions coded to the wrong account, check the bank rules first. Go to Bank Accounts > Bank Rules and review every active rule. For each rule, run a report of transactions it has applied to in the last 6 months. Look for any that were matched correctly and any that should not have been matched. Delete rules that are matching incorrectly and create more specific replacement rules.
Bank rules vs auto-matching vs manual reconciliation
Xero reconciles transactions in three ways: bank rules (you set conditions); Xero's auto-suggestion (Xero suggests a match to an existing bill or invoice); and manual matching (you select the match yourself). Use bank rules for recurring transactions with no existing bill or invoice. Use auto-suggestion for transactions that match an existing unpaid invoice or bill. Use manual matching for unusual or one-off transactions. Do not use bank rules for transactions that should be matched to existing invoices — this creates duplicate entries.
Frequently asked questions
- How many bank rules can I have in Xero? There is no published limit on the number of rules. In practice, 50-100 rules for a mid-size business is manageable; beyond that, review and consolidate before adding more.
- Can a bank rule create a bill or invoice? No — bank rules create a 'spend money' or 'receive money' transaction, not a bill or invoice. Use bills and invoices for transactions that need approval workflows or multi-step payment processing.
- Can I import bank rules from another Xero organisation? Not directly. If you are migrating multiple related businesses to Xero, the rules need to be recreated manually in each organisation.



