Digital Salla

Accounting Books: Journal, Ledger and Trial Balance with a Worked Example

Accounting Basics

Design titled "Accounting Books: Journal, Ledger and Trial Balance with a Worked Example", showing a journal entry debiting Cash and crediting Capital, posted to a T-shaped Cash ledger account and then to a trial balance totalling 110,000 debit and 110,000 credit, with a Balanced badge.

Accounting books are the records in which financial transactions are entered and then classified until balances can be drawn from them. They rest on three links: the journal records each transaction by date as a debit and a credit; the ledger gathers every account's movements on one page and works out its balance; and the trial balance lists all the balances to check that debits equal credits. This article explains the three links with a complete worked example, what a trial balance does and does not prove, and the requirements of the Commercial Books Law.

The accounting cycle: from source document to trial balance

  1. Source document: an invoice, receipt, payment voucher or contract — the evidence of the transaction.
  2. Journal entry: the transaction is analysed into a debited account and a credited account for equal amounts.
  3. Posting to the ledger: each side of the entry is carried to its account.
  4. Balancing the accounts: the difference between total debits and total credits in each account.
  5. Trial balance: a list of the balances at a given date.
  6. Adjustments, then financial statements: period-end entries, then an adjusted trial balance from which the statements are prepared.

For deciding which side each transaction goes to, see account classification and entry direction.

The journal: recording by date

The journal is a chronological record: transactions are entered in the order they occur, and each entry carries:

ElementContent
Date and entry numberAn unbroken sequence
Account debited and account creditedA compound entry may have several accounts on one side
AmountTotal debits equal total credits in every entry
NarrationA description of the transaction
ReferenceThe number of the supporting document

Where similar transactions are numerous, subsidiary journals — a sales journal, a purchases journal, a cash book — are used, and their totals are carried to the general journal at regular intervals.

The ledger: classifying by account

The journal answers "what happened today?"; the ledger answers "what is the balance of each account?". Every account in the chart of accounts has its own page: the debit side of an entry is posted to the account's debit side and the credit side to its credit side, with the entry reference alongside so the trail can be followed both ways.

  • Debit balance: total debits exceed total credits — the normal balance of assets, expenses and drawings.
  • Credit balance: total credits exceed total debits — the normal balance of liabilities, capital and income.

Where customers or suppliers are numerous, subsidiary ledgers hold an account for each one, and the general ledger keeps a single control account whose balance equals the total of the subsidiary ledger. For structuring the accounts themselves, see chart of accounts design.

The trial balance: totals and balances

A trial balance lists the ledger accounts at a given date, in one of two forms:

  • Trial balance of totals: each account's total debits and total credits. Its total equals the total of the journal entries for the same period, provided the accounts carry no opening balances brought forward from an earlier period.
  • Trial balance of balances: only each account's balance, in the debit or the credit column. This is the common form, because the financial statements are prepared from it.

Either way, the debit and credit columns must agree, because every entry was recorded with two equal sides.

Worked example: from entry to trial balance (illustrative figures)

Assumptions: a service business that started trading in January 2026, uses a single bank account and, for simplicity, has no taxes.

Step 1: journal entries

No.NarrationDebitCreditAmount
1Capital paid into the bankBankCapital50,000
2Office equipment bought on creditEquipmentPayables12,000
3January rent paidRent expenseBank3,000
4Services provided for cashBankService revenue8,000
5Services provided on creditReceivablesService revenue15,000
6Part payment to the supplierPayablesBank5,000
7Collection from customersBankReceivables9,000
8January salaries paidSalaries expenseBank6,000
9Owner's drawingsDrawingsBank2,000
Journal total110,000

Step 2: posting to the ledger and balancing the accounts

AccountEntries postedTotal debitsTotal creditsBalance
Bank1, 3, 4, 6, 7, 8, 967,00016,00051,000 Dr
Equipment212,000—12,000 Dr
Receivables5, 715,0009,0006,000 Dr
Payables2, 65,00012,0007,000 Cr
Capital1—50,00050,000 Cr
Drawings92,000—2,000 Dr
Service revenue4, 5—23,00023,000 Cr
Rent expense33,000—3,000 Dr
Salaries expense86,000—6,000 Dr
Total110,000110,000

Each side of the ledger totals 110,000 — the same as the journal total, because the business is new and has no opening balances. This is the trial balance of totals.

Step 3: trial balance (balances) at 31 January 2026

AccountDebitCredit
Bank51,000
Equipment12,000
Receivables6,000
Payables7,000
Capital50,000
Drawings2,000
Service revenue23,000
Rent expense3,000
Salaries expense6,000
Total80,00080,000

The month's result can already be read before any adjustments: revenue 23,000 − expenses 9,000 = profit 14,000.

What a trial balance proves — and what it does not

A balanced trial balance proves one thing: total debits posted equal total credits posted. It therefore reveals errors that break that equality, such as posting only one side of an entry, posting a different amount on one side, or a mistake in adding or balancing an account.

It does not reveal errors that affect both sides by the same amount. Using the example:

Type of errorExample from the transactions aboveDoes the trial balance still agree?
OmissionEntry 8 left out entirelyYes — salaries and bank are both wrong
CommissionSalaries of 6,000 recorded as rent expenseYes
PrincipleEquipment of 12,000 recorded as an expense, not an assetYes
Original entryThe collection recorded as 900 instead of 9,000 on both sidesYes
Complete reversalBank credited and receivables debited in entry 7Yes
Compensating errorsA 1,000 overstatement of a debit account offset by a 1,000 overstatement of a credit accountYes

If, instead, the collection were posted as 9,000 to the bank but 900 to receivables, the trial balance would be out by 8,100. A difference divisible by 9, like this one, may point to a slid or transposed figure — an arithmetic property that helps the search, not an accounting rule.

That is why the trial balance is backed by reconciliations that test whether balances are right, not just whether they agree: the bank reconciliation against the bank statement, and customer and supplier balances against the subsidiary ledgers and their statements.

From trial balance to financial statements

After the trial balance come the period-end adjusting entries — accruals, prepayments, depreciation — and then an adjusted trial balance from which the statements are prepared; see the accrual basis and period-end adjustments. The trial balance itself is an internal working document, not a financial statement: it is not among the components of a complete set of financial statements listed in IAS 1 (IAS 1.10). Next steps: the income statement and the statement of financial position.

Requirements of the Commercial Books Law

The Commercial Books Law, issued by Royal Decree No. M/61 dated 17/12/1409 AH and shown as "in force" on the Bureau of Experts at the Council of Ministers platform when accessed on 25 October 2026, governs the books that merchants keep. Its main provisions:

ArticleProvision
1Every merchant must keep the books that the nature and importance of the business require, in a way that shows the financial position accurately; they must be regular and in Arabic, and at least: the original journal, the inventory book and the general ledger. A merchant whose capital does not exceed one hundred thousand riyals is exempt from keeping these books
2Book entries may be made by computer for establishments and companies that use computers in their accounts; the implementing regulations set the rules that ensure the data's accuracy and integrity
3The original journal records all financial transactions and personal drawings day by day in detail; drawings may be entered in total month by month. Subsidiary journals may be used, with their totals entered in the original journal at regular intervals; otherwise each subsidiary book is treated as an original book
4The inventory book records the details of goods at the end of the financial year, or a total if the details are in separate books or lists, and a copy of each year's statement of financial position if not recorded in another book
5Transactions of the same nature are posted from the journal to the general ledger so that each account's result can be extracted at any time
6The merchant must keep true copies of correspondence and documents sent and received, in an orderly way
7The books must follow the form set by the Ministry of Commerce, with numbered pages
8The merchant and the merchant's heirs must keep the books, correspondence and documents for at least ten years
12Each violation is punishable by a fine of not less than five thousand and not more than fifty thousand riyals

For organising document retention and archiving, see paper and electronic document retention systems.

A practical tool

If your books are in order and your trial balance agrees, the Financial Statements and Notes from the Trial Balance tool starts from the trial balance you paste in, not from journal entries, so it does not replace the journal and ledger. It produces the four statements and the notes for the current and comparative years, with a checks panel that includes the balance check and unclassified accounts, and a sheet for adjusting and reclassification entries (100 lines) that leaves the pasted trial balance unchanged. It holds up to 1,000 accounts, covers a single entity, and does not cover consolidated statements or deferred tax.

Sources

Blog

A tool for this topic

Apply what you read with a ready file

Financial Statements & Closing

Financial Statements and Notes

Enter the trial balance once to get the four financial statements, including an automatic cash flow statement, plus notes and ratios — in two editions: IFRS for SMEs, and full IFRS (IAS 1 presentation for 2026, IFRS 18 automatically from 2027).

View details