Skip to content

The general ledger and account codes explained

Irish tax guides · Financial reporting and audit · 27 November 2026 · 6 min read

The general ledger is the collection of every account a business keeps: bank, customers, suppliers, sales, wages, rent and so on. Each account has a code, and the codes are grouped in ranges so you can find things quickly. Two accounts, receivables control and payables control, hold the totals for all customers and all suppliers, and they must always agree with the individual customer and supplier lists.

What is the ledger?

Think of the ledger as a cabinet of accounts. Each drawer holds one account. In a drawer you have a left side, called debit, and a right side, called credit. Every transaction goes into at least two drawers, one on the left and one on the right, and the totals of all the left sides equal the totals of all the right sides. That is double-entry bookkeeping. Our bookkeeping basics for small businesses post explains the starting point, and the accounting records a company must keep post explains why the records matter.

The ledger is the whole cabinet. The day books (sales, purchases, cash) are where transactions are first listed, and the ledger is where they end up.

How account codes work

A code is a short number given to each account. Names can be inconsistent ("Phone", "Telephone", "Mobile") and a code is not. Most small businesses give codes in ranges by the first digit:

  • 1: things the business owns, such as bank, equipment and what customers owe.
  • 2: what the business owes, such as suppliers, VAT and loans.
  • 3: the owner's stake, such as capital and retained profit.
  • 4: income, such as sales and interest received.
  • 5: the cost of goods bought to sell.
  • 6: the running costs, such as rent, insurance, software and bank charges.

This is a good habit, not a law. Nobody requires these exact numbers. What matters is that the list is consistent, has gaps left for new accounts, and is written down.

Reading a code list

Take a short extract from a small shop: 1100 Bank, 1200 Receivables control, 2100 Payables control, 3000 Owner's capital, 4000 Sales, 5000 Cost of goods, 6100 Rent, 6200 Insurance, 6300 Bank charges. You can tell from the first digit what kind of account it is. If delivery costs become important, add 6400 Delivery costs. The first digit says it belongs with the running costs, and the gap meant no renumbering.

Three rules keep a list honest: one code per account, a name that says what is in it, and a change only with a note of who approved it and when.

Control accounts and subsidiary ledgers

If you sell on credit, you have many customers who each owe you something. If you buy on credit, you have many suppliers you owe. Putting every customer in the main ledger would clutter it, so the business keeps two views of the same thing.

  • A control account in the main ledger holds one total. Receivables control is the total of all customers. Payables control is the total of all suppliers.
  • A subsidiary ledger has one account per customer or one per supplier.

They are two ways of counting one set of facts, so the control account and the list of names must agree. If they do not, something is wrong in the books, and finding it is the point of the control account.

How a control account is built

  1. Start with the opening balance.
  2. Add the invoices raised in the month, gross, meaning with VAT.
  3. Take off credit notes.
  4. Take off receipts from customers.
  5. What is left is what customers owe.

Worked example: a stationery wholesaler

Ruairi's Receivables control account starts the month at €18,000. During the month the sales day book shows invoices of €9,600 including VAT. He issues credit notes of €1,200, and receives €11,400 from customers.

Closing balance: €18,000 + €9,600 - €1,200 - €11,400 = €15,000.

Now the test. He adds up the customer accounts: Ciara €6,200, Brian €5,300, Orla €3,500. Total €15,000. The control account agrees with the list, so the test passes.

The next month the control says €15,000 again but the list adds up to €14,910. The difference is €90. Ruairi works through the usual clues:

  • Does the day book total match what was posted to customer accounts?
  • Is there a figure equal to the difference, or half of it?
  • Is it divisible by nine? €90 divided by 9 is 10, so two digits may be swapped.
  • Were any receipts or credit notes posted to one side only?

He finds an invoice of €450 posted to the customer account as €450 but into the control account as €540. The document proves it, so he corrects the control entry with a note. He does not adjust the control to match the list just to make it agree. The control carries the day book total, so the fault is in the entry itself and the correction goes through the books with its paperwork.

The same method works for the Payables control: opening balance, add purchase invoices, take off credit notes and payments, then compare with the supplier list. For the matching job on payroll, see reconcile payroll to the ledger.

How to post a simple entry in the ledger

A sale on credit for €615 including VAT at 23% (net €500, VAT €115) to a customer, entered in the books:

  1. Debit Receivables control €615 (and the customer's account in the subsidiary ledger).
  2. Credit Sales €500.
  3. Credit VAT payable €115.

Check: debits €615, credits €500 + €115 = €615. The left side equals the right side.

When the customer pays, debit Bank €615, credit Receivables control €615. Both the control and the customer account fall by €615. If the customer account is not reduced, the list and the control disagree, and that is how you find the slip.

Keeping the ledger useful

Review the control accounts at every month end. Write the difference you found, how you cleared it and who signed. That page is your evidence. Common traps are adjusting the control to match the list, posting a day book total twice, and posting an invoice to the control but not to the customer. Computer systems help because the posting is automatic, but a code list and a reconciliation still need a human to own them.

The Ledgers, Trial Balance and Error Correction course shows these postings line by line, and the Bookkeeping programme covers the complete cycle.

Key points

  • The general ledger is every account of the business, with debits on the left and credits on the right.
  • Codes in ranges by first digit make accounts easy to find and a new account easy to add.
  • Receivables control and payables control hold totals, and the subsidiary ledgers hold the names. They must agree.
  • A difference is a clue: find the document behind it, never adjust the control to match.

Questions people ask

What is the general ledger in simple terms?
It is the complete set of accounts a business keeps, such as bank, sales, rent and wages. Each account has a debit side on the left and a credit side on the right, and every transaction is recorded in at least two of them.
How should I number my accounting codes?
A common habit is ranges by first digit: 1 for what the business owns, 2 for what it owes, 3 for the owner's stake, 4 for income, 5 for cost of goods and 6 for running costs. It is a good habit, not a legal rule, so keep it consistent and leave gaps.
What is a control account?
A control account is one account in the main ledger that holds the total of a whole ledger of names. Receivables control holds what all customers owe, and payables control holds what you owe all suppliers. The list of individual accounts must add up to it.
What should I do if the customer list does not match the control account?
Treat the difference as a clue. Compare the day book total with what was posted to customers, look for a figure equal to the difference or a swapped-digit pattern, and correct the entry with a note. Do not change the control account just to make it match.

Know someone this would help? Share it.

The general ledger and account codes explained | ManageTax