← All posts

STAYCHARTED BLOG · Machine learning · Rules and automation

QuickBooks bank rules vs AI categorization: when to switch

Bank rules match text and amounts. They miss new merchants and mixed vendors. How to categorize the rest with a model trained on your own books.

By Manoj Mohandas ·

What bank rules do well

  • Recurring, single-purpose payees. Rent, payroll provider, the phone company. One condition, one category, done.
  • Exact amounts. A loan payment of the same amount every month.
  • Clear policies. Anything from a specific account always goes to a specific category.

Keep these rules. They're simple and they're right.

Where they run out

  • New merchants. Every new name needs a rule before it's categorized, so new transactions land in "For review".
  • Mixed-purpose merchants. Amazon, Costco or a hardware store can be office supplies, equipment, repairs or cost of goods. A vendor-only rule picks one category; additional conditions can distinguish some purchases.
  • Messy bank text. Card processors add prefixes, store numbers and city names, so "contains" conditions miss variations or catch the wrong ones.
  • Rule order. When two rules match, the order decides. With many rules, that's hard to reason about.
  • Many clients. An accounting firm keeps a separate rule set per client, each drifting on its own.

What a model trained on your books does

You already have the training data: every transaction you or your client categorized. A model trained on that history reads the bank text, memo and amount band, and suggests the category your books actually use, with a confidence.

  • It learns from your final categories, including every time you recategorized something.
  • It recognizes a new merchant whose description looks like ones you've categorized before.
  • It gives each suggestion a confidence. Use your tested cutoff to prioritize review, and check a sample of confident answers too: mixed-purpose purchases can still be confidently misclassified.
  • For a firm, one model per client keeps each client's own chart of accounts.

How to try it

  1. Export a year of categorized transactions from QuickBooks (a transaction report with date, description or bank text, amount and category).
  2. Upload and train in StayCharted. The report shows accuracy for each category on transactions it never saw.
  3. Test on last month: train on everything before it, fill last month's transactions, and compare with how you categorized them.
  4. Use it each month: fill the uncategorized export, sort by confidence, accept the confident ones, and review the rest. The Google Sheets add-on can do this in a sheet.

Keep your bank rules for the recurring payees. Use the model for what lands in "For review".

Explore the rules vs machine learning series

Common questions

Does this replace QuickBooks' own suggestions?

No. QuickBooks makes its own category suggestions. This is a model trained only on your books (or each client's), with its accuracy measured on your data before you rely on it.

Does it connect to QuickBooks directly?

Not today. You work from an export, a Google Sheet, or the API through Zapier, Make or Power Automate. Categorize Google Sheets rows with AI →

How many transactions do I need?

A few hundred per category you want it to suggest. Rare categories can stay manual.

Is my financial data used for anyone else's model?

No. Your data trains only your model. Security →

Sources and further reading

Put it into practice with StayCharted

Start free →

Check plans and allowances · Security and your data