Inventory and taxes meet in one figure: closing stock. On a tax on profit, each shilling of closing stock adds a shilling to taxable profit, because it cuts the cost of goods sold. On a tax charged on turnover, your stock does not change the bill at all.
So the legal ways to lower the bill are narrow. Value stock by the rules your tax authority accepts, cut only what has really lost value, and keep the records that prove it. Understating stock is evasion, not planning.
This guide sets out how eight African countries value stock for tax, from each country's own tax summary or law. A Kenyan example runs through both kinds of tax.
How inventory affects taxes: the closing stock formula
Closing stock enters your tax through cost of goods sold. Uganda's Income Tax Act spells the formula out in section 46: opening stock, plus stock bought in the year, minus closing stock.
Cost of goods sold = opening stock + purchases − closing stock
Taxable profit is then sales less that cost and your other allowable expenses. A higher closing stock means a lower cost of goods sold, a higher profit and more tax.
For example, a Nairobi electronics retailer, a limited company, sells KES 80 million a year. Kenya taxes resident companies at 30% of profit (PwC, Kenya). The figures are illustrative.
| Line | Amount |
|---|---|
| Sales | 80,000,000 |
| Opening stock | 9,000,000 |
| Purchases | 58,000,000 |
| Closing stock, counted at cost | 11,000,000 |
| Cost of goods sold | 56,000,000 |
| Rent, wages and other expenses | 12,000,000 |
| Taxable profit | 12,000,000 |
| Tax at 30% | 3,600,000 |
A count KES 1,000,000 too high adds KES 1,000,000 to profit and KES 300,000 to tax. A count too low does the reverse, and that is the error a tax officer looks for.
Check the count before you file. An inventory audit matches the shelf to the records and the records to the books.
Does buying stock before the year end cut your tax?
No. Stock you buy and still hold at the year end adds the same amount to purchases and to closing stock. Cost of goods sold, and tax, stay where they were.
| As planned | With the extra stock | |
|---|---|---|
| Purchases | 58,000,000 | 60,000,000 |
| Closing stock | 11,000,000 | 13,000,000 |
| Cost of goods sold | 56,000,000 | 56,000,000 |
| Tax at 30% | 3,600,000 | 3,600,000 |
| Cash in the bank | As before | 2,000,000 less |
The only change is KES 2,000,000 less cash, tied up on the shelf until the goods sell. Stock that sits unsold costs you cash, as how inventory affects cash flow shows.
The deduction for stock comes when it is sold, written down or lost, never when it is bought. Buy for your customers, not for your tax return.
How each country values stock for tax
Each country sets its own rule, and the eight below differ in the detail. Each line comes from that country's page in PwC's Worldwide Tax Summaries, reviewed in 2026, and Uganda's methods from section 46 of its Income Tax Act. Check yours before you file.
| Country | Closing stock valued at | Methods and limits |
|---|---|---|
| Uganda | The lower of cost or market value | FIFO or average cost; absorption cost, or prime cost on a cash basis; a method is changed only with the Commissioner's written permission |
| Kenya | The lower of cost or net realisable value | No method set out in the summary |
| Tanzania | The lower of cost and market value | Cost as under accepted accounting principles |
| Rwanda | Cost; damaged stock at the lower of cost or market price | Valued on the last day of the tax period |
| Nigeria | As in the accounts; no special tax rule | FIFO is usual; average and standard cost allowed; LIFO not permitted |
| Ghana | The lower of cost or market value | FIFO or average cost; absorption cost required |
| Zambia | As IFRS sets it | The IFRS cost formulas, which exclude LIFO |
| South Africa | The lower of cost or net realisable value | LIFO not accepted; write-downs of slow or obsolete stock must be justified, never a flat percentage |
Two patterns hold across the table. No country here lets you value good stock below cost, and none that names LIFO accepts it. The accounting side of that choice is in FIFO vs LIFO.
If you pay tax on turnover, stock doesn't change your bill
Small businesses in five of these countries can pay tax on sales, or no income tax at all, instead of tax on profit. For them, closing stock, write-downs and write-offs make no difference to the tax.
| Country | Regime | Who it covers |
|---|---|---|
| Kenya | Turnover Tax: 1.5% of gross sales, a final tax with no expenses deducted | Resident people and companies with turnover above KES 1,000,000 and up to KES 25,000,000 a year |
| Uganda | Presumptive tax, set by turnover band | Resident businesses with turnover up to UGX 150 million, unless they apply to be taxed on profit |
| Tanzania | Presumptive tax | Individuals with turnover up to TZS 200 million a year |
| Nigeria | Companies income tax at 0% | Small companies: turnover up to NGN 100 million and fixed assets up to NGN 250 million |
| South Africa | Turnover tax at 0% to 3%, if the business elects it | Turnover under ZAR 1 million, raised to ZAR 2.3 million from 1 March 2026 |
For example, a phone accessories shop in Kisumu sells KES 12,000,000 a year and pays Turnover Tax. Its tax is 1.5% × 12,000,000 = KES 180,000, about KES 15,000 a month, whatever its closing stock.
The write-down below saves the Nairobi company KES 72,000 and saves the Kisumu shop nothing. Stock still matters to the Kisumu owner: it is the only way to know the real profit.
A business near a threshold should know which regime it is in. In Uganda, a resident company under UGX 150 million can apply to the Commissioner to be taxed at 30% on profit instead. Stock then moves its tax again.
Legal ways inventory lowers your tax
Inventory lowers a tax on profit in one honest way: by recording, on time, value that is really gone. Each step below does that, with the evidence a tax officer will ask for.
Write down stock that will sell for less than it cost
For example, the Nairobi company holds 40 phones of last year's model that cost KES 15,000 each. They now sell for KES 9,500, less KES 500 to deliver, so each is worth KES 9,000.
Writing them down by 40 × KES 6,000 = KES 240,000 cuts closing stock to KES 10,760,000. Taxable profit falls to KES 11,760,000 and tax to KES 3,528,000, KES 72,000 less this year.
Kenya values stock for tax at the lower of cost or net realisable value, so the cut counts. The saving is timing: when the phones sell at KES 9,000 after delivery, there is no further loss to deduct.
That cut is an inventory write-down. Stock is cut from its cost to its net realisable value: what it will sell for, less the costs to sell it.
Write off what is gone, with a record for each loss
Stock that is broken, expired or stolen leaves closing stock, and its cost lands in cost of goods sold. In an inventory write-off, stock that is gone or worth nothing comes off the books at its full cost.
Record each loss when it happens: the date, the goods, the quantity and why. A pile of losses dated 30 June with no notes is the pattern that draws questions.
Test write-downs line by line, not by a flat percentage
South Africa refuses "a general policy on a percentage basis" for slow or obsolete stock; each write-down must be justified. A blanket percentage of that kind is a misused inventory reserve. IAS 2 and SARS both want the write-down shown item by item or for groups of similar items (BDO South Africa on section 22(1)(a)).
An inventory reserve is an allowance account that holds the write-downs on stock still held, so the inventory account keeps showing cost. Its amount is still built line by line, or group by group.
A line that hasn't sold in 90 days, with a lower price you can show, is a write-down you can defend.
Clear dead stock before the year end
Selling slow stock below cost turns a paper loss into a real one, with a receipt to prove the price. The loss reduces this year's profit, and the cash comes back to the business.
When and how to sell off stock at a loss is in inventory liquidation.
Count only what is yours
Goods a supplier leaves on consignment, and goods customers have paid for and not collected, are not your stock. Counting them overstates closing stock and the tax with it, as is inventory an asset explains.
Where planning turns into evasion
Hiding stock from the count, valuing good stock below cost or moving the count date all understate closing stock. That is evasion.
It does not even save tax for long. Next year's opening stock is short by the same amount, so the profit returns next year, plus penalties if it is found.
Records that back your stock figure in ArmPOS
ArmPOS keeps the stock records your accountant needs at the year end. It does not file returns or work out your income tax: your accountant applies your country's rules to these figures.
- Dated count sheets. Products › Count Stock makes a sheet per warehouse for the date you choose. Adjustment › Create Adjustment corrects the stock, with a Note for each change (Count and adjust stock).
- A list of every loss. Damages › Create Damage takes broken or expired goods out and keeps the date, warehouse, products and note (Record damaged stock).
- The value at cost. Run Reports › Inventory Valuation on the last day of the year, after the count. Print it or save it as a PDF for your accountant.
- The lines to test for a write-down. The Stock Aging Report sorts stock by how long ago it came in. The Dead Stock Report lists lines with no movement in 30, 60 or 90 days.
- The value in your books. If you use Accounting, post write-downs and losses as journal entries, because damages and adjustments book nothing there (Chart of accounts and journal entries).
Accounting › Tax Summary Report adds up the tax charged on your sales and paid on your purchases, for the period you pick (Financial statements). ArmPOS keeps these records the same way for shops in Kenya and Uganda.
Frequently asked questions
Is unsold inventory taxed?
Not as stock. Its cost is simply not deducted yet. On a tax on profit, unsold stock sits in closing stock until it is sold, written down or lost.
Can I deduct all the stock I bought this year?
Only the part you sold or lost. The rest is closing stock, and it is deducted in the year it leaves.
Can I claim stolen stock against tax?
On a tax on profit, stolen stock drops out of closing stock, so its cost is deducted through cost of goods sold. Record the theft with a date and a note, and keep any police report.
Does the inventory valuation method change my tax?
Yes, when prices move. FIFO shows a higher profit while prices rise, and the countries above that name LIFO refuse it. In Uganda, a change of method needs the Commissioner's written permission.
Does inventory matter under Kenya's Turnover Tax?
Not for the tax, which is 1.5% of gross sales with no deductions. It still matters for knowing your real profit and for the day you outgrow the regime.
Before your year end, set the count date, list the lines to test for a write-down and record every damage with a note. To keep the count sheets, damages and stock value in one place, create a free ArmPOS account.