Design Bank Transaction Categorization for QuickBooks Online
Last updated: November 29, 2026
Quick Overview
Design the ML system that suggests an expense or income category for every transaction imported from a small business's bank feed, personalizing to each company's chart of accounts and learning from user corrections.
Intuit
November 29, 20260
0
0 solved
Design the ML system that suggests an expense or income category for every transaction imported from a small business's bank feed, personalizing to each company's chart of accounts and learning from user corrections.
Categorization is the core of bookkeeping automation in QuickBooks, and every company has its own chart of accounts, so the label space differs per customer. Intuit ML design interviews probe how you combine global knowledge with per-company personalization, use noisy feedback, and keep latency acceptable for a feed of millions of daily transactions.
What the Interviewer Expects
- Handle a per-company label space by mapping to a shared taxonomy or by scoring candidate accounts
- Combine company history, merchant knowledge and text features
- Use accepts and corrections as labels while addressing feedback bias
- Choose batch or streaming inference with clear latency targets
- Define offline and online metrics, including high-dollar error rates
- Plan for cold start and for accountants who restructure the chart of accounts
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- A new company has no history. What do you predict and how quickly do you personalize?
- How do you avoid the model reinforcing a user's early mistake?
- When should the system auto-post without review, and how would you choose that threshold?
- How would an LLM fit into this design, and where would you not use one?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Functional: for each new bank transaction, return the top 3 suggested accounts from that company's chart of accounts, with confidence, plus a payee guess. Auto-post only above a strict confidence thre...
High-Level Design
Bank feed import -> normalization (clean merchant string, MCC code, amount, sign, date) -> candidate generation -> ranker -> suggestion store read by the review UI. Feedback events (accept, change, ru...