Home Articles Course Free Prompts
← Back to Articles
Bookkeeping · 2026-04-08

How to Use AI for Transaction Categorization: A Step-by-Step Guide

Transaction categorization is the single biggest time sink in bookkeeping. Hundreds of entries per client, every single month. And most of them aren't hard — they're just tedious.

This is exactly where AI shines. Not because AI is smarter than you, but because it doesn't get bored, tired, or distracted on Friday afternoon. It processes the 80% that's routine so you can focus on the 20% that actually needs your judgment.

Here's the complete workflow I use in my audit work. Follow it step by step and you'll cut your categorization time by 70-80% — without sacrificing accuracy.

Why Manual Categorization Is Broken

Before we get to the workflow, it's worth understanding why the old way is so inefficient.

When you categorize transactions manually, your brain is doing the same thing over and over: read the vendor name, recognize the pattern, assign the account, move on. For 90% of transactions, this is a completely automated decision — you're not really thinking, you're just pattern matching.

But here's the problem: your brain doesn't have a way to process 200 transactions at once. You process them one at a time. And after the first hour, your accuracy starts to drop. By hour two, you're missing things. By hour three, you're making actual errors.

AI has none of these problems. It processes all 200 transactions with the same attention. It doesn't get tired. And when it's uncertain, it tells you — instead of guessing and moving on.

What You Need Before You Start

You need three things to make this work:

  1. Access to ChatGPT or Claude. The free tier of either works fine for most tasks. I use both depending on the client — more on that later.
  2. Your chart of accounts. A clean list of the categories you'll be assigning transactions to. This is critical — if your categories are vague or inconsistent, AI's output will be too.
  3. Transaction data in a usable format. A CSV export from your client's bank, or a copy-paste from their accounting software. You need at minimum: date, description, amount. Category columns if they exist are bonus.

Step 1: Prepare Your Data

This is the step most people skip — and it's the step that determines whether you get 95% accuracy or 60% accuracy.

Remove identifying information first. Before you paste anything into ChatGPT or Claude, strip out client names, account numbers, and anything else that could identify the client. Replace "ABC Consulting LLC Payment" with "CLIENT A Payment." Replace account numbers with X's.

This is non-negotiable if you're using ChatGPT Free, Plus, or Claude Pro. Those are consumer plans and may use your data for training. Strip the sensitive stuff, always.

Clean up the descriptions. Bank transaction descriptions are often messy: "AMZN Mktp US*MK5IU8ZD3" tells you it's an Amazon purchase, but the gibberish at the end is noise. Do a quick find-and-replace to clean up the most common patterns. This helps AI pattern-match faster.

Format consistently. All dates in the same format. All amounts as numbers. Consistent columns. Spend 5 minutes on this and you'll save 30 minutes later.

Step 2: The Master Categorization Prompt

Here's the prompt I use. Copy it, adapt it to your chart of accounts, and save it somewhere you can paste it quickly.

The prompt:

"You are an experienced senior bookkeeper. I will paste a list of bank transactions. For each transaction, provide:

1) Suggested account category from this list: [PASTE YOUR CHART OF ACCOUNTS HERE]
2) Confidence level (High, Medium, or Low)
3) Brief reasoning (one sentence)
4) Any flags for human review

Format as a table with columns: Row, Date, Description, Amount, Category, Confidence, Reasoning, Flag.

Rules:
- If you're not confident about a transaction, mark it Low confidence and explain why in the reasoning column.
- If a transaction could reasonably fit multiple categories, mark it Medium confidence and list the alternatives.
- Flag any unusual amounts, round-number transactions, or patterns that suggest the entry might be miscategorized in the source data.
- Do not guess. If you genuinely don't know, say so.

Here are the transactions:

[PASTE TRANSACTIONS]"

This prompt works for three reasons. First, it tells AI what to do AND what not to do (don't guess). Second, it forces AI to show its reasoning, which lets you spot problems quickly. Third, the confidence scoring creates a built-in review system — you know exactly which transactions to double-check.

Step 3: Run It and Read the Output

Paste the prompt, hit enter, wait 30-60 seconds. You'll get a table back.

Now here's the critical part: do not blindly trust the output. Read it. Look at the confidence levels. Look at the reasoning column. This is where your professional judgment comes in.

Scan the High confidence items first. These should look right. If something in the High pile seems wrong, investigate — AI sometimes has confident misconceptions, and when it's confidently wrong, it's usually wrong in a specific pattern across multiple similar transactions.

For example, I once had AI confidently categorize a dozen "State of Colorado" payments as "Taxes - State." It turned out they were unemployment insurance payments, which should have been in a different account. The mistake was consistent across all 12 transactions. One quick correction in the prompt ("State of Colorado UI payments go to unemployment expense, not taxes") fixed it for the next run.

Then review the Medium confidence items. These need your judgment. AI is telling you it could reasonably go to multiple categories — you decide which one based on your knowledge of the client.

Finally, investigate everything marked Low confidence or flagged. This is where most of the real errors hide. AI is usually right to be uncertain here.

Step 4: Handling Common Edge Cases

Here are the situations where AI struggles, and what to do about them:

Transfers between accounts: AI sometimes categorizes these as expenses or income. Always check for matching amounts on the same day. Fix: add to your prompt — "If you see matching debit/credit amounts on the same date, flag as possible transfer, not expense."

Recurring subscriptions that look like one-off purchases: A $9.99 charge for "Spotify" might get categorized as "Employee Benefits" if the description is vague. Fix: give AI context about the client's industry — "This is a management consulting firm with 3 employees. Assume SaaS tools under $100/month are software expenses unless description suggests otherwise."

Owner personal expenses: For S-Corps and LLCs, owners sometimes run personal expenses through the business account. AI can't tell the difference unless you tell it. Fix: add to your prompt — "Flag any transactions that look personal (groceries, restaurants on weekends, personal travel) for human review."

Industry-specific vendors: AI doesn't know your client's specific vendors. A "John Smith LLC" payment could be anything. Fix: give AI a vendor glossary — "Key vendors: John Smith LLC = main subcontractor, Acme Supply = office supplies, etc."

Step 5: Scaling to Batches of 500+

For large batches, don't dump everything in at once. ChatGPT and Claude both have token limits, and even when you're under the limit, large batches produce lower-quality output.

My rule: process 50 transactions per prompt. More than that and accuracy drops noticeably.

For a client with 500 transactions, that's 10 prompts. Here's how I make it efficient:

  1. Create a template prompt with your chart of accounts and client context already filled in.
  2. Save it somewhere you can paste quickly.
  3. Break your transaction list into chunks of 50.
  4. For each chunk: paste template, paste 50 transactions, run, review, export.
  5. Combine all outputs into a single spreadsheet for final review.

Total time for 500 transactions: about 30-40 minutes including review. Compare that to 3-4 hours manually. You just saved half a day.

Step 6: Building Your Personal Prompt Library

The prompt above is a starting point. The more you use AI for categorization, the more you'll refine your prompt for specific client types.

I have different versions for different scenarios:

  • Service business (consulting, agencies): Emphasizes SaaS tools, contractor payments, client-related travel.
  • Retail/e-commerce: Emphasizes inventory, cost of goods sold, payment processor fees.
  • Real estate: Emphasizes depreciation categories, property-specific expenses, tenant deposits vs income.
  • Professional services (legal, medical): Emphasizes trust account handling, compliance categories.

Build these up over time. Each refinement improves accuracy for that client type.

The Verification Rule You Can't Skip

Let me say this one more time because it's that important: AI is a first-pass tool, not a final answer.

You still need to review. You still need to sign off. You still need to exercise professional judgment. The goal of AI is to eliminate the 80% of work that doesn't require your judgment so you can focus on the 20% that does.

The accountants who get in trouble with AI are the ones who skip the review step. Don't be that accountant.

The Bottom Line

Transaction categorization is the easiest win you'll get with AI in your accounting practice. One prompt. Real results. Time saved immediately.

If you're still categorizing transactions manually in 2026, you're not being cautious — you're being inefficient. Your competitors are already doing this. Your clients will eventually notice the turnaround time difference.

Start with one client. Run 50 transactions through the prompt above. See what happens. Then do another 50. Then another.

Within a week, you'll wonder why you didn't start sooner.

Want the exact prompts I use, plus 49 more for tax research, client emails, reporting, and more? Download the free PDF here.


Want more AI prompts for accountants?

Get 50 copy-paste prompts delivered to your inbox — free.

Get the Free PDF →