Consultants & Chartered Accountants
C.C.A Firm Egypt
C.C.A Firm — Consultants & Chartered Accountants · Cairo, Egypt
C.C.A — Consultants & Chartered Accountants
The Journal Entries Guide
A complete reference of accounting journal entries, topic by topic — with worked examples.
We created this guide to help our colleagues — fresh graduates and junior accountants — build a simple, complete understanding of accounting principles — account by account, in a professional way. We believe the surest way to truly understand and retain any accounting topic is to know how it is booked: once you can write the journal entry, the concept stays with you and comes back easily whenever you need it.
Inventory
Contents
  1. Purchases
  2. Sales & COGS
  3. Issuing at Cost (FIFO / المتوسط)
  4. Count Shortage & Overage
  5. Lower of Cost or NRV
  6. Goods in Transit
  7. Drawings & Free Samples
  8. The No-Entry Traps
  9. Manufacturing Flow
  10. Test Yourself
Before You Start — The Two Inventory Systems
Core concept

Perpetual system: the Inventory account moves with every transaction — purchases increase it, and each sale reduces it and books cost of goods sold immediately. This is how modern accounting software works, and it is the default in this chapter's examples.

Periodic system: purchases accumulate in a "Purchases" account during the year; cost of goods sold is computed only at period end after the physical count: COGS = opening inventory + purchases − closing inventory.

1 Purchases
Topic 1.1
Buying Goods for Cash or on Credit
The rule

Under the perpetual system, purchased goods enter the Inventory account at cost, against Cash/Bank (cash purchase) or Suppliers (credit purchase).

Example

The company bought goods for 100,000 from a supplier on credit, then paid from the bank.

Step 1 · On purchase
AccountDebitCredit
Inventory100,000
Suppliers100,000
Step 2 · On payment
AccountDebitCredit
Suppliers100,000
Bank100,000
Topic 1.2
Freight-In and Customs Are Added to the Goods' Cost
The rule

Inventory cost = purchase price + all costs of getting the goods to the warehouse: freight-in, customs duties, loading/unloading, and insurance during transit.

Example

The company imported goods: price 200,000, customs 30,000, freight 10,000 — all paid from the bank.

The journal entry
AccountDebitCredit
Inventory (200,000 + 30,000 + 10,000)240,000
Bank240,000
⚠ Note

Freight to customers (freight-out) is a selling & distribution expense — it never enters inventory cost.

Topic 1.3
Purchase Returns
The rule

When goods are returned to the supplier (damaged or off-spec), reverse the purchase: reduce Suppliers by the gross amount, take the goods out of Inventory at their carrying cost, and reverse their share of input VAT too — supported by the supplier's electronic credit/debit note.

Example

Goods costing 15,000 + their VAT of 2,100, from a VAT-bearing credit purchase, were returned to the supplier.

The journal entry
AccountDebitCredit
Suppliers (gross)17,100
Inventory15,000
VAT — Input (reversal)2,100
Total17,10017,100
Topic 1.4
Purchase (Settlement) Discount Earned
The rule

A trade discount (off the price list) is never recorded — goods are booked at the net price directly. A settlement discount (for early payment) appears at payment: we pay less than the amount due, and the difference is discount earned.

Example

A credit purchase of 50,000 with terms 2% discount if paid within 10 days — the company paid early: 49,000 paid, 1,000 earned.

The early-payment entry
AccountDebitCredit
Suppliers50,000
Bank49,000
Inventory (cost reduction)1,000
Total50,00050,000
⚠ Note

This is the correct treatment under the standard (EAS 2 / IAS 2): the discount reduces inventory cost while the goods are on hand — and if they were already sold, it reduces cost of goods sold. Presenting it as other income is common in practice but overstates both inventory and profit.

Topic 1.5
Purchasing with VAT
The rule

Goods enter Inventory net of VAT; the deductible VAT goes to its own account (input VAT); the supplier is credited with the gross amount.

Example

Credit purchase: net 100,000 + 14% VAT = 14,000, total 114,000.

The journal entry
AccountDebitCredit
Inventory (net)100,000
VAT — Input14,000
Suppliers (gross)114,000
Total114,000114,000
💡
Tip — the VAT return
  • The 14,000 goes into deductible input VAT on the month's return — provided you hold an electronic tax invoice in the company's name.
  • If the VAT is not deductible (exempt activity, or an invalid invoice) → the VAT joins the inventory cost itself.
2 Sales & Cost of Goods Sold
Topic 2.1
The Sale Entry Under Perpetual (Sale + Cost)
The rule

Every sale has two sides: (1) the revenue at selling price, and (2) the goods leaving Inventory at cost into Cost of Goods Sold.

Example

Goods sold for cash at 150,000 + 14% VAT (21,000) — the goods' cost is 90,000.

Step 1 · The revenue entry
AccountDebitCredit
Cash171,000
Sales150,000
VAT — Output21,000
Total171,000171,000
Step 2 · The cost entry
AccountDebitCredit
Cost of Goods Sold90,000
Inventory90,000
⚠ The common mistake

The cost entry uses the goods' cost (90,000), never the selling price — booking it at selling price destroys both the margin and the inventory balance.

Topic 2.2
Sales Under the Periodic System + the Year-End Closing Entry
The rule

Under the periodic system the sale entry records revenue only (no cost entry per sale). At period end, after the physical count: COGS = opening inventory + purchases − closing inventory, closed in one entry.

Example

Opening inventory 80,000, purchases 300,000, physical count at year end 60,000.

Step 1 · Calculation
Opening inventory80,000
+ Purchases300,000
− Closing inventory (physical count)(60,000)
Cost of goods sold320,000
Step 2 · The closing entry
AccountDebitCredit
Cost of Goods Sold320,000
Inventory (closing)60,000
Inventory (opening)80,000
Purchases300,000
Total380,000380,000
Topic 2.3
Sales Returns (and Goods Coming Back Into Stock)
The rule

When a customer returns goods, reverse both sides: reduce revenue (Sales Returns account) with its VAT, and bring the goods back into Inventory at cost, reducing Cost of Goods Sold — provided they are resalable.

Example

A customer returned goods sold on credit for 20,000 + VAT 2,800 — their cost is 12,000 and they are resalable.

Step 1 · Reversing the revenue
AccountDebitCredit
Sales Returns20,000
VAT — Output2,800
Trade Receivables22,800
Total22,80022,800
Step 2 · Goods back at cost
AccountDebitCredit
Inventory12,000
Cost of Goods Sold12,000
⚠ Note

If the goods come back damaged they do not re-enter Inventory at full cost — record them at their expected (scrap) value and the difference stays in cost/losses. For tax, returns require an electronic credit note.

3 Issuing at Cost — Costing Methods
Topic 3.1
One Entry… Three Ways to Compute Its Amount (FIFO / Weighted Avg / Moving Avg)
The rule

The issue entry is always: DR Cost of Goods Sold / CR Inventory. The costing method never changes the entry — it changes the amount only.

Example data (shared by all three methods)
Opening balance: 100 units × 101,000
Purchase (1): 100 units × 141,400
Issue/sale (1): 150 units
Purchase (2): 200 units × 132,600
Issue/sale (2): 100 units
Total available: 400 units5,000
Method 1 — FIFO
First issue 150: (100 × 10) + (50 × 14)1,700
Second issue 100: (50 × 14) + (50 × 13)1,350
Total cost issued3,050
Remaining: 150 × 131,950
Method 2 — Moving average (recomputed after every purchase)
After purchase (1): 200 units costing 2,400 → average 1212.00
First issue: 150 × 121,800
After purchase (2): 250 units costing 3,200 → average 12.8012.80
Second issue: 100 × 12.801,280
Total cost issued3,080
Remaining: 150 × 12.801,920
Method 3 — Weighted average (one average for the whole period)
Period average: 5,000 ÷ 400 units12.50
Issued: 250 × 12.503,125
Total cost issued3,125
Remaining: 150 × 12.501,875

The weighted average is computed and booked once at period end (it fits the periodic system) — the first issue cannot be priced with it on its own date because it depends on later purchases. Systems that price every transaction as it happens use the moving average.

The entry (same in all three — only the amount changes)
AccountDebitCredit
Cost of Goods Sold (FIFO as an example)3,050
Inventory3,050
⚠ Note

LIFO is not permitted under Egyptian and international standards. Choose one method and apply it consistently.

4 Count Shortage & Overage
Topic 4.1
The Physical Count: Shortage and Overage
The rule

Compare the physical count to the book balance. A shortage reduces Inventory and is charged to expense (inventory losses) — or to the responsible employee if accountability is established. An overage is almost always caused by an error (an unposted invoice or an over-recorded issue) — correct the source first; if no cause is found, close the overage as a reduction of the inventory-losses expense, not as earned income.

Example — shortage

Book balance 500,000, physical count 480,000 → shortage of 20,000 with nobody accountable.

AccountDebitCredit
Inventory Write-off / Losses (expense)20,000
Inventory20,000
Example — shortage charged to the storekeeper

If the 20,000 shortage is proven to be the storekeeper's negligence and is charged to them:

AccountDebitCredit
Employee Advances (storekeeper's account)20,000
Inventory20,000
Example — overage

The count revealed an overage of 5,000 (after ruling out recording errors):

AccountDebitCredit
Inventory5,000
Inventory Write-off / Losses (expense reduction)5,000
⚠ Note

Before any entry, find the cause of the difference: a recording error? an unposted invoice? theft? The entry fixes the number — the investigation fixes the problem.

5 Lower of Cost or Net Realizable Value
Topic 5.1
Writing Down Slow-Moving / Obsolete Stock + Reversal
The rule

Inventory is measured in the balance sheet at the lower of cost or net realizable value. NRV = expected selling price − costs to complete and sell. When NRV falls below cost, record the write-down as an expense (within cost of sales) against an inventory write-down allowance.

Example — the write-down

Slow-moving goods costing 300,000 with an estimated NRV of 260,000 → write-down of 40,000.

AccountDebitCredit
Inventory Write-down Loss (within cost of sales)40,000
Inventory Write-down Allowance (contra-inventory)40,000
Example — the reversal

In a later period NRV recovered and a reversal of 25,000 is recorded (the reversal is capped at the previous write-down):

AccountDebitCredit
Inventory Write-down Allowance25,000
Reversal of Write-down (reduces cost of sales)25,000
6 Goods in Transit
Topic 6.1
Recording Goods in Transit, Then Transferring to Inventory on Arrival
The rule

Shipped goods whose ownership has passed to us (FOB shipping point) but which have not yet arrived are recorded in Goods in Transit. On arrival, transfer to Inventory adding clearance and transport costs.

Example

An import invoice of 150,000 for goods shipped before year end (FOB shipping point), not yet arrived. After arrival, customs and clearance of 20,000 were paid in cash.

Step 1 · At shipment (ownership passed)
AccountDebitCredit
Goods in Transit150,000
Suppliers150,000
Step 2 · On arrival
AccountDebitCredit
Inventory (150,000 + 20,000)170,000
Goods in Transit150,000
Cash (customs & clearance)20,000
Total170,000170,000
7 Owner Drawings & Free Samples
Topic 7.1
Owner Drawings and Free Samples (At Cost)
The rule

Goods leaving inventory for anything other than a sale leave at cost: owner drawings go to the shareholders' current account, free samples to marketing expense.

Example — drawings

The owner took goods costing 8,000 with a market value of 10,000 for personal use — output VAT is computed on the market value: 10,000 × 14% = 1,400:

AccountDebitCredit
Owner's Current Account (drawings)9,400
Inventory (at cost)8,000
VAT — Output1,400
Total9,4009,400
Example — free samples

Free samples costing 5,000 were distributed to customers:

AccountDebitCredit
Marketing Expense (samples)5,000
Inventory5,000
⚠ Tax

Withdrawing goods for personal use is a deemed taxable supply, and the VAT base is the market value (normal selling price), not cost — the VAT is charged to the owner's current account as in the entry above. Check the treatment of samples with your tax advisor depending on their nature and limits.

8 The No-Entry Traps
Topic 8.1
When Is Recording Nothing the Right Answer?
The rule

A skilled accountant knows when not to record an entry. These cases are classic traps in exams and in practice:

1) Consignment goods we hold: goods owned by others that we hold to sell on their behalf — not our inventory, no entry (tracked in memorandum records only).

2) Our goods held by others (consignment out): still ours and stay in our inventory — no sale entry until the consignee actually sells them. (An internal reclass is allowed: DR Goods with Consignees / CR Inventory — a transfer within inventory itself.)

3) A signed purchase order where goods are neither received nor shipped: a mere contract — no entry until control of the goods passes.

4) Goods we sold FOB destination still in transit: still our inventory — no sale is recognized until delivery. (An internal reclass only is allowed: DR Goods Shipped to Customers / CR Inventory — a transfer within inventory itself, with no sale recognized.)

⚠ The golden rule

Always ask: who controls the goods right now? The modern standard is built on the transfer of control, not legal title — a supplier's retention-of-title clause until payment (common in contracts) does not stop the buyer recognizing the inventory, because control passed on delivery. Shipping terms and title documents are evidence of control, not the test itself.

9 Manufacturing Flow
Topic 9.1
From Raw Materials to Finished Goods to COGS
The rule

Cost flows with the goods: raw materials → work in process (+ direct labor + manufacturing overheads) → finished goods → cost of goods sold at sale.

Example (a full cycle)

Raw materials of 50,000 were issued to production; direct labor 30,000 and overheads 20,000 were added; all production was completed and later sold.

1 — Issuing raw materials
AccountDebitCredit
Work in Process50,000
Raw Materials Inventory50,000
2 — Charging direct labor and overheads
AccountDebitCredit
Work in Process50,000
Wages Payable (direct)30,000
Manufacturing Overheads (applied)20,000
Total50,00050,000
3 — Production completed
AccountDebitCredit
Finished Goods Inventory (50+30+20)100,000
Work in Process100,000
4 — At sale (the cost side)
AccountDebitCredit
Cost of Goods Sold100,000
Finished Goods Inventory100,000
10 Test Yourself
1) Goods costing 6,000 were sold for 10,000 (perpetual) — the cost entry is for:
  • 10,000
  • 6,000
  • 4,000
  • 16,000
2) Damaged goods from a credit purchase (no VAT) were returned to the supplier — the entry is:
  • DR Inventory / CR Suppliers
  • DR Suppliers / CR Inventory
  • DR Purchase Returns / CR Cash
  • DR Suppliers / CR Cost of Goods Sold
3) Periodic system: opening inventory 80,000, purchases 300,000, closing inventory 60,000 — COGS is:
  • 340,000
  • 380,000
  • 320,000
  • 300,000
4) Opening 100 units × 10, then a purchase of 100 units × 14, then 150 units issued — the FIFO cost of the issue:
  • 1,500
  • 2,100
  • 1,700
  • 1,800
5) Goods costing 300,000 with an NRV of 260,000, and the existing write-down allowance for them is only 15,000 — what must be recorded now:
  • A write-down of 40,000
  • A write-down of 15,000
  • Nothing
  • An additional write-down of 25,000
6) Goods we bought FOB shipping point, shipped December 30, arrived January 5 — in the December 31 balance sheet:
  • Excluded because they have not arrived
  • Included in our inventory (goods in transit) — ownership passed at shipment
  • Included at half their value
  • Included only if already paid for
The Journal Entries Guide · Inventory
C.C.A Firm — Consultants & Chartered Accountants · Cairo, Egypt