Automatic Expense Categorization

Automatic expense categorization (auto categorization) assigns every bank or credit card transaction to a spend category without you sorting each line by hand. You define a rule once, and ZenExpenses applies it to every future upload.

What is expense categorization automation?

A categorization rule is one instruction: if the transaction description contains a keyword, put it in a category.

  • "NETFLIX" → Subscriptions
  • "WALMART" → Groceries
  • "UBER" → Transport

Rules use partial matching, so "STARBUCKS" catches "STARBUCKS COFFEE #1234 NEW YORK NY". You do not need the exact merchant name.

Set up auto categorization in 4 steps

1. Upload a statement. Import a bank or credit card statement so you have real transactions to work from. See how to upload bank statements.
2. Pick a recurring merchant. Click a transaction you see every month, like a grocery store or a streaming service.
3. Create a rule. Enter a short keyword ("NETFLIX") and choose the category. ZenExpenses previews every transaction the rule would match.
4. Save and repeat. Ten rules typically cover most of your regular spending. New uploads are then categorized automatically.

How do credit card companies categorize purchases?

Card networks tag each merchant with an industry code (MCC), which is why your card app calls a hardware store "Home" even when you bought a gift. Those codes are set by the merchant's bank, not by you, and you cannot correct them.

Rule-based payment categorization flips that: you decide what "COSTCO" means in your budget, and the assignment is consistent every month.

Tips for reliable rules

  • Use specific keywords. "NETFLIX" is safe; "PAYMENT" will match unrelated lines.
  • Check the preview before saving. It shows exactly which transactions the rule catches.
  • Skip one-time purchases. Categorize those manually; rules are for recurring merchants.

For pattern syntax and rule priority, see how category rules work.

FAQ

What happens to transactions no rule matches?

They stay uncategorized so they are easy to spot. Categorize them manually or add a rule for next time.

Do rules apply to past transactions?

Yes. When you create a rule, ZenExpenses shows matching existing transactions and can categorize them in the same step.

Try automatic categorization

Upload one statement, add a few rules, and your next upload sorts itself.

Try ZenExpenses ↗