Inventory Accounting for E-Commerce Businesses
How e-commerce inventory accounting works, why cost of goods sold drives your real profit, the costing methods Canada accepts, how to value stock at year end, and how FBA, multiple channels and dropshipping change the picture. Written by a licensed Canadian CPA who works with online sellers.
Inventory accounting for an e-commerce business tracks the cost of the products you buy to resell, recording them as an asset when purchased and deducting their cost only when they are sold, as cost of goods sold. Your profit is revenue minus cost of goods sold, so accurate inventory is what makes your profit and your tax correct. Canada accepts FIFO and weighted average costing, but not LIFO, and closing stock is valued at the lower of cost and net realisable value. Getting inventory right is the foundation of accurate e-commerce books.
How Inventory Accounting Works
The core idea is that inventory is an asset, not an immediate expense. When you buy stock to resell, its cost sits on your books as inventory until the moment it sells. Only then does that cost move to cost of goods sold and become a deduction against the sale it relates to. This matching, cost recognised in the same period as the sale, is what makes your gross profit meaningful. Deducting stock when you pay for it, rather than when it sells, is the single most common e-commerce bookkeeping error and it distorts both profit and tax.
Cost of goods sold is calculated as opening inventory plus purchases during the period minus closing inventory. Because closing inventory feeds directly into that formula, an error in your stock value flows straight into your profit and your tax. This is why inventory is the centre of gravity in e-commerce books. This page supports our full e-commerce accounting and tax service and the day-to-day bookkeeping that keeps your numbers accurate.
Inventory Costing Methods Canada Accepts
The costing method decides which cost lands in cost of goods sold and which stays in closing inventory. Canada accepts FIFO and weighted average, but not LIFO. The method should be chosen and then applied consistently.
| Method | How It Works | Canadian Tax |
|---|---|---|
| FIFO (first-in, first-out) | Oldest stock is treated as sold first | Accepted |
| Weighted average cost | Each unit carries the blended average cost | Accepted |
| LIFO (last-in, first-out) | Newest stock treated as sold first | Not permitted |
| Specific identification | Each individual item tracked at its own cost | Accepted, suits high-value items |
| Lower of cost / NRV | Applied at year end to write down weak stock | Required valuation rule |
No single method is right for everyone. FIFO suits most e-commerce sellers, weighted average suits sellers buying the same product at changing costs, and specific identification suits low-volume high-value goods. What matters is picking an accepted method and applying it consistently year over year.
Getting Cost of Goods Sold Right
Accurate cost of goods sold comes down to a few disciplines applied consistently. The process generally involves the following:
- Capitalise the full cost of stock. Record not just the purchase price but freight, duty and other costs to bring the goods to a saleable state, all into inventory, not straight to expense.
- Recognise cost as goods sell. Move each item's cost from inventory to cost of goods sold when it sells, using your chosen costing method, so cost matches the sale.
- Reconcile to platform reports. Match your inventory records to Amazon, Shopify and warehouse reports regularly, so shrinkage, miscounts and errors are caught early.
- Value and write down at year end. Count or system-report stock on hand, value it at the lower of cost and net realisable value, and write down damaged or obsolete goods.
The timing point: Inventory only becomes a deduction when it sells. Unsold stock at year end, including units sitting in an FBA or third-party warehouse, is an asset on your balance sheet, not an expense. Treating a warehouse full of stock as a current cost overstates expenses and misstates your tax.
FBA, Multiple Channels and Dropshipping
Where and how you hold stock changes the mechanics. Inventory sitting in an Amazon FBA centre or a third-party warehouse is still your asset until it sells, so it must be tracked and valued even though you never physically touch it, and reconciled to the platform's records. If you sell across Amazon, Shopify and other channels, every channel draws from the same inventory and must roll up into one set of books, with each channel's sales and fees recorded but cost of goods sold measured for the business as a whole. Dropshipping is different again, you generally hold no stock, so there is little inventory asset and cost of goods is recognised as each order is fulfilled by the supplier. We handle each model through our Amazon FBA and Shopify seller service.
Accrual Accounting and HST on Inventory
A business that carries inventory is normally required to use accrual accounting, not cash accounting, because accrual matches cost of goods sold to the sales they relate to and gives a true picture of profit for a stock-holding business. Cash accounting, recording money in and out, cannot properly reflect inventory and is not appropriate here. Alongside this, the HST you pay on inventory purchases is generally recoverable as an input tax credit if you are registered, and that runs separately from the inventory cost itself, the cost goes to inventory, the HST goes to your ITCs. We keep both the inventory accounting and the HST tracking correct through our bookkeeping and corporate tax services.
A Simple Worked Example
Consider an e-commerce seller who starts the year with $20,000 of stock, buys $80,000 more, and has $30,000 of stock left at year end:
| Step | Amount |
|---|---|
| Opening inventory | $20,000 |
| Plus purchases | $80,000 |
| Less closing inventory | $30,000 |
Cost of goods sold is $20,000 plus $80,000 minus $30,000, which equals $70,000. That $70,000, not the $80,000 you spent on purchases, is what reduces this year's profit, because the $30,000 of unsold stock stays on the balance sheet as an asset. If you had wrongly expensed the full $80,000 of purchases, you would understate profit by $10,000 and misstate your tax. This is the heart of why inventory accounting matters.
Where e-commerce sellers get inventory wrong: Deducting stock when purchased instead of when sold, leaving freight and duty out of inventory cost, never reconciling to Amazon and Shopify reports, using cash accounting for a stock-holding business, and failing to write down damaged or obsolete inventory. Each one distorts profit and the tax that follows.
Case Study: Scaling Amazon and Shopify Seller
A multi-channel seller had been expensing inventory when purchased and using cash-based books, so their profit swung wildly month to month and their tax figure was unreliable. We moved them to accrual accounting, set up proper inventory with a weighted average cost method, integrated their Amazon and Shopify data, capitalised freight and duty into stock cost, and reconciled inventory to platform reports. Their true gross margin became visible by channel, the year-end stock was correctly valued, and the tax filing was based on accurate cost of goods sold. The figures here are illustrative of the work we do, not a specific client file.
Is Your E-Commerce Inventory Accounted for Correctly?
We set up your inventory and cost of goods sold properly and keep them accurate. From $400. AFFORDABLE flat fees. All fees include HST.
Book Free ConsultationFrequently Asked Questions: Inventory Accounting for E-Commerce
What Our Clients Say
1300+ five-star reviews from business owners across Ontario and Canada.
Get Your E-Commerce Inventory Accounted for Right. From $400.
We set up your inventory and cost of goods sold correctly, choose the right costing method, integrate your Amazon and Shopify data, reconcile your stock, and prepare accurate financials and tax filings. AFFORDABLE flat fees. All fees include HST.
