How to Write an Accounting Ledger

An accounting ledger organizes transactions by account so a business can see the movement and balance of cash, receivables, revenue, expenses, debt, and equity. The journal records transactions chronologically; the ledger groups those entries into individual accounts. Those balances ultimately form the trial balance and financial statements.

Modern accounting software posts to the ledger automatically, but understanding the manual process helps you design accounts, correct errors, review reports, and recognize when software output does not make economic sense.

Quick Answer

To write an accounting ledger, create a chart of accounts, open one ledger account for each account code, record date and reference, post the debit and credit from each approved journal entry, update the running balance, reconcile control accounts to supporting records, calculate period-end balances, and prepare a trial balance. Every transaction must keep total debits equal to total credits.

Step 1: Understand the Accounting Equation

The ledger is built on:

Assets = liabilities + equity

Revenue increases equity through profit, while expenses reduce it. In double-entry bookkeeping, every transaction affects at least two accounts and total debits equal total credits.

Account Type Normal Balance Increase Decrease
Assets Debit Debit Credit
Liabilities Credit Credit Debit
Equity Credit Credit Debit
Revenue Credit Credit Debit
Expenses Debit Debit Credit

Step 2: Build a Chart of Accounts

List the accounts the business needs and assign stable codes. A simple numbering structure might be:

  • 1000–1999: assets
  • 2000–2999: liabilities
  • 3000–3999: equity
  • 4000–4999: revenue
  • 5000–6999: cost and operating expenses
  • 7000–7999: other income and expense

Create enough detail to support decisions and reporting, but avoid an account for every supplier or small purchase. Customer and supplier detail normally belongs in subsidiary ledgers, while the general ledger contains control accounts.

Step 3: Choose a Ledger Format

A manual account commonly contains:

  • Account name and code
  • Date
  • Description
  • Journal or document reference
  • Debit amount
  • Credit amount
  • Running balance

A T-account is useful for learning, with debits on the left and credits on the right. A running-balance ledger is more practical for ongoing records because it shows the balance after each posting.

Step 4: Record the Transaction in a Journal First

Use a source document such as an invoice, receipt, bank record, payroll report, or contract to determine the entry. Record it chronologically in a general or special journal before posting to the ledger.

For a $2,000 cash sale:

  • Debit Cash $2,000
  • Credit Sales Revenue $2,000

If inventory was sold, a separate entry may record cost of goods sold and reduce inventory.

Step 5: Post Each Side to the Correct Ledger Account

Enter the date, description, journal reference, and amount in the Cash account’s debit column. Enter the same reference and amount in the Sales Revenue account’s credit column.

Cross-referencing allows a reviewer to move from source document to journal to ledger and back. Do not post only one side while planning to complete the other later.

Step 6: Update the Running Balance

For an asset account with a debit balance:

New balance = previous balance + debits − credits

For a liability or revenue account with a credit balance, the balance increases with credits and decreases with debits. If an account changes from debit to credit, label the sign clearly rather than concealing it.

Step 7: Use Subsidiary Ledgers

Accounts receivable may have one general-ledger control balance and a separate customer ledger for each customer. Accounts payable works similarly for suppliers. Inventory, fixed assets, payroll, and projects may also require detailed subledgers.

The total of the subsidiary ledger must reconcile to its general-ledger control account. A difference means transactions, timing, or adjustments were not recorded consistently.

Step 8: Post Common Business Transactions

Purchase Supplies for Cash

  • Debit Supplies Expense or Supplies Asset
  • Credit Cash

Invoice a Customer

  • Debit Accounts Receivable
  • Credit Revenue

Collect the Customer Invoice

  • Debit Cash
  • Credit Accounts Receivable

Receive a Bank Loan

  • Debit Cash
  • Credit Loan Payable

Pay Loan Principal and Interest

  • Debit Loan Payable for principal
  • Debit Interest Expense for interest
  • Credit Cash for total payment

The exact accounts depend on the transaction and accounting framework. Money received is not always revenue, and money paid is not always expense.

Step 9: Record Adjusting Entries

At period end, post accruals, prepayments, depreciation, amortization, inventory adjustments, bad-debt allowances, deferred revenue, payroll liabilities, and tax estimates. Adjusting entries align the ledger with the proper reporting period.

Every adjustment should include a calculation, reason, support, preparer, reviewer, and reversal instruction where applicable.

Step 10: Correct Errors Transparently

Do not erase or overwrite finalized records. Post a correcting journal that reverses or reclassifies the wrong amount and references the original entry. In a manual ledger, follow the approved correction method so the original entry remains visible.

A correction should explain what was wrong, what the correct treatment is, and which periods or reports are affected.

Step 11: Balance Each Ledger Account

At the reporting date, total debit and credit activity and calculate the closing balance. Carry that balance into the trial balance. Temporary revenue and expense accounts are later closed under the accounting cycle, while permanent balance-sheet accounts carry forward.

Confirm that opening balance plus period activity equals closing balance.

Step 12: Prepare the Trial Balance

List every ledger account and its ending debit or credit balance. Total debits must equal total credits. If they do not, investigate:

  • One-sided postings
  • Transposed digits
  • Entries posted to the wrong side
  • Omitted accounts
  • Duplicate postings
  • Incorrect opening balances

A balanced trial balance does not prove every account is correct. An equal debit and credit can still be posted to the wrong accounts.

Step 13: Reconcile the Ledger

Reconcile bank accounts, receivables, payables, inventory, fixed assets, loans, payroll, taxes, intercompany accounts, and equity. Match ledger balances to reliable external or subsidiary evidence and explain every difference.

Reconciliation is the main control that turns ledger balances into usable financial information.

Example Running-Balance Ledger

Date Description Reference Debit Credit Balance
Jul 1 Opening balance OB $5,000 $5,000 Dr
Jul 3 Cash sale GJ-141 $2,000 $7,000 Dr
Jul 5 Rent payment BP-088 $1,200 $5,800 Dr
Jul 8 Customer collection CR-214 $900 $6,700 Dr

Paper vs. Spreadsheet vs. Accounting Software

Paper can teach the mechanics and support very small records, but it is slow to search and easy to damage. Spreadsheets provide flexibility but require careful formulas, access controls, backups, and version management. Accounting software automates posting and reporting, yet users still need proper account design and reconciliation.

No tool removes the need for source documents, approvals, review, and a backup plan.

Common Ledger Mistakes

  • Posting directly from memory without source documents
  • Recording only one side of an entry
  • Creating too many or too few accounts
  • Using revenue for loans or customer deposits
  • Posting loan payments entirely to expense
  • Failing to reconcile subsidiary ledgers
  • Deleting corrections instead of preserving an audit trail
  • Allowing suspense balances to remain unexplained
  • Relying on a balanced trial balance as proof of accuracy

Writer’s Opinion

A ledger should be detailed enough to answer business questions but simple enough to reconcile every month. I would rather use a disciplined chart with meaningful dimensions—customer, product, project, department—than create hundreds of narrowly named general-ledger accounts.

I also recommend learning manual debits and credits before depending on software automation. When an automated bank rule or integration posts incorrectly, conceptual understanding is what prevents a recurring error from reaching the financial statements.

Video: Bookkeeping and General Ledger Basics

Frequently Asked Questions

What is the difference between a journal and a ledger?

A journal records transactions in chronological entry form. A ledger organizes the debit, credit, and balance activity by account.

What is a general ledger?

The general ledger is the central set of accounts used to prepare the trial balance and financial statements. Subledgers provide detail supporting control accounts.

Can I keep a ledger in Excel?

Yes for suitable small operations, but use controlled formulas, validation, backups, access restrictions, and reconciliation. Growing businesses often benefit from dedicated accounting software.

Does a ledger need to balance every day?

Every complete double-entry journal should balance when posted. Account balances are reviewed and reconciled at appropriate intervals, often daily for cash and monthly for full reporting.

Why does my trial balance balance when the statements are wrong?

Equal debits and credits may have been posted to incorrect accounts, periods, entities, or amounts. Reconciliation and analytical review are still required.

Final Ledger Checklist

  • The chart of accounts is documented and stable.
  • Every posting has a source and reference.
  • Total debits equal total credits.
  • Running balances use correct normal-balance logic.
  • Control accounts reconcile to subledgers.
  • Adjustments and corrections preserve evidence.
  • The trial balance agrees with the ledger.
  • Material accounts are independently reconciled.

A reliable ledger is a traceable bridge from transaction evidence to financial statements. Post both sides, preserve references, reconcile balances, and keep the account structure focused on real reporting needs.