Book Consultation

Gondaliya CPA

E-Commerce Accounting Guide · Canada · Licensed CPA

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.

MethodHow It WorksCanadian Tax
FIFO (first-in, first-out)Oldest stock is treated as sold firstAccepted
Weighted average costEach unit carries the blended average costAccepted
LIFO (last-in, first-out)Newest stock treated as sold firstNot permitted
Specific identificationEach individual item tracked at its own costAccepted, suits high-value items
Lower of cost / NRVApplied at year end to write down weak stockRequired 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:

  1. 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.
  2. 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.
  3. Reconcile to platform reports. Match your inventory records to Amazon, Shopify and warehouse reports regularly, so shrinkage, miscounts and errors are caught early.
  4. 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:

StepAmount
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.

Accrual and inventory set up. True margin by channel visible.

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 Consultation

Frequently Asked Questions: Inventory Accounting for E-Commerce

What is inventory accounting for an e-commerce business?
Inventory accounting is how you track the cost of the products you buy to resell, from purchase through to sale. It records what your stock costs, what remains on hand, and what was sold as cost of goods sold. For an e-commerce business, it is the difference between knowing your real profit and guessing at it.
Why does inventory accounting matter for e-commerce?
Because inventory is usually your largest cost and it directly drives your taxable profit. If your inventory and cost of goods sold are wrong, your profit is wrong, your tax is wrong, and your decisions are based on bad numbers. Getting it right is the foundation of accurate e-commerce books.
What is cost of goods sold?
Cost of goods sold, or COGS, is the cost of the products you actually sold in a period. It is calculated as opening inventory plus purchases minus closing inventory. COGS is deducted from revenue to arrive at gross profit, so it is one of the most important figures on an e-commerce income statement.
How is inventory different from an expense?
Inventory is not expensed when you buy it, it is recorded as an asset until it sells. Only when a product is sold does its cost move from inventory to cost of goods sold and become a deduction. This timing is what many e-commerce sellers get wrong, deducting stock when purchased rather than when sold.
When can I deduct the cost of my inventory?
You deduct the cost of inventory when it is sold, not when it is purchased. Unsold stock sitting in a warehouse or fulfilment centre at year end is an asset, not a current deduction. This matching of cost to the sale is a core rule of inventory accounting and of the tax treatment.
What inventory costing methods can I use?
The common methods are FIFO (first-in, first-out) and weighted average cost. FIFO assumes the oldest stock sells first; weighted average blends the cost of all units. Canada does not permit LIFO for tax. The method affects your COGS and closing inventory value, so it should be chosen and applied consistently.
What is FIFO?
FIFO, first-in first-out, assumes the first units you bought are the first ones sold. Your cost of goods sold reflects older costs and your closing inventory reflects the most recent costs. FIFO is widely used in e-commerce and is accepted for Canadian tax purposes.
What is weighted average cost?
Weighted average cost pools the total cost of your units and divides by the number of units, so each item carries the same average cost. It smooths out price fluctuations across purchases and is common where you buy the same product at different costs over time. It is accepted for Canadian tax.
Can I use LIFO for inventory in Canada?
No. LIFO, last-in first-out, is not permitted for Canadian tax purposes. Canadian businesses generally use FIFO or weighted average cost. Using a method that is not allowed can lead to a reassessment, so the method must be one the CRA accepts.
How do I value my inventory at year end?
Closing inventory is generally valued at the lower of cost and net realisable value. You count or system-report the units on hand, apply your costing method to determine their cost, and write down any stock worth less than cost. That closing value directly affects your cost of goods sold and profit.
What is the lower of cost and net realisable value rule?
It means inventory is carried at its cost, unless the amount you could sell it for, less selling costs, is lower, in which case you write it down to that lower figure. This prevents overstating the value of slow-moving or obsolete stock and gives a truer profit.
How do FBA and third-party warehouses affect inventory accounting?
Stock held at an Amazon FBA centre or a third-party warehouse is still your inventory and your asset until it sells, even though you do not physically hold it. It must be tracked and valued the same way, and reconciled to the platform's records. Distributed stock makes accurate tracking more important, not less.
How does inventory accounting work across multiple sales channels?
If you sell on Amazon, Shopify and elsewhere, all channels draw from your inventory and must roll up into one set of books. Each channel's sales and fees are recorded, but the inventory and cost of goods sold are tracked for the business as a whole, so profit is measured correctly across channels.
What records do I need for inventory?
Purchase invoices, freight and duty costs, supplier records, a running record of units in and out, closing counts, and your platform inventory reports. These support your cost of goods sold and closing inventory figures, and the CRA can ask you to substantiate both.
Are shipping and duty part of inventory cost?
Generally yes. The cost of inventory includes not just the purchase price but the freight, duty and other costs to bring the stock to a saleable condition and location. Leaving these out understates your inventory cost and distorts your gross margin. They should be capitalised into inventory, then expensed as the goods sell.
How does inventory affect my taxable income?
Directly. Your cost of goods sold reduces taxable income, and COGS depends on your opening inventory, purchases and closing inventory. If closing inventory is overstated, COGS is too low and tax is too high; if understated, the reverse. Accurate inventory is essential to an accurate tax figure.
What happens if my inventory count is wrong?
An incorrect count flows straight into your profit. Overstated closing inventory understates your expenses and overstates profit and tax; understated inventory does the opposite and can invite CRA scrutiny. A reliable count or system figure at period end is critical to correct books and tax.
How do I handle damaged or obsolete stock?
Stock that is damaged, expired or obsolete should be written down to its net realisable value, or written off if it has none. This recognises the real loss and reduces overstated inventory. The write-down should be supported by records, not just an estimate, so it stands up if reviewed.
Do I need perpetual or periodic inventory?
A perpetual system updates inventory continuously as sales occur, which suits e-commerce volume and integrates with platforms. A periodic system relies on counts at intervals. Most growing e-commerce businesses benefit from a perpetual system, reconciled to periodic counts, for accuracy and visibility.
How often should I reconcile my inventory?
Regularly, monthly is common for active sellers, and always at year end. Reconciling your system inventory to actual counts and to platform reports catches errors, theft, shrinkage and miscounts before they distort your financials. Frequent reconciliation is what keeps the numbers trustworthy.
What is inventory shrinkage?
Shrinkage is the loss of inventory from theft, damage, miscounting or supplier shortfalls, the gap between what your records say you should have and what you actually have. It has to be recorded so your inventory and cost of goods sold reflect reality. Regular counts reveal it.
Can accounting software track my inventory?
Yes. Cloud accounting and inventory tools can track units, cost and cost of goods sold and integrate with Amazon and Shopify, automating much of the work. The software still needs correct setup, accurate cost inputs and regular reconciliation to be reliable. We set these systems up and keep them accurate.
How does inventory accounting differ for dropshipping?
In dropshipping you generally do not hold stock, so there is little or no inventory asset, your cost of goods is recognised as each order is fulfilled by the supplier. The accounting is simpler on inventory but still needs accurate COGS matching per sale. It differs from a stock-holding FBA model.
Should my e-commerce business be on accrual accounting?
Generally yes. Inventory-based businesses are normally required to use accrual accounting, which matches cost of goods sold to the sales they relate to, rather than cash accounting. Accrual gives a true picture of profit for a business that carries stock, and is expected for tax.
How does inventory tie into my GST/HST?
The HST you pay on inventory purchases is generally recoverable as an input tax credit if you are registered, separate from the inventory cost itself. So inventory accounting and HST tracking work alongside each other, the cost goes to inventory, the HST goes to your ITCs. We keep both correct.
What inventory mistakes do e-commerce sellers make?
Deducting stock when bought instead of when sold, ignoring freight and duty in cost, never reconciling to platform reports, using cash accounting for a stock business, and not writing down dead stock. Each distorts profit and tax. Clean inventory accounting prevents all of them.
How does good inventory accounting help me grow?
It tells you your true margin by product and channel, what is selling, what is tying up cash, and what to reorder or discontinue. Accurate inventory turns your books into a decision tool, not just a compliance record. That visibility is what lets you scale profitably.
Can Gondaliya CPA handle my e-commerce inventory accounting?
Yes. We set up your inventory and cost of goods sold correctly, choose and apply the right costing method, integrate your Amazon and Shopify data, reconcile your stock, and prepare accurate financials and tax filings. Fees are an AFFORDABLE flat amount including HST, paid by Interac e-Transfer to info@gondaliyacpa.ca, auto-deposit enabled, security question Not Applicable.
How much does it cost?
From $400, depending on scope, sales volume and the number of channels and SKUs involved. We quote an exact flat fee before starting, and all fees include HST. There is no hourly billing, so the number you are quoted is the number you pay.
How do I get started?
Please book a free consultation and tell us your platforms, roughly how many products you carry, and how your books are kept now. We review your inventory setup, quote a flat fee, and get your cost of goods sold and financials accurate. Book Free Consultation →

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.

Scroll to Top