Stepthrough Start free

What Is a Chart of Accounts? Give Your AI the Categories

Quick answer

A chart of accounts is the complete list of accounts a business uses to record its transactions, usually grouped into assets, liabilities, equity, income and expenses. When you use AI to categorize expenses, it should pick from your chart of accounts, not invent its own labels, or the results won't match your books. The free lesson AI Expense Categorizer Agent shows how: the agent's instructions list the exact categories it may use, plus a Needs Review option for anything unclear.

Last updated

Take the free module →Module 12 of the free AI for Finance Teams course, about 12 minutes. No account needed.

FinanceBookkeepingn8n

This guide is for bookkeepers, office managers and owners who keep the books. It isn't tax or accounting advice; your accountant decides how your accounts are set up.

What is a chart of accounts, in plain words?

It's the filing system for every dollar in your books. The glossary entry puts it this way: every dollar is filed under one of these accounts, which is what makes reports like a profit and loss possible.

The five usual groups:

GroupWhat it holdsExamples
AssetsWhat the business ownsChecking account, equipment, money customers owe you
LiabilitiesWhat the business owesCredit card balance, loans
EquityThe owner's stakeOwner contributions, retained earnings
IncomeMoney coming inService revenue, product sales
ExpensesMoney going outOffice supplies, software, travel, utilities

Expense categorization, which is what most AI bookkeeping help focuses on, happens in that last group. The glossary entry on expense categorization explains why it matters for reports and for your accountant.

Why does AI need my chart of accounts?

Because without a list, AI makes up categories, and made-up categories drift. One receipt becomes "Office Supplies," the next "Office Expenses," the next "Supplies." Each looks reasonable; together they make a mess to clean up.

You can see the difference between two free lessons:

  • In AI Receipt Extractor, the agent's instructions say "Extract the date, vendor, and amount. Come up with a category." That's fine for learning how an agent reads a photo and writes a row to Google Sheets, and the lesson's receipt lands as Groceries.
  • In AI Expense Categorizer Agent, the instructions say "Use only these categories" and list them. Every row uses the same names.

For real books, use the second approach with your own account names.

How do I give an AI agent my categories?

Put the list in the agent's system message, word for word, with a rule for anything that doesn't fit. The relevant part of the lesson's system message for a made-up firm, Maple Street Bookkeeping:

Your job is to sort each expense the user gives you into one category and write a short note about it.

Use only these categories:
- Office Supplies
- Software & Subscriptions
- Meals
- Travel
- Utilities
- Needs Review

If an expense could fit more than one category, or the details are unclear, use Needs Review and say why.

Do not give tax advice. Do not change amounts or invent details.

Three parts do the work. The closed list. The Needs Review escape hatch, so the agent flags doubt instead of guessing. And the rules: no tax advice, no changed amounts, no invented details. Replace the six categories with the expense accounts from your own chart of accounts, spelled exactly as they appear in your bookkeeping software.

Try it free, step by step

Build an AI Agent That Categorizes Business Expenses. Build an AI agent for Maple Street Bookkeeping that sorts business expenses into categories, writes a short note for each and saves them to Google Sheets — chat trigger, AI Agent, system prompt… You do every step yourself in a practice copy of n8n, it checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, and nothing touches your real accounts.

Start the free lesson

Or read the full step-by-step guide

What does the agent return for each expense?

A row with five fields: Date, Vendor, Amount, Category and Note. The note is one sentence: what it was for, and anything the bookkeeper should check, like a missing receipt. The lesson's Google Sheet, Expense Log, has those five columns, and the agent fills each one through the Google Sheets tool's ✦ buttons.

The test prompt sends three expenses in one message:

Categorize these expenses: Sep 22, Corner Office Supply, $64.18, printer paper and toner. Sep 23, CloudLedger, $45.00, monthly accounting software. Sep 24, Harbor Street Cafe, $38.50, lunch with a client.

Then "Yes, save those expenses to the sheet," and the agent writes the rows. The audience in the system message is "the bookkeeper who reviews every entry before it is posted," which is the right design: AI sorts, a person posts.

How many categories should I give the AI?

Start with the expense accounts you actually use most, not your whole chart. A short list of clear categories gets more consistent results than a long list of similar ones. If two of your accounts are easy to confuse, add a one-line rule for each, such as "Software & Subscriptions: anything billed monthly for an app," or let those cases go to Needs Review.

Grow the list once you've seen what lands in Needs Review most often. That pile tells you which rule to add next.

What should a person still check?

Every row, before it's posted to the books. In particular:

  • Anything in Needs Review.
  • Meals and travel, which often need a business purpose noted.
  • Large or unusual amounts.
  • Items that look personal.

Keep receipts as your records. The AI is a sorting helper, not a replacement for your bookkeeping software or your accountant. Categorize Business Expenses with AI walks through a year-end cleanup, and What Is Dunning? covers the other side of the books, chasing money customers owe you.

On cost: the lesson is a free practice copy. A real build uses n8n (n8n Cloud is paid after its trial, or self-host it) and OpenAI API credit, which is pay-as-you-go and separate from ChatGPT plans. The accounting and bookkeeping firms page lists more lessons for firms.

Key takeaways

  • A chart of accounts is the full list of accounts a business records transactions in, grouped into assets, liabilities, equity, income and expenses.
  • AI that invents its own expense categories drifts, so give it a closed list from your chart of accounts.
  • The AI Expense Categorizer Agent lesson's system message says "Use only these categories" and adds Needs Review for unclear expenses.
  • The agent returns Date, Vendor, Amount, Category and a one-sentence Note for each expense, saved to a Google Sheet.
  • A bookkeeper reviews every entry before it's posted; the AI sorts, a person decides.

Frequently asked questions

Is a chart of accounts the same as expense categories?

Expense categories are one part of it. The chart of accounts also includes asset, liability, equity and income accounts.

Can ChatGPT build a chart of accounts for my business?

It can suggest a starting list, but your accountant should decide how your accounts are set up, because it affects your reports and taxes.

What should go in the Needs Review category?

Anything that could fit more than one category or has unclear details. The lesson's agent also says why it chose Needs Review, so the bookkeeper knows what to check.

Will AI change my amounts?

It shouldn't, and the lesson's system message says "Do not change amounts or invent details." Still check every row against the receipt before posting.

Free lessons in this post

Plain-English definitions, each with an example from a free lesson.

The full AI glossary

  • AI pilot plan prompt: Plan a small, time-boxed trial of an AI tool: one task, a few people, success criteria you choose up front, how you'll measure…
  • Case study interview questions prompt: Plan a client interview that gets a case study's before, during and after story in their own words, with follow-up probes and…
  • Duplicate invoice check prompt: Scan the bills in a payment run for likely duplicates: same vendor and amount, near-matching invoice numbers and bills already…
  • Email subject lines prompt: Get ten honest subject lines for a finished email, each with preview text and a character count, grouped by approach so you can…

All free prompt templates

Visual guides

The same ideas as quick visual guides: swipe through the slides, or read each one as text.

All visual guides

Keep reading

All blog posts · All free tutorials