What Is a General Ledger? One Month Posted Line by Line, and the IRS Rule for Automated Books

A general ledger is the master record of every transaction, sorted by account, each posted as an equal debit and credit. As of October 2026, IRS Publication 583 requires computerized records to reconcile with your books and trace to source documents, the test any automated or AI bookkeeping must pass.

JM
Justin McKelvey
October 04, 2026

What is a general ledger? The short answer

A general ledger (GL) is the master record of every financial transaction a business makes, sorted into accounts: cash, accounts receivable, accounts payable, revenue, each expense, equity. Every transaction is posted to at least two accounts, as a debit and a matching credit, so the ledger always balances. Your balance sheet and profit and loss statement are summaries of it. If a number on a financial report is wrong, the error is in the general ledger.

As of October 2026, most small businesses never see the ledger itself, because accounting software builds it in the background from bank feeds, invoices and bills. That is fine until the reports look wrong. This guide shows what the ledger actually holds, posts one month for a small service company line by line, and covers the IRS rule that matters most once software, or AI, is doing the posting.

General ledger, journal, chart of accounts, trial balance: what each one is

TermWhat it isWhen you use it
JournalThe chronological diary: each transaction, in date order, with its debit and creditRecording a transaction
General ledgerThe same entries regrouped by account, with a running balance per accountSeeing what is in cash, what customers owe, what you have spent on supplies
Chart of accountsThe list of accounts the ledger is allowed to use, usually numbered (1000s assets, 2000s liabilities, 3000s equity, 4000s revenue, 5000s and up expenses)Setting up the books; adding a new account
Subsidiary ledgerDetail behind one GL account, such as one line per customer behind accounts receivableChasing a specific customer or vendor
Trial balanceEvery account's ending balance in two columns, debits and creditsChecking the ledger balances before you run reports

The IRS describes the same flow in Publication 583: in a double-entry system, "transactions are first entered in a journal and then posted to ledger accounts," and after posting, "the total debits must equal the total credits." If they do not, "you have made an error and you must find and correct it."

Free calculator

What is manual work costing you?

Run the Manual-Work Tax Calculator — the annual cost of the data entry, invoicing, and reporting your team still does by hand.

Calculate my Manual-Work Tax →

Free, no email required to run it.

One month in a general ledger, posted line by line

Here is October for a hypothetical three-person cleaning company. The owner opened the business account with $10,000. Payroll is simplified to one net figure so the example stays readable.

DateTransactionDebitCredit
Oct 1Pay October rentRent expense $2,400Cash $2,400
Oct 3Invoice a property manager, net 30Accounts receivable $6,000Service revenue $6,000
Oct 8Buy supplies on accountSupplies expense $900Accounts payable $900
Oct 15Payroll by direct depositWages expense $3,200Cash $3,200
Oct 20Customer pays part of the invoiceCash $4,000Accounts receivable $4,000
Oct 28Pay the supply vendorAccounts payable $900Cash $900

Regrouped by account, that is the general ledger. The cash account alone reads: $10,000 opening, minus $2,400, minus $3,200, plus $4,000, minus $900, for an ending balance of $7,500. Accounts receivable ends at $2,000, accounts payable at zero.

The trial balance checks the work:

AccountDebitCredit
Cash$7,500
Accounts receivable$2,000
Rent expense$2,400
Supplies expense$900
Wages expense$3,200
Owner's equity$10,000
Service revenue$6,000
Total$16,000$16,000

It balances. And the ledger tells the owner something the bank balance does not: the company billed $6,000 and spent $6,500, so it lost $500 in October, while cash fell $2,500 and another $2,000 is still sitting with a customer. How fast that $2,000 comes in is what the accounts receivable turnover ratio measures, computed straight from these ledger balances. That $500 loss is the bottom line of October's income statement, the report that sums the revenue and expense accounts for the month.

What a balanced ledger does not prove

A trial balance that ties only proves every entry had equal debits and credits. It does not catch:

  • The wrong account. Supplies posted to rent still balances.
  • A missed transaction. A bill that never got entered leaves both sides short by the same amount.
  • A duplicate. The same invoice entered twice balances twice.
  • The wrong amount on both sides. $900 keyed as $90 balances perfectly.

Those are caught upstream, by matching documents before they are posted (a vendor bill against its purchase order, for example) and by reconciling the cash account to the bank statement every month.

The rule that matters once software does the posting

Here is the part most general ledger explainers leave out. Publication 583 says software is fine, and then sets a condition: if you use a computerized system, "the machine-sensible records must reconcile with your books and return," and they "must provide enough detail to identify the underlying source documents."

That is the standard every bank-feed rule, auto-categorizer and AI bookkeeping tool has to meet. An entry in the ledger is only defensible if you can trace it back to the receipt, invoice or bill behind it. Auto-posting a bank line as "Supplies $412.18" with no document attached produces a ledger that balances and still fails the IRS's test. So before you trust any automation with the ledger, check one thing: when you click an entry, can you open the document it came from? Our look at AI bookkeeping compares how the main tools handle categorization and where they still need a person.

How long to keep the general ledger

The IRS ties retention to the period of limitations on the return the records support (read October 4, 2026):

  • 3 years in the ordinary case.
  • 6 years if you leave out income of more than 25% of the gross income on the return.
  • 7 years for a loss from worthless securities or a bad-debt deduction.
  • 4 years after the tax is due or paid for employment tax records.
  • Indefinitely if no return or a fraudulent return was filed.

Records tied to property you own are kept until the limitations period runs out for the year you dispose of it, which for equipment or a building can be decades. Because the ledger supports every one of these, most businesses simply keep it permanently; in accounting software that costs nothing.

Who keeps the general ledger

In a small business, the bookkeeper posts and reconciles; the accountant or CPA reviews it, makes adjusting entries and builds the tax return from it. Our guide to bookkeeping vs accounting covers where that line falls and when you need each.

Keep the ledger traceable without the typing

Most ledger errors start as data entry: a bill keyed with the wrong amount, a receipt never attached, a payment matched to the wrong invoice. SuperDupr's AI workflow automation reads bills and receipts as they arrive, attaches each document to the entry it supports, and flags anything that does not match a bank line, so the ledger stays both balanced and traceable.

The bottom line

The general ledger is every transaction, sorted by account, with each one recorded as an equal debit and credit. A balanced ledger is necessary, not sufficient: it will not catch a wrong account or a missing bill. And whoever or whatever posts to it, the IRS's test is the same: every entry has to lead back to a source document.

Sources (read October 4, 2026): IRS Publication 583 (12/2024), "Starting a Business and Keeping Records," sections on journals and ledgers, double-entry bookkeeping and computerized systems (irs.gov); IRS, "How long should I keep records?" (irs.gov). The October example is a hypothetical with illustrative figures.

Frequently Asked Questions

Buyer's Guide Bookkeeping Reporting

AI Dashboards & Reporting $8K–$20K

We build this for service businesses — transparent pricing, fixed scope.

See how it works →

Free calculator

What is manual work costing you?

Run the Manual-Work Tax Calculator — the annual cost of the data entry, invoicing, and reporting your team still does by hand.

Calculate my Manual-Work Tax →

Free, no email required to run it.

The Service Business AI Brief

One practical AI win for service businesses, every other week. No fluff, unsubscribe anytime.

Ready to Implement AI in Your Business?

Book a free strategy session to see how the concepts in this article can work for your specific business.