Xero Automation Rules: Best Practices for Maximum Efficiency
Sophie Chen
Head of Content at SortBooks
In this article
- Understanding Xero Bank Rules
- Rule Types and When to Use Each
- Best Practice 1: Be Specific With Conditions
- Best Practice 2: Use the Right Matching Priority
- Best Practice 3: Handle GST Correctly
- Best Practice 4: Include Tracking Categories
- Best Practice 5: Review and Maintain Rules Regularly
- Best Practice 6: Document Your Rules
- Best Practice 7: Combine Rules With AI
- Common Mistakes to Avoid
- When Rules Are Not Enough
Understanding Xero Bank Rules
Xero bank rules automatically categorise bank feed transactions based on conditions you define. When a transaction matches a rule's conditions, Xero applies the specified account code, tax rate, and tracking categories - no manual input required.
This sounds simple, and at a basic level it is. But the difference between a poorly configured set of bank rules and a well-optimised one is enormous. Good rules can auto-categorise 60-70% of your transactions. Poor rules create more work than they save by miscategorising transactions and requiring constant corrections.
Rule Types and When to Use Each
Spend Money Rules
These apply to money going out of your bank account. Use them for:
- Regular supplier payments (utilities, subscriptions, insurance)
- Bank fees and charges
- Government payments (tax, superannuation)
- Lease and rental payments
Receive Money Rules
These apply to money coming into your bank account. Use them for:
- Regular customer payments where you do not issue invoices
- Interest income
- Refunds from specific vendors
- Regular transfers from payment platforms
Transfer Rules
These handle movements between your own bank accounts. Set them up for:
- Regular transfers between operating and savings accounts
- Transfers to and from dedicated tax savings accounts
- Credit card payments from your main account
Best Practice 1: Be Specific With Conditions
The most common mistake is creating rules that are too broad. A rule that matches any transaction containing "PAY" will catch payroll, PayPal, and payments to suppliers - completely different transactions that should be categorised differently.
Instead of: "Description contains PAY"
Use: "Description contains PAYPAL" for PayPal transactions
Layer multiple conditions to increase accuracy. For example, a rule for your monthly internet bill might use "Description contains TELSTRA" AND "Amount is between 80 and 120."
Best Practice 2: Use the Right Matching Priority
Xero applies rules in the order they appear in your rule list. If a transaction matches multiple rules, the first matching rule wins. This means you should order your rules from most specific to least specific.
Put narrow, precise rules at the top and broader catch-all rules at the bottom. This prevents broad rules from overriding more specific ones.
Best Practice 3: Handle GST Correctly
Every bank rule should include the correct tax rate. Getting this wrong means your BAS will be incorrect, which can lead to ATO penalties.
Common GST treatments:
- Most business expenses: GST on Expenses
- Bank fees and interest: BAS Excluded
- Government charges: GST Free
- Insurance: Some components are GST free, check with your accountant
- International payments: GST Free
If you are unsure about the correct GST treatment, leave it blank in the rule and handle it manually. A missing tax rate is easier to fix than an incorrect one.
Best Practice 4: Include Tracking Categories
If you use Xero tracking categories for departments, locations, or projects, include them in your bank rules. This saves time and ensures consistent tracking across transactions.
For example, if your Melbourne office always pays its own utilities, include the "Melbourne" tracking category in the bank rule for those payments.
Best Practice 5: Review and Maintain Rules Regularly
Bank rules are not set-and-forget. Review them at least quarterly:
- Remove rules for vendors you no longer use
- Update rules where the account code has changed
- Check for rules that are conflicting with each other
- Add new rules for vendors that have become regular
A quarterly review takes 15-20 minutes and keeps your automation running smoothly.
Best Practice 6: Document Your Rules
Keep a simple spreadsheet or document that lists all your bank rules, what they do, and why. This is invaluable when:
- A new bookkeeper takes over
- You need to troubleshoot a miscategorisation
- You are setting up a similar business and want to replicate rules
- Your accountant needs to understand how transactions are being coded
Best Practice 7: Combine Rules With AI
Bank rules work best for predictable, recurring transactions. But what about the 30-40% of transactions that do not match any rule? This is where AI-powered tools like SortBooks fill the gap.
SortBooks handles the transactions that bank rules cannot - new vendors, variable amounts, and ambiguous descriptions. Together, bank rules and AI can automate 90-95% of your transaction categorisation.
Common Mistakes to Avoid
Creating too many rules: Having hundreds of rules makes maintenance difficult. Focus on the high-volume, predictable transactions and let AI or manual processes handle the rest.
Overlapping rules: Two rules that both match the same transaction create unpredictable results. Regularly test your rules to ensure they do not overlap.
Ignoring rule performance: Xero shows how often each rule has been applied. Rules that rarely or never fire are just clutter. Delete them.
Not testing new rules: Before creating a rule, manually review several examples of the transaction type to ensure your conditions are correct. A badly configured rule can miscategorise months of transactions before someone notices.
When Rules Are Not Enough
Bank rules are powerful but limited. They cannot handle complex logic, learn from corrections, or adapt to changing patterns. For businesses with high transaction volumes, diverse vendors, or complex categorisation needs, AI automation is the natural next step.
SortBooks complements your bank rules by handling everything they cannot. The combination delivers near-complete automation with high accuracy.
Ready to automate your bookkeeping?
SortBooks connects to Xero and categorises your transactions automatically. Start free today.
Start Free - Connect Your Xero