# QuickBooks Online bank rules with AI: 7 steps from last year's GL

> QuickBooks Online allows up to 2,000 bank rules. Have Claude or ChatGPT draft them from last year's GL, back-test them, and import with auto-post off.

- **URL**: https://www.nocodetalks.co/blog/quickbooks-bank-rules-with-ai
- **Author**: Ankur Khandelwal, Nocodetalks
- **Updated**: Oct 7, 2026
- **Topic**: Bookkeeping
- **Sources checked**: 27

---

_A workflow for US bookkeepers onboarding or cleaning up a client._ Check QuickBooks' own suggestions first. Then let AI read last year's GL, propose payee rules you can review, and write them in the layout of an exported rules file.

## The short answer

Before you build QuickBooks Online bank rules with AI, check QuickBooks' own suggestions, since a bank rule always overrides them. Then export last year's GL, have Claude or ChatGPT propose rules only for payees that always hit one account, back-test them against last year, and write them in the layout of a rules file you exported from QBO. Import into a sample company first, and leave auto-post off until a month proves each rule.

## Which route fits

Take the first row that fits. Every route ends the same way: a rules file you import and test yourself, with auto-post off.

| Your situation | Do this |
|---|---|
| The books already live in this QuickBooks file, and most suggestions show green | Add a few rules by hand for fixed items like rent. [QuickBooks' own AI](#quickbooks-ai-first) covers the rest |
| You're onboarding, migrating or cleaning up a client | [Build rules from last year's GL](#workflow) in a Claude or ChatGPT Project |
| A second client needs a rule set you already have | [Copy it and remap it](#copy-rules) to that client's chart of accounts |
| Rules exist, but some keep coding lines wrong | [Back-test them](#rules-step-backtest) against a year of GL lines, then fix or drop the stale ones |
| You run the same steps for many clients | Save the prompts as a skill, or run them in [Claude Code](https://github.com/anthropics/claude-code) or [Codex](https://github.com/openai/codex). See [next time](#next-time) |

Every route is a files workflow. As of October 2026, no official connector exposes bank-feed review or bank rules. Intuit's QuickBooks connector in Claude lists 74 tools for reports, invoices, customers and payroll, and none for rules or the feed. Intuit's open-source [QuickBooks Online MCP server](https://github.com/intuit/quickbooks-online-mcp-server) has no bank-rule entity, and Xero's hosted connector is read-only.

## Check QuickBooks' own AI first

QBO already suggests a category for each downloaded transaction on its AI-powered banking page. Suggestions draw on your history, the bank description and your vendor and customer lists, and Review Signals show how strong the evidence is. On Essentials, Plus and Advanced in the US, Ready to post groups high-confidence lines for batch posting. Exact features depend on the plan.

Two facts shape the rest. A rule always supersedes a category suggestion. And Intuit says AI never overrides your rules or makes them auto-post. Rules hold your judgment; suggestions cover the long tail.

What people say about QBO's AI
- In a long thread, users said QBO's AI categorization guesses across the whole chart of accounts and that nobody asked for it. (commenters on r/QuickBooks (2026), https://www.reddit.com/r/QuickBooks/comments/1tzs1e5/was_thinking_of_using_quickbooks_but_noticed_they/)
- Accountants described using AI to suggest codes from history and flag what doesn't fit a pattern, with a person approving. (commenters on r/Accounting (2026), https://www.reddit.com/r/Accounting/comments/1wsxh2r/where_do_you_actually_trust_ai_in_the_monthend/)

> QBOs automation is actually pretty good but needs a lot of set up.
> — a commenter on r/Bookkeeping (May 2026) (https://www.reddit.com/r/Bookkeeping/comments/1tjiinm/relying_entirely_on_bank_feeds_matching_in/)

## The workflow: last year's GL to bank rules with AI

### Step 1: Gather the files and strip them

Remove account numbers and keep bank and card lines only. Add the files to the client's Claude or ChatGPT Project. If you'd rather audit formulas than read a chat, run the same prompts in Claude in Excel, ChatGPT for Excel or Copilot in Excel.

- **Last fiscal year's General Ledger or Transaction Detail by Account**, with payee, memo or description, account and amount, exported to Excel.
- **The chart of accounts and vendor list**, so the AI maps to names that exist.
- **An exported rules file.** Create one or two rules by hand, then use New rule, Export rules. Intuit doesn't publish the import layout, so this file is your template.
- **Raw bank text.** Turn on Show full bank description and note a few lines per big vendor. Rules match what the bank sends, which can differ from the GL memo.

### Step 2: Find the payees that always hit one account

Count before you draft. The counts show which payees are safe to automate and which aren't.

Prompt for Any AI chat · Find the payees that always hit one account:

```
Attached: [CLIENT CODE]'s [YEAR] transaction detail by account (bank and card lines only) and the chart of accounts.
1. Clean payee names and merge obvious variants. List the merges.
2. Count lines per payee per account, money in and money out separate.
3. Group payees: one account every time (3+ lines), split across accounts, too few to judge.
4. For split payees, say whether the bank text, memo or amount explains the split.
Give one table, then group totals that add up to the line count.
Ask me before treating any transfer, card payment, loan or owner item as an expense.
```

Example output · Payees:

| Payee | In/out | Lines | Accounts (lines) | Group |
|---|---|---|---|---|
| Stripe | In | 104 | 1150 Stripe clearing (104) | One account |
| Gusto | Out | 60 | 6000 Payroll expenses (24), 6010 Payroll taxes (24), 6420 Software subscriptions (12) | Split. Bank text explains it: PAYROLL, TAX, FEE |
| 55 Main St LLC | Out | 16 | 6200 Rent (12), 6520 Utilities (4) | Split. Bank text explains it: RENT, CAM |
| Shell | Out | 18 | 6610 Auto fuel (18) | One account |
| Amazon | Out | 42 | 6300 Office supplies (31), 5000 Cost of goods sold (9), 1500 Equipment (2) | Split. Not explained |
| Delta | Out | 3 | 6630 Travel (3) | One account, at the 3-line minimum |
| … 70 more payees |  |  |  |  |

_Fake data for a small design studio's 2025 books._

Example output · Summary:

```
450 bank and card lines, 01/01/2025 to 12/31/2025, from 76 payees.
Merged: Amazon.com and AMZN Mktp into Amazon; Shell Oil 57444 and Shell into Shell.

One account every time (3+ lines): 11 payees, 211 lines
Split, and the bank text explains it: Gusto, 55 Main St LLC, 76 lines
Split, not explained: Amazon, The Home Depot, 49 lines
  (amount explains only Amazon's 2 Equipment lines, both over 2,500.00)
Too few to judge: 49 payees, 71 lines
Customer deposits: 9 customers, 23 lines, all to 1200 Accounts receivable
Need your answer first: 20 lines
Total: 450 lines

Before I treat these as expenses, what are they?
CHASE CREDIT CRD AUTOPAY (12), ONLINE TRANSFER TO SAV (6),
and 2 lines with payee Owner coded to 3200 Owner draws.
```

_Fake data. The groups add up to all 450 lines._

### Step 3: Draft the rules, one table per account

Only consistent payees become rules. A split payee gets rules only when the bank text explains the split, like Gusto's PAYROLL and TAX lines. The rest stay manual.

Prompt for Claude · Draft rules as a reviewable table:

```
From the one-account payees, plus split payees whose bank text explains the split, draft QuickBooks Online bank rules. Make one table per bank or card account, with: rule, in or out, bank text contains, category, payee, lines last year, confidence, and why. Auto-post is off on every rule.
Take each phrase from the raw bank text, and use one only this vendor uses. Flag phrases under five characters or that look generic.
Order rules specific first. Where you're unsure, say so instead of guessing.
```

Example output · Checking:

| Rule | In/out | Bank text contains | Category | Payee | Lines last year | Confidence | Why |
|---|---|---|---|---|---|---|---|
| R01 Stripe payouts | In | STRIPE TRANSFER | 1150 Stripe clearing | Stripe | 104 | High | Every payout went to clearing |
| R02 Gusto payroll | Out | GUSTO PAYROLL | 6000 Payroll expenses | Gusto | 24 | High | Bank text splits Gusto into PAYROLL, TAX and FEE |
| R05 Landlord CAM | Out | 55 MAIN ST LLC CAM | 6520 Utilities | 55 Main St LLC | 4 | High | Sits above R06, whose phrase also matches these lines |
| R06 Rent | Out | 55 MAIN ST LLC | 6200 Rent | 55 Main St LLC | 12 | High | 3,400.00 every month |
| R09 Verizon | Out | VERIZON WIRELESS | 6510 Internet and phone | Verizon | 12 | High | Same account all 12 times |
| … 4 more: R03, R04, R07, R08 |  |  |  |  |  |  |  |

_Fake data. Nine rules for the checking account._

Example output · Chase Ink card:

| Rule | In/out | Bank text contains | Category | Payee | Lines last year | Confidence | Why |
|---|---|---|---|---|---|---|---|
| R10 Adobe | Out | ADOBE *CREATIVE | 6420 Software subscriptions | Adobe | 12 | High | Monthly subscription, one account |
| R13 Shell | Out | SHELL OIL | 6610 Auto fuel | Shell | 18 | High | Two payee spellings, merged in the counts |
| R15 Delta | Out | DELTA AIR | 6630 Travel | Delta | 3 | Medium | Only 3 lines, the minimum |
| R16 UPS Store | Out | UPS | 6350 Postage | The UPS Store | 5 | Low | Flag: under 5 characters, taken from the GL memo. I have no bank text for this vendor |
| … 3 more: R11, R12, R14 |  |  |  |  |  |  |  |

_Fake data. Seven rules for the card. Fix R16 in your review: the raw bank text here is THE UPS STORE._

### Step 4: Review the draft yourself

Cut generic phrases like PAYMENT or ONLINE, and drop transfers, card payments, loans and checks. Replace any phrase that came from a GL memo with the raw bank text. Keep specific rules above general ones.

### Step 5: Back-test, then write the import file

A rule that would have miscoded last year will miscode next year. GL memos aren't always the raw bank text, so treat the back-test as a screen, not proof.

Prompt for Claude · Back-test, then write the import file:

```
1. Apply the approved rules, in order, to last year's lines, using the bank text where you have it. For each rule, report lines caught, lines last year coded to a different account, and lines that match more than one rule.
2. Give the coverage: lines caught and not caught, as counts and a percentage of all lines.
3. List the lines no rule catches, grouped by bank text, with why.
4. Then write only the approved rules in exactly the layout of the attached exported rules file: same sheets, columns and value formats. Use account and payee names exactly as in the chart and vendor list.
5. List any column you didn't understand. Don't guess it.
```

Example output · Back-test:

| Rule | Lines caught | Coded differently last year | Also match another rule |
|---|---|---|---|
| R01 Stripe payouts | 104 | 0 | 0 |
| R05 Landlord CAM | 4 | 0 | 4 |
| R06 Rent | 12 | 0 | 0 |
| R09 Verizon | 14 | 2 | 0 |
| R13 Shell | 18 | 0 | 0 |
| … 11 more rules | 137 | 0 | 0 |
| Total, 16 rules | 289 | 2 | 4 |

_Fake data. Rules run in order, so each line counts once, under the first rule that catches it._

Example output · Not caught:

| Bank text | Lines | Why no rule |
|---|---|---|
| AMAZON MKTPLACE PMTS | 42 | Split three ways, and nothing explains it |
| MOBILE DEPOSIT | 23 | Customer checks. Match them to invoices |
| CHASE CREDIT CRD AUTOPAY | 12 | Card payment, not an expense |
| CHECK | 9 | No payee in the bank text |
| THE HOME DEPOT | 7 | Split: Cost of goods sold 4, Repairs 3 |
| ONLINE TRANSFER TO SAV | 6 | Transfer to savings |
| 43 payees with 1 or 2 lines | 62 | Too few to judge |
| Total | 161 | 35.8% of 450 lines |

_Fake data. 289 caught + 161 not caught = 450._

Example output · Reply:

```
Coverage: 289 of 450 lines caught (64.2%). 161 not caught (35.8%).

Decide before you import:
• R09 Verizon also catches 2 lines coded to 3200 Owner draws (payee Owner,
  85.40 each), likely the owner's phone. Keep auto-post off and recode
  those by hand, or drop R09.
• 4 CAM lines match R05 and R06. R05 comes first, so they post to
  6520 Utilities, as they did last year.

Wrote rules-import.xlsx: 16 rules, with the sheets, columns and value
formats of your export.
Didn't understand: one column is blank in both rules you exported, so I
left it blank. Check it in QuickBooks before you import.
```

_Fake data. The step 3 draft missed the owner lines, because their payee wasn't Verizon. That's what the back-test is for._

### Step 6: Import into a sample company first

In QuickBooks Online Accountant, select the Settings gear, then Sample company. Staats' rules import worked there, though bank CSV uploads were blocked. Then import into the client file and pick which rules to bring over.

### Step 7: Leave auto-post off for a month

Check every RULE badge before you post. Then turn auto-post on for dull, fixed items like rent, which is Intuit's own suggestion.

## Copy a rule set to another client

Jason Staats, a CPA, demos a practical version. He exported one client's QBO rules, gave Claude that file plus a second client's chart of accounts, and asked for the rules converted to that chart. Claude remapped six categories, and the file went straight through QBO's Import rules wizard ([@8:18](https://youtu.be/fBne9qS08w4?t=498)). He notes QBO publishes no template for rule imports, so he built one into a skill ([@9:24](https://youtu.be/fBne9qS08w4?t=564)).

He also mentions firms that roll one master rule set out to every client. A standard chart of accounts used to be the blocker; Claude can tailor the rules to each chart and call out the ones that don't fit ([@9:03](https://youtu.be/fBne9qS08w4?t=543)). The video carries a sponsor segment for Soraban, a tax workflow product, and his demo used QBO's sample company.

### Step 1: Export the source company's rules

On the Rules page, open the New rule dropdown and choose Export rules. You get an Excel file.

### Step 2: Remap them to the new chart

Give the AI the export, plus the target client's chart of accounts and vendor list.

Prompt for Claude · Migrate a rule set to a new chart of accounts:

```
Attached: an exported QBO rules file from [SOURCE CLIENT], and the chart of accounts and vendor list for [TARGET CLIENT].
1. Map every category in the rules to an account that exists in the target chart. Show the mapping as a table, with the rules it affects and a reason.
2. Where nothing fits, or the rule makes no sense for this business, mark it Drop and say why.
3. Write a new rules file in exactly the original layout, without the Drop rules. Leave a payee blank if it isn't in the vendor list, and say so.
4. List every change. Don't add rules that weren't in the source file.
```

Example output · Mapping:

| Source category | Target account | Rules | Reason |
|---|---|---|---|
| 6000 Payroll expenses | 6100 Salaries and wages | R02 | Same purpose |
| 6420 Software subscriptions | 6400 Software and apps | R04, R10, R11 | Same purpose |
| 6430 Hosting | 6400 Software and apps | R12 | No hosting account. Closest fit, so confirm it |
| 6510 Internet and phone | 6500 Telephone and internet | R08, R09 | Same purpose |
| 6200 Rent | Drop | R06 | 55 Main St LLC is the source client's landlord |
| 6520 Utilities | Drop | R05 | Same landlord's CAM charges |
| … 6 more categories |  | R01, R03, R07, R13 to R16 |  |

_Fake data. All 16 source rules appear once in the Rules column._

Example output · Reply:

```
16 rules in. Wrote 14 to rules-target.xlsx in the original layout.
Dropped 2: R05 and R06 (the source client's landlord).
Changed the category on 11 rules. R07, R14 and R15 kept theirs,
because 6150 Insurance and 6630 Travel exist in both charts.
Left the payee blank on R15 and R16: Delta and The UPS Store
aren't in the target's vendor list.
Added no rules.
```

_Fake data. 14 written + 2 dropped = 16. 11 changed + 3 kept = 14._

### Step 3: Import, and pick the rules

In the target company, choose Import rules from the same dropdown and select the rules to bring over. If you have the target's GL, [back-test](#rules-step-backtest) the new file first.

## Check the rules before they touch the books

- Every category and payee in the file exists in the target company, spelled exactly.
- The import shows the same number of rules as your approved table.
- Each phrase appears in the bank text of only one vendor in last year's lines.
- The back-test shows no conflicts, or you decided each one.
- Transfers, card payments, loans and checks have no rules.
- Auto-post is off on every new rule.
- After the first month, you looked at every RULE badge before posting.

> Note: Bank text is exactly what the bank sends. Description is QBO's simplified version. Intuit says mixing them up is one reason rules don't fire, so confirm which field each phrase came from.

Rules can still misfire later, when a vendor changes its bank text or a new one matches an old phrase. The free [month-end-review skill](https://www.nocodetalks.co/skills/month-end-review) catches that at month-end: it flags a payee booked to a different account than the one it usually uses, and money moved between your own accounts that landed in income.

## Make it faster next time

- **Save the procedure.** Keep the prompts, the exported layout and your thresholds in a Project or a skill, so the next client starts from one instruction.
- **Keep a master rule set** as a file, and migrate it per client with the [remap prompt](#copy-step-remap).
- **Review rules at year-end.** Give the AI the rules export and this year's GL, and ask which rules caught lines that were later reclassified. Those rules are stale.
- **Reuse statement work.** The vendor map from [converting statement PDFs with AI](https://www.nocodetalks.co/blog/bank-statements-to-quickbooks-with-ai) is a ready-made rules draft.

## Where AI fails here

- **It can't see your rules or the feed.** No official connector exposes them, so you import and test the file yourself.
- **Browser entry is slow.** Staats' browser test entering transactions in QBO was stopped after about 10 minutes ([@24:04](https://youtu.be/5DevfwAfVpA?t=1444)).
- **Runs differ.** In Staats' invoice test, one Claude chat asked about missing terms and another didn't ([@2:57](https://youtu.be/fBne9qS08w4?t=177)). The back-test catches drift.
- **A clean rec isn't proof.** Rules can code a vendor wrong every month, and the account still reconciles.

What practitioners report
- They suggested feeding Claude the GL from a set of books you trust and letting it draft rules from that detail. (a commenter on Jason Staats' YouTube video on automating QuickBooks (2026), https://www.youtube.com/watch?v=fBne9qS08w4)
- Their firm struggles to import bank rules into Xero, and trying it with Claude in the browser was very slow. (a commenter on the same video (2026), https://www.youtube.com/watch?v=fBne9qS08w4)
- A skeptic argued AI can't get every classification right, especially split transactions. (a commenter on Jason Staats' YouTube video (2026), https://www.youtube.com/watch?v=PwhvAASCJ1I)
- After taking over books where the GL matched the bank for six months, they found offsetting errors that happened to cancel out. (a commenter on r/Bookkeeping (May 2026), https://www.reddit.com/r/Bookkeeping/comments/1tjiinm/relying_entirely_on_bank_feeds_matching_in/)

> I don't trust QBO to auto-add anything.
> — a commenter on r/Bookkeeping (2023) (https://www.reddit.com/r/Bookkeeping/comments/11dg7pz/looking_for_software_to_read_pdf_bank_statements/)

## Data safety

A GL export lists every vendor and amount the client paid last year. Use a firm-managed business plan, remove account numbers, and keep one Project per client. Anthropic's Cowork safety page advises against giving Cowork local files with sensitive information, like financial documents, and since October 6, 2026, new Pro and Max Cowork tasks run in Anthropic's cloud. See [Is it safe to use Claude with client data?](https://www.nocodetalks.co/blog/is-claude-safe-for-client-data) and, for tax clients, [Section 7216 consent and AI](https://www.nocodetalks.co/blog/irs-section-7216-ai-client-consent).

## Common questions

**Can Claude or ChatGPT create bank rules in QuickBooks Online directly?**

Not through an official connector as of October 2026. They can draft the rules and write an import file in the layout of a rules file you exported. You import it with Import rules on the Rules page.

**How many bank rules can you have in QuickBooks Online?**

Up to 2,000, each with up to 5 conditions, per Intuit's help page as of October 2026.

**Can you copy bank rules from one QuickBooks Online company to another?**

Yes. Use Export rules from the New rule dropdown in one company and Import rules in the other. AI helps when the two charts of accounts differ.

**Which wins, a bank rule or QuickBooks' AI suggestion?**

The rule. Intuit says a rule always supersedes a category suggestion, and AI never makes your rules auto-post.

## Sources

- [Set up bank rules to categorize online banking transactions in QuickBooks Online](https://quickbooks.intuit.com/learn-support/en-us/help-article/banking/set-bank-rules-categorize-online-banking-online/L0mjJl0nD_US_en_US)
- [Import existing bank rules in QuickBooks Online](https://quickbooks.intuit.com/learn-support/en-us/help-article/banking/import-existing-bank-rules-quickbooks-online/L7utKIMHE_US_en_US)
- [How AI suggestions help match and categorize bank transactions](https://quickbooks.intuit.com/learn-support/en-us/help-article/bank-transactions/ai-suggestions-help-match-categorize-bank/L8FHOh4AD_US_en_US)
- [Use Ready to post in QuickBooks Online](https://quickbooks.intuit.com/learn-support/en-us/help-article/account-management/use-ready-post-quickbooks-online/L9jzjf8Xe_US_en_US)
- [Learn about updates to the new AI-powered banking page](https://quickbooks.intuit.com/learn-support/en-us/help-article/matching-rules/learn-updates-new-ai-powered-banking-page/L0hR7A9Zf_US_en_US)
- [Run a ledger report that shows debits and credits for each transaction](https://quickbooks.intuit.com/learn-support/en-us/help-article/profit-loss-reports/create-report-shows-debits-credits-transaction/L1zvqNX0e_US_en_US)
- [Practice with sample client companies in QuickBooks Online Accountant](https://quickbooks.intuit.com/learn-support/en-global/help-article/accountant-features/practice-sample-client-companies-quickbooks-online/L8dbIHyx0_ROW_en)
- [QuickBooks connector](https://claude.com/connectors/quickbooks)
- [intuit/quickbooks-online-mcp-server README](https://github.com/intuit/quickbooks-online-mcp-server)
- [Xero connector](https://claude.com/connectors/xero)
- [Claude Cowork Can Automate Your QuickBooks! (here's how accounting firms use it)](https://youtu.be/fBne9qS08w4?t=498)
- [Why Claude Cowork Is Already Changing Accounting Firms](https://youtu.be/5DevfwAfVpA?t=1444)
- [Claude Cowork Is REPLACING QuickBooks in Accounting Firms](https://youtu.be/PwhvAASCJ1I)
- [Use Claude Cowork on web, desktop and mobile](https://support.claude.com/en/articles/15520349-use-claude-cowork-on-web-desktop-and-mobile)
- [Use Claude Cowork safely](https://support.claude.com/en/articles/13364135-use-claude-cowork-safely)
- [What are projects?](https://support.claude.com/en/articles/9517075-what-are-projects)
- [Projects in ChatGPT](https://help.openai.com/en/articles/10169521-projects-in-chatgpt)
- [Use Claude for Excel](https://claude.com/docs/office-agents/excel)
- [Relying entirely on bank feeds matching in QuickBooks-big mistake (r/Bookkeeping)](https://www.reddit.com/r/Bookkeeping/comments/1tjiinm/relying_entirely_on_bank_feeds_matching_in/)
- [Looking for software to read PDF bank statements, and auto-categorize transactions (r/Bookkeeping)](https://www.reddit.com/r/Bookkeeping/comments/11dg7pz/looking_for_software_to_read_pdf_bank_statements/)
- [Was thinking of using QuickBooks but noticed they doubled prices (r/QuickBooks)](https://www.reddit.com/r/QuickBooks/comments/1tzs1e5/was_thinking_of_using_quickbooks_but_noticed_they/)
- [Where do you actually trust AI in the month-end close? (r/Accounting)](https://www.reddit.com/r/Accounting/comments/1wsxh2r/where_do_you_actually_trust_ai_in_the_monthend/)
- [Intuit QuickBooks connector listing (full tool list)](https://claude.com/marketplace/connectors/quickbooks)
- [anthropics/claude-code](https://github.com/anthropics/claude-code)
- [openai/codex](https://github.com/openai/codex)
- [ChatGPT for Excel](https://openai.com/index/chatgpt-for-excel/)
- [Frequently asked questions about Copilot in Excel (edit mode)](https://support.microsoft.com/en-us/office/frequently-asked-questions-about-agent-mode-in-excel-1cfd906d-40b4-46be-8e2d-65b893e28a02)
