In this course · 6 of 6
Course 2
Set up your store's books
6 lessons · 6 min
- 1What Bookkeeping Records Must an Online Seller Keep in Malaysia?
- 2How Long Must an Online Seller Keep Business Records in Malaysia?
- 3Shopee or Lazada Payout Lower Than Sales: Which Is My Income for Tax?
- 4How to Record Shopee and Lazada Fees, Shipping and Ads in Your Books
- 5How to Record Refunds and Returns for an Online Store in Malaysia
- 6How to Calculate Cost of Goods Sold for an Online Shop in Malaysia

The short answer
Cost of goods sold equals opening stock plus purchases (including freight in) minus closing stock. Count stock at year end and value it at the lower of cost and net realisable value under Malaysian accounting standards. Keep a stock register and purchase invoices.
Records to keep
- Supplier invoices and proof of payment.
- A stock register by product showing quantity in, quantity out and balance.
- A year-end stock count sheet signed or dated by the person who counted.
- Records of damaged, expired or returned stock.
Cost of goods sold (COGS) Cost of goods sold = opening stock + purchases (including freight and duty) - closing stock
Purchases include the costs of bringing goods to your store, such as import freight and duty.
Valuation. Malaysian accounting standards (the Malaysian Private Entities Reporting Standard, MPERS, or the Malaysian Financial Reporting Standards, MFRS) used by private companies and small businesses measure inventory at the lower of cost and net realisable value. Methods such as first-in-first-out or weighted average are acceptable, but the same method should be used each year.
Why it matters. Stock bought but unsold is not an expense for that year, so counting it correctly avoids overstating costs and understating profit. Platform sales data helps cross-check quantities sold against stock movements.
Dropshippers and print-on-demand sellers hold no stock, so COGS is the supplier's charge for each order.
If the business is a company, the audited or management accounts follow the approved accounting standards.
Legal basis and sources
The law
- Income Tax Act 1967, s.82 and s.33(1)
- Approved accounting standards (MPERS or MFRS)
General information for business owners, not legal, tax or professional advice. Rules change, so check the sources or ask a licensed professional before you act.
Was this lesson useful?
Upvote it and it moves up for the next reader who asks.


