General Ledger: What It Is, Examples and How It Works
Learn what a general ledger is, how transactions flow into it from invoices and bills, and see a worked example with account balances you can follow.
Quick answer: A general ledger is the complete set of accounts a business uses to record its finances, with every transaction posted as equal debits and credits. Each account (cash, receivables, revenue, rent and so on) keeps a running balance, and those balances feed the trial balance and financial statements.
If an accountant has asked for your GL, or you are setting up books for the first time, this guide explains what the ledger is, how it is organized, and how a single invoice travels from a PDF on your desk to a line on your balance sheet. You will see a worked example for one month of activity, a sample ledger account with running balances, and a checklist for keeping the books clean.
A quick note on scope: the free invoice generator on this site creates PDF invoices in your browser. It does not keep a ledger, post transactions or produce reports, so you will record each invoice in your bookkeeping software or spreadsheet separately. Everything below applies whichever system you use.
What is a general ledger?
A general ledger is the central record of a business's accounts. Every financial event, whether a sale, a supplier bill, a loan payment or the owner putting money in, is recorded in at least two accounts under the rules of double-entry bookkeeping. The ledger then shows, for each account, every posting and the balance after it.
The ledger sits in the middle of the accounting cycle:
- Source documents. Invoices, receipts, bank statements, payroll reports and contracts prove that a transaction happened.
- Journal. Each transaction is recorded in date order as a journal entry showing the accounts debited and credited.
- Ledger. The journal entries are posted to the individual accounts, which keep running balances.
- Trial balance. At period end, every account balance is listed to check that total debits equal total credits.
- Financial statements. The balances are arranged into the profit and loss statement, balance sheet and cash flow statement.
In modern software, steps two and three happen in one click. When you record a customer invoice, the app writes the journal entry and posts it to the ledger automatically. Understanding the ledger still matters, because that is where you go when a number on a report looks wrong.
Chart of accounts: how the ledger is organized
The ledger is structured by a chart of accounts, a numbered list of every account you use. Most small businesses follow a numbering pattern like the one below. The exact numbers are a convention, not a legal requirement, so your software may use different ranges.
| Account type | Typical number range | Normal balance | Examples |
|---|---|---|---|
| Assets | 1000–1999 | Debit | Cash, accounts receivable, inventory, equipment |
| Liabilities | 2000–2999 | Credit | Accounts payable, sales tax payable, loans, customer deposits |
| Equity | 3000–3999 | Credit | Owner's capital, owner's draws, retained earnings |
| Revenue | 4000–4999 | Credit | Service revenue, product sales, interest income |
| Expenses | 5000–6999 | Debit | Cost of goods sold, rent, wages, software, utilities |
The first three groups are balance sheet accounts: their balances carry forward from year to year. Revenue and expense accounts are income statement accounts: at year-end their net result is closed into equity (retained earnings or owner's capital) and they start the new year at zero.
Keep the chart short. A freelancer may need only 20 to 30 accounts. Adding a new account for every vendor or client is a common mistake; that level of detail belongs in subsidiary ledgers or tags, not the main ledger.
General ledger vs journal vs subsidiary ledgers
These three records hold the same transactions arranged in different ways.
| Record | Organized by | What it answers |
|---|---|---|
| Journal | Date | What happened on March 8, and which accounts did it touch? |
| General ledger | Account | What is the balance of accounts receivable, and how did it get there? |
| Subsidiary ledger | Customer, vendor or asset | Which customers owe us money, and for which invoices? |
The accounts receivable control account in the main ledger shows one total. The customer subledger, or an aging report, shows which invoices make up that total. If you are building out collections, our accounts receivable guide explains how to manage that detail. The rule to remember: the subledger total must match the control account. If it does not, something was posted to one and not the other.
General ledger example: one month for a small studio
Here is an illustrative example for a fictional business, Cedar Lane Design, in its first month. The amounts are made up to show the mechanics.
| Date | Transaction | Debit | Credit | Amount |
|---|---|---|---|---|
| Mar 1 | Owner invests cash | Cash | Owner's capital | $10,000 |
| Mar 3 | Pays March rent | Rent expense | Cash | $1,500 |
| Mar 8 | Sends invoice INV-1001 for design work | Accounts receivable | Service revenue | $4,000 |
| Mar 12 | Buys a computer for cash | Equipment | Cash | $2,000 |
| Mar 20 | Client pays part of INV-1001 | Cash | Accounts receivable | $2,500 |
| Mar 28 | Receives utility bill, not yet paid | Utilities expense | Accounts payable | $600 |
Total debits: $10,000 + $1,500 + $4,000 + $2,000 + $2,500 + $600 = $20,600. Total credits are the same $20,600, because each line has an equal debit and credit.
The cash account in the ledger
Posting those entries to the cash account gives this running balance:
| Date | Description | Debit | Credit | Balance |
|---|---|---|---|---|
| Mar 1 | Owner investment | $10,000 | $10,000 | |
| Mar 3 | March rent | $1,500 | $8,500 | |
| Mar 12 | Computer purchase | $2,000 | $6,500 | |
| Mar 20 | Payment on INV-1001 | $2,500 | $9,000 |
Arithmetic: $10,000 − $1,500 = $8,500; $8,500 − $2,000 = $6,500; $6,500 + $2,500 = $9,000. That closing figure should match the bank statement once timing differences are cleared, which is exactly what a bank reconciliation checks.
The accounts receivable account
Accounts receivable starts at $4,000 on March 8 and drops to $1,500 after the $2,500 payment ($4,000 − $2,500 = $1,500). The client still owes $1,500 on INV-1001. A clear, consistent invoice number, which you can create with the invoice number generator, is what lets you match that payment to the right open item.
Closing balances
| Account | Debit balance | Credit balance |
|---|---|---|
| Cash | $9,000 | |
| Accounts receivable | $1,500 | |
| Equipment | $2,000 | |
| Accounts payable | $600 | |
| Owner's capital | $10,000 | |
| Service revenue | $4,000 | |
| Rent expense | $1,500 | |
| Utilities expense | $600 | |
| Totals | $14,600 | $14,600 |
Debits: $9,000 + $1,500 + $2,000 + $1,500 + $600 = $14,600. Credits: $600 + $10,000 + $4,000 = $14,600. The two columns agree, so this listing is a valid trial balance. From here, revenue of $4,000 minus expenses of $2,100 gives a profit of $1,900 for the month.
How to read a general ledger report
Most accounting apps can export a GL detail report. It typically shows, for each account:
- Opening balance at the start of the date range.
- Each posting with date, reference (invoice or bill number), description, debit or credit amount and the source module.
- Running balance after each line.
- Closing balance and period totals.
When you review it, scan for postings in the wrong account (a client payment in revenue instead of receivables is common), duplicated entries with the same reference, and balances on the "wrong" side, such as a credit balance in an expense account. Any of those is worth investigating before you produce reports.
Keeping a general ledger: software or spreadsheet?
You can keep the books in either, but the trade-offs are real.
| Factor | Accounting software | Spreadsheet |
|---|---|---|
| Balancing | Usually refuses to save an entry where debits and credits differ | Accepts anything you type |
| Bank data | Bank feeds import transactions for you to categorize | Manual entry or CSV import |
| Reports | Trial balance, P&L and balance sheet in a click | Built yourself with pivot tables or SUMIF formulas |
| Audit trail | Logs edits and can lock closed periods | Rows can be changed or deleted without a record |
| Cost | Monthly subscription for most products | Free or included in software you already have |
A spreadsheet ledger can work for a freelancer with a few dozen transactions a month. Use one table with columns for date, reference, account, description, debit and credit, record each entry on two or more rows, and add a check cell that flags any reference whose debits and credits do not match. Once you have regular receivables, payables, payroll or inventory, the controls in software usually pay for themselves in time saved at month-end and fewer errors for your accountant to unpick.
Whichever you choose, keep the structure the same: one chart of accounts, consistent account names, and every posting linked to a source document by its reference number.
How long to keep ledger records
Your ledger and the invoices, receipts and bank statements behind it are business records. In the US, the IRS explains how long to keep records on its recordkeeping page for small businesses; the period depends on the kind of record and your situation, and other countries set their own rules. Store the PDF of every invoice you issue alongside the ledger entry that recorded it, so anyone can trace a balance back to its source.
Common mistakes with the ledger
- Posting customer payments as new revenue. If the invoice was already recorded, the payment reduces receivables. Recording it as revenue counts the sale twice.
- Too many accounts. One account per client or per supplier makes reports unreadable. Use subledgers or tags.
- Using a suspense or "ask my accountant" account as a parking lot. Clear it every month.
- Editing closed periods. Changing last year's entries after the tax return is filed creates mismatches. Post a correcting entry in the current period and document why.
- Mixing personal spending into business accounts. It inflates expenses and hides draws.
- Not reconciling the control accounts. Cash should match the bank, and receivables should match the customer aging list.
Monthly ledger checklist
- Every invoice issued this month is recorded, with no gaps in the number sequence.
- Every supplier bill and expense receipt is recorded and categorized.
- Bank, card and payment processor accounts are reconciled to statements.
- The receivables and payables subledgers agree with their control accounts.
- Suspense and uncategorized accounts are cleared to zero.
- Sales tax collected sits in a liability account, not revenue.
- A trial balance is run and debits equal credits.
- The period is locked once reports are reviewed, following your month-end close checklist.
Next step
The ledger is only as good as the documents that feed it. Make sure every job turns into a numbered invoice quickly, then record it the same day. If you are still deciding whether you need full software, our comparison of an invoice generator vs accounting software explains where each fits, and the business finance articles cover the reports your ledger produces.
Frequently asked questions
What is a general ledger in simple terms?
A general ledger is the master record of every account a business uses, such as cash, accounts receivable, revenue, rent and loans. Each transaction is posted to at least two of those accounts, and each account keeps a running balance. Think of it as the central filing cabinet of your books: invoices, receipts and bank activity all end up summarized there, and your financial statements are built from its balances.
What is the difference between a journal and a general ledger?
The journal records transactions in date order, one entry at a time, showing which accounts are debited and credited. The ledger reorganizes the same information by account, so you can see everything that happened to cash, or to accounts receivable, in one place along with a running balance. You record in the journal first and post to the ledger second. Accounting software does both steps at once when you save a transaction.
What are the five main types of general ledger accounts?
The five standard account types are assets, liabilities, equity, revenue and expenses. Assets are what the business owns, liabilities are what it owes, and equity is the owner's stake. Revenue and expenses track income earned and costs incurred during the period, and their net result flows into equity at year-end. Many charts of accounts number these groups in blocks, for example 1000s for assets and 4000s for revenue.
Does a small business need a general ledger?
If you use double-entry bookkeeping, you have a general ledger, whether you call it that or not. Every mainstream accounting app keeps one behind the scenes. Very small businesses on single-entry, cash-basis records may only keep a cash book or spreadsheet, which can be enough for a simple tax return. Once you have receivables, payables, loans or equipment, a proper ledger makes your reports far more reliable.
What is a subsidiary ledger?
A subsidiary ledger holds the detail behind one ledger account. The accounts receivable subledger, for example, lists every customer and every unpaid invoice, while the main ledger shows only the total receivables balance. The total of the subledger should equal the control account in the main ledger. Accounts payable, inventory and fixed assets commonly have subledgers too, because the detail would clutter the main ledger.
How often should I update the general ledger?
Record transactions at least weekly, and post every invoice, bill and bank transaction before you close each month. Many owners connect bank feeds so transactions arrive daily and only need categorizing. The key deadline is the month-end close: reconcile cash and card accounts, review receivables and payables, then run a trial balance. Leaving everything until tax season makes errors much harder to trace.
Can I keep a general ledger in Excel or Google Sheets?
Yes, for a small number of transactions. Set up one tab per account or a single table with columns for date, account, description, debit and credit, then use pivot tables or SUMIF formulas to total each account. The weakness is control: spreadsheets do not stop you entering an unbalanced entry or deleting a row. If your transaction volume grows, accounting software is usually safer and saves time.
Is a general ledger the same as a general ledger report?
Not quite. The ledger is the underlying set of accounts and postings. A general ledger report, often called a GL detail report, is a printout or export of those postings for a date range, usually grouped by account with opening balances, each transaction and closing balances. Accountants request it during audits, tax preparation and reviews because it shows the evidence behind every number on the financial statements.
Invoice Creator Editorial Team
Guides on invoicing, cash flow and small-business finance from Invoice Creator, operated by Next Software Development Company. Content is reviewed for accuracy against the fields our own invoice generator produces.
Try the invoice generator