How do I set up bank rules that categorize transactions automatically, and how do I keep a bad rule from quietly miscoding my books?
Applies to: United States · Updated 2026-09-28
Write each rule on the most stable text your bank feed provides, limit it by direction and, where useful, by amount, and let it only suggest a category until you have watched it handle real transactions correctly. Allow automatic posting only for narrow, predictable rules, and never for transfers, owner draws or asset purchases. Each period, review what your rules posted. When one misfires, correct every transaction it touched and then narrow or remove the rule.
What is a bank rule, and when does it act?
A bank rule is a saved instruction that looks at transactions coming in from a connected bank or card account and fills in how they should be recorded. It acts in the bank-feed queue, before a transaction becomes an entry in your books, unless you have also allowed it to post. There are two moments to keep apart: when the rule fills in the category, and when the transaction is actually posted.
In QuickBooks Online, downloaded transactions wait in a review queue. QuickBooks sends downloaded transactions to the Pending tab and suggests a category for each one, and you can create a bank rule that categorizes transactions automatically. Rules are applied to the transactions in the For review tab. A rule can also be set to auto-post, which accepts transactions into your books straight from the Bank transactions page without anyone confirming them. When you create an auto-post rule, any transactions on the Pending tab that already meet its conditions are added straight away. Auto-post rules then run again whenever you sign in, upload a file, or create or modify an auto-post rule.
Zoho Books describes its Transaction Rules as a way to identify and categorize bank transactions based on criteria you set. A new or edited rule applies to all existing and upcoming uncategorized transactions as soon as you save it. In other words, saving a rule acts on everything still waiting in that account, not just on tomorrow's download.
QuickBooks Self-Employed applies a new rule to all future transactions. It also has an "Also apply to past transactions" checkbox that reaches back to transactions you have already categorized.
On any platform, check before you save whether a new rule can also change transactions you have already posted.
What are the parts of a rule?
Every platform splits a rule into the same four parts, even where the labels differ:
- Conditions decide which transactions the rule selects. QuickBooks Online conditions can test the description, the bank text or the amount, using Contains, Doesn't contain or Is exactly, with up to five conditions in one rule. Zoho Books offers payee, description, reference number and amount. QuickBooks Self-Employed matches on a description field holding the customer or vendor name.
- Scope narrows where the rule looks. QuickBooks Online asks whether the rule applies to money in or money out, and whether it covers one account or all bank accounts. In Zoho Books, you pick the bank account first and then choose whether the rule is for deposits or withdrawals.
- Assignment is what the rule fills in. In Zoho Books this includes the account the transactions are routed to. In QuickBooks Self-Employed it is the account, the type (Business, Personal or Split) and, optionally, a category.
- Posting mode decides whether a person must confirm the result. Zoho Books makes this an explicit choice. "Recognized Transactions" leaves the categorizing to you, while "Categorized Transactions" lets Zoho Books categorize on the basis of the rule. With the second choice you also tick "Allow Zoho Books to categorize my bank statements". In QuickBooks Online the equivalent is an auto-post rule.
Rules also have names. Zoho Books asks for one when you create the rule. Treat the name as part of the rule, because it is how you will find the rule again during an audit.
How do I write conditions that catch only what I mean?
Most silent miscoding starts with a condition that is broader than its author realised. A few principles keep conditions tight.
Match on the text that stays the same. QuickBooks Online distinguishes two text fields. The bank text is exactly what the bank sends, and the description is a simplified version of it. Look at both before you choose one. Zoho Books says a payee value should match the name that appears in the feed. Before writing a condition, copy the text from three or four real transactions from that vendor. Bank descriptions for the same vendor often differ by store number, city or a reference code. Your condition should use the part that every one of those transactions shares and that no other vendor shares.
Prefer exact matching, and be deliberate about "contains". QuickBooks Self-Employed has a "Match exactly" checkbox that makes QuickBooks use the rule only when transactions match exactly. QuickBooks Online offers "Is exactly" as a condition. In Zoho Books, the "is" option requires an exact match, while a "contains" condition matches when the transaction holds any part of the criteria. A short fragment such as a payment processor's prefix, a common word like "SUPPLY" or a city name will pull in unrelated vendors, and nothing tells you it has happened. In QuickBooks Online, add a Doesn't contain condition to shut out the unrelated vendor text a fragment would otherwise catch.
Remember that exact matching also fails, in the other direction. In Zoho Books, rule criteria are case-sensitive. A transaction with an extra space, an extra character or different capitalisation will not be recognized by the rule. When a bank changes how it formats descriptions, a precise rule can quietly stop firing. Those transactions then fall back to manual review or to the platform's own suggestion, so a rule that goes quiet needs checking too.
Add direction and amount. A rule for a vendor you only ever pay should apply to money out only. A refund from that vendor then won't be booked as an expense. Amount conditions narrow things further. Zoho Books supports comparisons such as "Greater than (or) equal" on the amount. A cap such as "less than 500.00" on a supplies rule keeps a one-off large purchase from the same vendor out of the rule's reach.
Combine conditions with "all", not "any". Zoho Books lets a rule fire only when the bank statement matches all of the criteria you specified, or when it matches any one of them. "Any" widens the rule with every condition you add. "All" narrows it.
Test before you save. Search your bank register and the review queue for your condition text, and read every result it returns. If anything in that list isn't the vendor you meant, the condition is too broad.
Which rule wins when two rules match?
In QuickBooks Online, rules run in priority order, and the rule with the highest priority is always applied first. That means an older, broader rule placed above a newer, precise one keeps winning for every transaction both of them match.
To inspect precedence, open the rule list, find every rule whose conditions could match the transaction in question, and read them in priority order. Put narrow rules (exact vendor, amount limit) above broad ones. In QuickBooks Online, select reorder and drag the rule to the position you want. When a transaction was categorized unexpectedly, the question to ask is which rule reached it first, not which rule should have caught it.
If your platform doesn't document how it chooses between overlapping rules, don't depend on order at all. Rewrite the conditions so that no transaction can satisfy two rules. Zoho Books' help pages on Transaction Rules don't say how it chooses between overlapping rules, so Zoho Books users are in this case.
Which rules should post without review?
This is the decision that separates a rule that saves time from a rule that miscodes your books unattended.
Path 1: the rule pre-fills and a person confirms. This is the default posture for every new rule. QuickBooks Self-Employed describes the arrangement this way: the product categorizes and "All you have to do is review the work." Mistakes are visible before they reach the ledger.
Path 2: the rule posts with no confirmation. Rachel Barnett, founder and owner of Gentle Frog, advises against having QuickBooks automatically confirm.
Let a rule take path 2 only when all of these hold:
- The condition is exact, or tightly bounded by direction and amount, and selects a single vendor.
- The rule has run in suggest-only mode long enough for you to see it handle real transactions correctly. Never switch on automatic posting for a rule you have not watched act.
- The transaction always belongs in one account, with no split and no class, location or job that varies.
- A mistake would be small and easy to spot, such as a monthly software subscription at a fixed price.
Some categories should never post automatically, whatever the rule looks like:
- Transfers between your own accounts, and owner draws or contributions. One practitioner warns that deposits or draws miscoded directly to revenue or expense accounts would overstate or understate income. They also corrupt equity, and they look perfectly ordinary in a transaction list.
- Purchases that may be assets. Recording assets as expenses, or the reverse, is a recognised class of error. One vendor can sell you both supplies and equipment.
- Deposits that may be customer payments already recorded in your books. When a downloaded transaction already exists in QuickBooks Online, it can be matched instead of categorized. Matching is a separate procedure from rule-writing.
- Loan payments and anything else that needs splitting by judgment.
Bank rules work best when you have the same types of transactions from the same vendor. The more a transaction varies, the less it belongs on path 2.
What goes wrong with split rules and tracking dimensions?
QuickBooks Online rules assign a transaction type, category, tags and payee. Zoho Books rules assign an account and a payment mode (Paid Via). Where your platform lets a rule split a transaction across accounts or assign a class, location or job, those rules fail in ways a single-account rule does not:
- The split stops fitting. A split built around one bill's proportions will be wrong when the next bill's mix changes, for example when a utility bill covers two sites whose usage shifts. Check how your platform applies a rule split to a different total before you rely on it.
- The account is right but the dimension is wrong. A vendor that serves two locations or two jobs gets tagged to one of them every time. An account-level review won't show this. You only see it in a report by class, location or job.
- The dimension outlives its purpose. A rule that tags a finished job or a closed location keeps tagging new transactions to it.
Review split and dimension rules by running reports on the dimension, not just on the account. Keep them on path 1 unless the split never varies.
How does a bad rule show up in the books?
A miscoding rule usually produces an error of commission. The transaction is recorded in the wrong account but is otherwise correct, which can leave account balances wrong and reports misleading. Totals still balance, so nothing breaks. You have to go looking. The signs are:
- Unexplained volume in a category. An expense account running well above its usual monthly level with no business reason. Variance analysis that highlights unusual discrepancies is one of the recognised ways errors surface.
- A vendor's spend in the wrong account. A vendor report or a search by payee shows the vendor's transactions spread across accounts, or showing up in an account you would never use for it.
- Transfers or draws sitting in income or expense. Look for your own bank's name, "transfer", your name or your card issuer inside expense or income accounts.
- Balances that no longer make sense. Reconciling recorded balances against bank statements is a standard way errors are found. Reconciliation catches a wrong amount or a missing transaction. It won't catch a correct amount in the wrong expense account, so pair it with the category checks above.
- A rule that has gone quiet. A vendor you pay every month that now shows up in the review queue uncategorized often means the bank changed its description and the rule no longer matches.
What should a periodic rule audit cover?
Tie the audit to your month-end close. One recommended way to minimize errors is a formal review of the errors found as part of month-end, followed by adjusting procedures so they don't recur. Scale how often you run it to the volume your rules post. A business with hundreds of small, similar card transactions from a few vendors should look weekly, because one bad rule there builds a large miscoded population fast. A low-volume file can review monthly.
Your platform can help you find the rules to check. Zoho Books lets you search rules by associated accounts, rule name, deposit or withdrawal, transaction type and how matched transactions are handled, including whether they are marked Recognized or Categorized. In QuickBooks Online, the Bank transactions list can be filtered to Rules, No rules or Auto-post rules, and a transaction a rule handled shows a RULE badge in its Category field, or an AUTO badge for an auto-post rule.
Rule audit routine
- Review what posted. For the period, list the transactions your rules categorized, starting with those that posted automatically. In QuickBooks Online, use the Rules and Auto-post rules filters. Sort by account and by payee, and read any line whose vendor doesn't belong in its account.
- Compare accounts with the prior period. Investigate any expense or income account that moved sharply.
- Check for transfers and draws in the wrong place. Search expense and income accounts for your own account names and owner names.
- Test new rules. Keep every rule created this period in suggest-only mode, and compare what it suggested with what you would have chosen.
- Re-check changed vendors. For any vendor whose bank description changed, or whose transactions reappeared uncategorized, re-read the rule's condition against the new text.
- Re-check precedence. For every rule added or edited, confirm no broader rule sits above it.
- Prune. Note rules that matched nothing this period, and decide whether they are seasonal or dead. In QuickBooks Online, disable a rule that may be seasonal, since rules can be disabled and enabled again, and delete only the dead ones. In Zoho Books, a deleted rule's details can't be retrieved, so record the rule before you delete it.
- Update the rule register (see below) with the date reviewed and any changes.
How do I fix a rule that has already miscoded transactions?
Fix both halves: the transactions the rule created, and the rule itself. Deleting or editing a rule doesn't repair its past work. In QuickBooks Self-Employed, deleting a rule doesn't change any of your past transactions. In Zoho Books, transactions already categorized by a deleted rule aren't affected either. The reverse is also true. If you correct the transactions but leave the rule alone, it recreates the error on the next matching transaction.
Step 1: find the whole population. Start from the rule's condition, not from the one error you happened to notice. Search the period since the rule was created (or last edited) for every transaction the condition matches, in every account the rule was assigned to. In QuickBooks Online, filter the Bank transactions list to Rules (or Auto-post rules), look for the RULE or AUTO badge in the Category field, and narrow the list by the rule's condition text.
Step 2: separate right from wrong. Some of the population is probably correct. List the transactions that belong to the intended vendor and the ones that don't.
Step 3: correct the wrong ones as a set. Recategorize them to the right accounts. How to change a posted transaction safely (edit, void, delete or reverse) is a separate question.
Step 4: repair the rule. Choose one of three paths:
- Narrow it when the rule still has a legitimate population. Tighten the condition, add direction or an amount limit, and move it to suggest-only mode for a period.
- Delete it when nothing it catches is worth automating. In Zoho Books, a rule created for Categorized Transactions can't be deleted directly. You first edit it to Recognized Transactions, then delete it.
- Keep it and handle the exception by hand when the exception is rare and recognisable. Only choose this if the rule stays on suggest-only, so the exception is always seen.
Worked example. A business using QuickBooks Online set up this rule and allowed it to post automatically:
| Rule | Condition | Assigns |
|---|---|---|
| "Supplies" (before) | Bank text contains "DEPOT" | Office supplies, auto-post |
At quarter end, office supplies showed 4,320.00 against a usual 1,960.00 for a quarter. Searching every transaction containing "DEPOT" in the quarter turned up three vendors:
| Vendor text | Transactions | Total | Correct account |
|---|---|---|---|
| BRIGHTLINE OFFICE DEPOT | 14 | 1,960.00 | Office supplies |
| DEPOT HARDWARE SUPPLY | 3 (410.00, 385.50, 1,204.50) | 2,000.00 | Repairs and maintenance |
| CITY DEPOT STORAGE | 2 (180.00 each) | 360.00 | Rent |
The miscoded population is five transactions totalling 2,360.00 (2,000.00 + 360.00), and 1,960.00 + 2,360.00 = 4,320.00. The business moved the three hardware purchases to repairs and the two storage payments to rent. The 1,204.50 hardware purchase was also checked to see whether it was equipment rather than a repair. The rule was then replaced:
| Rule | Condition | Assigns |
|---|---|---|
| "Brightline office supplies" (after) | Money out; Bank text contains "BRIGHTLINE OFFICE" | Office supplies, suggest-only for one month, then auto-post |
| "City Depot storage unit" (new) | Money out; Bank text contains "CITY DEPOT STORAGE"; Amount is exactly 180.00 | Rent, suggest-only |
Hardware purchases now arrive with no rule and are categorized by hand. They vary too much to automate.
What happens to rules when a bank connection is disconnected or replaced?
Reconnecting is routine, and it can change which rules still apply without any warning.
In QuickBooks Online, disconnecting removes any transactions still in the Pending tab. That includes any a rule had pre-filled but nobody had yet accepted. Intuit's advice is to add or match every pending transaction before you disconnect, which also makes duplicates easier to spot when transactions download again. When you reconnect, QuickBooks may treat it as a brand-new bank connection, create a new account in your chart of accounts, and add an automatic opening balance transaction. If that happens, check every rule limited to the old account against the account that now receives the feed.
In Zoho Books, rules are created from a specific bank account. Before you can delete a bank account, you must delete any Transaction Rule that links it to another account. If you only want to stop using the account, Zoho Books suggests marking it inactive instead of deleting it.
Before you re-link or replace an account:
- Turn off auto-post on the rules that use it, or disable them. In QuickBooks Online, auto-post rules run when you sign in and when you upload a file, and an account disconnected while it had an error might download duplicate transactions when you reconnect it. Left on, those rules would post the first downloads, duplicates included, before you see them.
- Record any rules you must delete as a prerequisite (see the next section), so they can be rebuilt on the new account.
After reconnection:
- List the rules scoped to the affected account and confirm each one points at the account now receiving transactions.
- Review the first downloads for duplicates of transactions you already recorded, then restore auto-post.
- Check that the transaction descriptions from the new connection still match your conditions exactly.
How do I keep a rule set maintainable?
Rule sets grow until nobody can say what they do, and then the audit can't be run. Four habits prevent that.
- Name rules by what they do. "Brightline office supplies, under 500, out" is searchable. "Rule 14" isn't. Zoho Books lets you search rules by name, so a consistent naming pattern pays off during an audit.
- Give each rule an owner. Record who created it and who reviews it.
- Remove rules that no longer match anything. A rule for a vendor you have left is harmless until a new vendor's text happens to match it.
- Keep a rule register outside the software. Record each rule's name, condition, scope, assignment, posting mode, owner, date created and date last reviewed. This matters most before a deletion: in Zoho Books, a deleted rule's details are removed permanently and can't be retrieved.
Who is responsible when a bookkeeper maintains rules on a client's file?
Rules are often written by one party while their errors land on the other, so settle ownership explicitly. There are three common arrangements:
- The bookkeeper writes and reviews the rules. This is the cleanest arrangement. The bookkeeper runs the audit routine and shares the rule register with the client, so the client can see what is being automated in their books.
- The client writes rules and the bookkeeper reviews their output. This works if the client tells the bookkeeper whenever a rule is added. The bookkeeper should treat any rule they didn't create as new: suggest-only until reviewed.
- Both create rules and nobody owns them. This is where unreviewed auto-posting rules pile up. Change it to one of the first two before relying on the file.
Whoever owns the rules should also own the period-end check of what they posted. A bookkeeper looking after many client files should audit rules file by file, even when the rules started from a common template. A condition that is precise for one client's bank descriptions can be broad for another's, and one bad condition copied across files miscodes every one of them.
Transactions no rule can identify are a separate problem from rule design. Handle them on their own rather than writing a broad rule to absorb them.
Sources
- Intuit Inc. — Set up bank rules to categorize online banking transactions in QuickBooks Online, updated 9/11/2026
- Intuit Inc. — Categorize online bank transactions in QuickBooks Online, updated 8/24/2026
- Intuit Inc. — Create rules to speed up reviews in QuickBooks Self-Employed, updated 8/5/2026
- Intuit Inc. — Disconnect accounts connected to online banking, updated 8/17/2026
- Zoho Corporation Pvt. Ltd. — Transaction Rules | Help | Zoho Books, undated
- Zoho Corporation Pvt. Ltd. — Transaction Rules aren't Working | FAQ | Zoho Books, undated
- Zoho Corporation Pvt. Ltd. — How do I delete my bank account in Zoho Books?, undated
- Woodard Events, LLC (The Woodard Report) — Xero and QuickBooks - Bank Coding Differences, Dec 1, 2022
- AccountingTools, Inc. (Steven Bragg) — Accounting error definition, May 20, 2026