Digital Salla

Journalizing Transactions: Deciding Which Accounts to Debit and Credit

Accounting Basics

Design titled "Accounting Guidance for Financial Transactions", with an illustration of a hand holding a pencil, a clipboard checklist, coins marked with a dollar sign, a computer screen showing pie and bar charts, and a calculator.

Journalizing a transaction starts with analysing it: which accounts it affects, which account is debited and which is credited, and by how much. The Arabic term for this step, «التوجيه المحاسبي», literally means the "accounting direction" of a transaction. It links the source document to the journal entry: get the analysis right and the entry is right, together with everything built on it — posting, the trial balance and the financial statements.

This article sets out the questions to ask, the patterns transactions follow, and then applies them to a full month of a trading business: purchases, sales, expenses, payments, receipts and month-end adjustments, with every figure recomputed. "Accounting direction" here does not mean guidance issued by standard-setters; it means deciding the two sides of each entry.

Journalizing and the double-entry rule

Journalizing rests on double entry: every transaction is recorded in at least two accounts, at least one debited and at least one credited, and in every entry total debits equal total credits. The rule itself is explained in the double-entry system.

The debit and credit conventions are bookkeeping rules; IFRS Accounting Standards do not set them. What the accounting framework does determine is the nature of an item and when it is recognised. Journalizing therefore starts by classifying the account, and only then picks the side.

Classify the account before choosing the side

The Conceptual Framework for Financial Reporting, in the revised version issued by the International Accounting Standards Board (IASB) in March 2018, defines the five elements that accounts belong to (Conceptual Framework, paragraphs 4.3, 4.26, 4.63, 4.68 and 4.69). The last column is the bookkeeping convention built on them:

ElementConceptual Framework definitionIncreases on the
AssetA present economic resource controlled by the entity as a result of past eventsDebit side
LiabilityA present obligation of the entity to transfer an economic resource as a result of past eventsCredit side
EquityThe residual interest in the assets of the entity after deducting all its liabilitiesCredit side
IncomeIncreases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claimsCredit side
ExpensesDecreases in assets, or increases in liabilities, that result in decreases in equity, other than those relating to distributions to holders of equity claimsDebit side

A decrease goes on the opposite side. Revenue, such as sales, is income arising in the course of an entity's ordinary activities (IFRS 15, Appendix A). And it follows from the definitions of income and expenses that contributions from holders of equity claims are not income, and distributions to them are not expenses (Conceptual Framework, paragraph 4.70).

For the reasoning behind each side and the special cases — contra accounts, drawings — see debit vs credit; for classification in detail, see the account classification guide.

The journalizing questions: from document to entry

Before writing any entry, answer these questions in order:

  1. What happened? Read the document: the date, the other party, the amount, and whether it is a cash or credit transaction.
  2. Which accounts are affected? At least two, named as in your chart of accounts, not improvised.
  3. Which element is each account, and did it increase or decrease? That answer fixes the side, using the table above.
  4. Does the transaction belong to this period? Accrual accounting depicts the effects of transactions and other events and circumstances on an entity's economic resources and claims in the periods in which those effects occur, even if the resulting cash receipts and payments occur in a different period (Conceptual Framework, paragraph 1.17).
  5. Is the entry balanced and explained? Debits equal credits, and the narration names the transaction and its document number.

The parts of an entry and how to write its narration are in how to prepare a journal entry; entries with more than one debit or credit are in compound entries.

Transaction patterns

Every transaction combines at least two effects that keep the accounting equation in balance: assets = liabilities + equity. These are the most frequent patterns:

PatternExampleDebitCredit
Asset up, another asset downCollection from a customerCashAccounts receivable
Asset up, liability upEquipment bought on creditEquipmentOther payables
Asset up, equity upOwner contributes cashCashCapital
Asset up, revenue upGoods sold for cash or on creditCash or receivablesSales
Expense up, asset downMonth's salaries paidSalariesCash
Expense up, liability upService used but not yet paidThe expenseAccrued expenses or payables
Liability down, asset downSupplier paidAccounts payableCash
Liability down, revenue upGoods delivered after payment in advanceContract liabilitySales
Equity down, asset downOwner's drawingsDrawingsCash

The equation itself is explained in the accounting equation.

Worked example: one month of transactions (illustrative figures)

Assumptions:

  • A trading business starts March 2026 with 60,000 cash contributed by the owner as capital, and no other balances and no opening inventory.
  • It uses the periodic inventory system: goods bought are debited to a "Purchases" account, and no cost entry is made at each sale.
  • Control of goods passes to the customer on delivery, and sales contracts give no right of return.
  • Amounts exclude VAT, and "cash" is one account covering cash on hand and at bank.

Transactions:

  1. 1 March: paid the premium for a 12-month insurance policy on the shop starting 1 March: 7,200.
  2. 2 March: bought goods for cash, 11,000.
  3. 5 March: bought goods on credit from a supplier, 24,000.
  4. 7 March: returned non-conforming goods from the 5 March purchase to the supplier, 1,500.
  5. 10 March: sold and delivered goods for cash, 14,000.
  6. 12 March: sold and delivered goods on credit, 26,000.
  7. 14 March: agreed to take back goods from the 12 March sale, 1,200, reducing the customer's balance.
  8. 18 March: an advertising campaign for the shop was run on credit, 900.
  9. 20 March: paid the supplier 16,000.
  10. 25 March: collected 19,000 from the customer.
  11. 28 March: received 3,500 in advance from a customer for goods to be delivered in April.
  12. 31 March: paid the month's salaries, 6,500.
  13. 31 March (adjustment): March's share of the insurance premium.
  14. 31 March (adjustment): the March electricity bill has not arrived; the month's usage is estimated at 750.
No.DebitCreditAmount
1Prepaid insurance (asset up)Cash (asset down)7,200
2PurchasesCash (asset down)11,000
3PurchasesAccounts payable (liability up)24,000
4Accounts payable (liability down)Purchase returns (contra account)1,500
5Cash (asset up)Sales (revenue up)14,000
6Accounts receivable (asset up)Sales (revenue up)26,000
7Sales returns (contra account)Accounts receivable (asset down)1,200
8Advertising expense (expense up)Other payables (liability up)900
9Accounts payable (liability down)Cash (asset down)16,000
10Cash (asset up)Accounts receivable (asset down)19,000
11Cash (asset up)Contract liability (liability up)3,500
12Salaries (expense up)Cash (asset down)6,500
13Insurance expense (expense up)Prepaid insurance (asset down)600
14Electricity expense (expense up)Accrued expenses (liability up)750

Each entry debits one account and credits one account with the same amount, so the journal's debits total 132,150 and its credits total 132,150.

Purchases (transactions 2 to 4)

  • "Purchases" under the periodic system is a temporary account that collects the cost of goods bought during the period. At period end, cost of sales is computed after the stock count: opening inventory + net purchases − closing inventory. Under the perpetual system, inventory is debited instead, and a cost entry is made at each sale.
  • Under either system, when inventories are sold their carrying amount shall be recognised as an expense in the period in which the related revenue is recognised (IAS 2.34).
  • Purchase returns is a contra account deducted from purchases: net purchases are 11,000 + 24,000 − 1,500 = 33,500. Had the returned goods been bought for cash and refunded, cash would be debited instead of the supplier.
  • Trade discounts get no account of their own; the goods are recorded net, because trade discounts, rebates and other similar items are deducted in determining the costs of purchase. Taxes that the entity subsequently recovers from the taxing authorities are not part of the cost of purchase either (IAS 2.11).

Sales (transactions 5 to 7 and 11)

  • The entity shall recognise revenue from a sale when it satisfies a performance obligation by transferring the promised good to the customer, and the good is transferred when the customer obtains control of it (IFRS 15.31). That is why the 12 March sale is recorded on delivery, not on collection.
  • Transaction 11 is not a sale. If a customer pays consideration before the entity transfers the good, the entity shall present the contract as a contract liability when the payment is made or the payment is due, whichever is earlier (IFRS 15.106). The account that books call "customer advances" or "unearned revenue" is a contract liability, and it becomes sales when the goods are delivered in April.
  • Sales returns is a contra account deducted from sales: net sales are 14,000 + 26,000 − 1,200 = 38,800.
  • If, by contrast, the entity sells products with a right of return, the Standard requires it, on transferring them, to recognise all three of the following: revenue in the amount of consideration to which it expects to be entitled (so no revenue for products expected to be returned); a refund liability; and an asset for its right to recover products from customers on settling the refund liability, with a corresponding adjustment to cost of sales (IFRS 15.B21).

Expenses, payments and receipts (transactions 1, 8 to 10 and 12)

  • Advertising is an expense when the service is received, paid or not: expenditure on advertising and promotional activities is recognised as an expense when it is incurred, and in the case of the supply of services the entity recognises the expenditure as an expense when it receives the services (IAS 38.69). As it was unpaid, other payables — not cash — is credited.
  • Paying a supplier and collecting from a customer are neither expense nor revenue: the first reduces a liability and an asset; the second swaps one asset for another. See collections vs revenue.
  • A premium paid in advance is an asset when paid because it covers twelve months, and it becomes an expense month by month.

Month-end adjustments (transactions 13 and 14)

  • Insurance: 7,200 ÷ 12 = 600 is March's expense, leaving 6,600 as an asset for eleven months.
  • Electricity: the usage happened in March, so March bears it even though the bill and the payment come in April (Conceptual Framework, paragraph 1.17). When the bill is paid, accrued expenses are debited.

More in accruals and prepayments.

Check: the adjusted trial balance

After posting the opening balance and the month's entries to the ledger, the trial balance of balances — after adjustments and before the stock count — is:

AccountDebitCredit
Cash55,800
Accounts receivable5,800
Prepaid insurance6,600
Purchases35,000
Sales returns1,200
Advertising expense900
Salaries6,500
Insurance expense600
Electricity expense750
Capital60,000
Accounts payable6,500
Other payables900
Accrued expenses750
Contract liability3,500
Sales40,000
Purchase returns1,500
Total113,150113,150

The three busiest accounts:

  • Cash = 60,000 − 7,200 − 11,000 + 14,000 − 16,000 + 19,000 + 3,500 − 6,500 = 55,800.
  • Accounts receivable = 26,000 − 1,200 − 19,000 = 5,800.
  • Accounts payable = 24,000 − 1,500 − 16,000 = 6,500.

Profit cannot be completed before the count: cost of sales = nil (opening inventory) + 33,500 − closing inventory per the count; see the accrual basis and period-end adjustments. Posting and preparing the trial balance are covered in accounting books and the trial balance, and what a balanced trial balance does not reveal in errors the trial balance does not catch.

Common journalizing errors

  • Recording a customer's advance as sales before the goods are delivered; it is a contract liability (IFRS 15.31, 106).
  • Recording a collection as revenue or a payment as an expense, which double-counts revenue or expense already recorded at the sale or purchase.
  • Charging a prepaid premium entirely to the month of payment, which inflates that month's expense and drops the asset.
  • Omitting an accrued expense because the bill has not arrived (Conceptual Framework, paragraph 1.17).
  • Recording the owner's contribution as revenue or drawings as an expense (Conceptual Framework, paragraph 4.70).
  • Confusing asset and expense: the cost of an item of property, plant and equipment shall be recognised as an asset if, and only if, it is probable that future economic benefits associated with the item will flow to the entity and the cost of the item can be measured reliably (IAS 16.7); routine maintenance is an expense (IAS 16.12).
  • Reversing the two contra accounts: purchase returns are credited and sales returns debited, not the other way round.

A practical tool

The Journal Entries Guide is a free PDF, in Arabic, setting out 29 entries for common local transactions, each with a balanced numerical example and its basis in the law, regulation or Standard: VAT (including sales and purchases), withholding tax, zakat and income tax, payroll and social insurance, and murabaha and tawarruq financing. It does not explain the general purchase, sale and expense entries covered in this article; for those, see the common entries library.

Sources

Blog

A tool for this topic

Apply what you read with a ready file

Free Tools

Journal Entries Guide

The correct entry for every common local transaction, with its regulatory or standards basis.

Download free