Buying $2,000 of stock does not make you $2,000 poorer on the income statement — it makes you $2,000 richer in inventory. Cost of goods sold only appears the moment that stock actually sells. Confuse the timing of that one step, using the four-step recording framework as your check, and your margin, your tax bill and your reorder decisions are all working off the wrong number.
Key takeaways
- Buying inventory — for cash or on credit — is never an expense at the time of purchase. It increases the Inventory asset account.
- Cost of goods sold (COGS) is recognized only when the item sells, under the perpetual inventory method used throughout this article.
- Freight-in (shipping to bring goods to you) is added to inventory cost; freight-out (shipping to your customer) is a selling expense.
- A purchase return reverses the original purchase — it reduces Inventory and Accounts Payable, never revenue.
- Damaged or lost stock is written off as a loss the moment it's discovered, not left sitting in inventory at full value.
Buying inventory: cash and credit
A purchase, on its own, just swaps one asset for another (cash for stock) or trades an asset increase for a liability (stock for a debt to the supplier). Nothing has been sold yet, so nothing is an expense. The vendor invoice or delivery note is the source document that supports both entries below.
| Account | Debit | Credit |
|---|---|---|
| Inventory | 1,800 | |
| Cash | 1,800 |
Buying on credit looks almost identical — only the credit side changes, from Cash to a liability:
| Account | Debit | Credit |
|---|---|---|
| Inventory | 2,400 | |
| Accounts payable | 2,400 |
Buying inventory on credit debits Inventory and credits Accounts Payable for the purchase cost — it is not an expense until the goods are sold, at which point a separate entry moves the cost into Cost of Goods Sold.
When the bill is eventually paid, a third entry — separate from the purchase itself — clears the payable:
| Account | Debit | Credit |
|---|---|---|
| Accounts payable | 2,400 | |
| Cash | 2,400 |
This is exactly the mirror image of a sale on account: the obligation is recorded once, at delivery, and settled once, at payment — see the sales side of this same pattern.
Freight: same word, two different treatments
Shipping charges are one of the most commonly misplaced costs in a small business's books, because the same word — "freight" — means opposite things depending on which direction the goods are moving.
| Charge | Treatment | Why |
|---|---|---|
| Freight-in (bringing purchased stock to you) | Added to Inventory cost | It's part of the cost of getting goods ready to sell |
| Freight-out (shipping to a customer after a sale) | Selling expense | It's a cost of doing business, not a cost of the goods themselves |
| Account | Debit | Credit |
|---|---|---|
| Inventory | 60 | |
| Cash | 60 |
Compare that to shipping a completed sale to a customer:
| Account | Debit | Credit |
|---|---|---|
| Delivery expense | 25 | |
| Cash | 25 |
Adding freight-out to inventory instead of expensing it doesn't lower COGS the way it seems to — it just defers the cost into a later period's inventory figure, overstating this month's profit and making stock look more valuable than it is, until that inventory finally sells and drags the later period's margin down instead. Freight-in has the opposite failure mode: expensing it immediately instead of adding it to inventory cost overstates this period's expenses now, but understates inventory value and COGS on every unit still on the shelf — making margin look artificially healthy later, once that stock is sold.
Recording COGS at the point of sale
Under the perpetual inventory method, every sale triggers two entries at once: the revenue side, and a COGS side that removes the item's cost from Inventory.
| Account | Debit | Credit |
|---|---|---|
| Cash | 1,000 | |
| Sales revenue | 1,000 | |
| Cost of goods sold | 600 | |
| Inventory | 600 | |
| Both entries happen together, at the same moment — one records what the customer paid, the other records what the goods cost you. |
Under the alternative periodic method, COGS isn't tracked sale by sale — it's calculated once, typically at month-end, using a physical count:
COGS = Opening inventory + Purchases − Closing inventory
The periodic COGS formula
Most point-of-sale and inventory software, Reyuko included, defaults to perpetual tracking because it gives you a live, accurate inventory and margin figure without waiting for month-end — see how to calculate cost of goods sold for the full comparison of both methods.
Purchase returns to a supplier
Sending stock back reverses the original purchase entry, for exactly the quantity returned — it is never recorded as income.
| Account | Debit | Credit |
|---|---|---|
| Accounts payable | 300 | |
| Inventory | 300 |
If the bill had already been paid in cash, the same logic applies but the debit hits Cash instead, since the supplier owes a refund rather than a credit against an open balance:
| Case | Debit | Credit |
|---|---|---|
| Return, bill unpaid | Accounts Payable | Inventory |
| Return, bill already paid | Cash | Inventory |
Damaged or lost stock
Stock that's damaged, spoiled or goes missing has to come off the books the moment it's discovered — leaving it valued at full cost overstates both your assets and your reported profit.
| Account | Debit | Credit |
|---|---|---|
| Inventory loss expense | 80 | |
| Inventory | 80 |
This is a genuine loss, recognized in the period it's discovered — it isn't COGS, because the item was never sold; it's a separate write-off expense.
Putting it together: one supplier relationship, four entries
A single vendor relationship over one month can involve all four of these cases at once. Here's how they stack for Northside Hardware and one supplier:
| Date | Event | Debit | Credit |
|---|---|---|---|
| 6 Mar | Buy $2,400 stock on credit | Inventory 2,400 | Accounts payable 2,400 |
| 8 Mar | $60 freight-in on that delivery | Inventory 60 | Cash 60 |
| 15 Mar | Return $300 of it | Accounts payable 300 | Inventory 300 |
| 5 Apr | Pay the remaining balance | Accounts payable 2,100 | Cash 2,100 |
Inventory from this one purchase nets to $2,160 ($2,400 + $60 − $300), and Accounts Payable is fully cleared — nothing is left outstanding, and nothing was ever recorded as an expense until the stock is actually sold. How heavily a business relies on this pattern varies a lot by trade — see which transactions dominate each type of business for how retail, wholesale and manufacturing differ. If any account name here is unfamiliar, the glossary of everyday transaction terms covers it in one page.
Reyuko's Purchase flow — Purchase Order → Purchase Delivery → Purchase Bill — posts exactly this pattern automatically: Purchase Delivery debits Inventory and credits a clearing account for goods physically received, and Purchase Bill clears that account to Accounts Payable once the vendor's bill arrives. Purchase Return reverses a Purchase Bill's postings, with partial returns supported.
On the sale side, Reyuko calculates the Cost of Goods Sold entry for you at the moment of sale, using whichever costing method you've set for that product — Average, FIFO, or LIFO — tracked at the batch level so the Inventory account and your margin stay accurate without manual recalculation. The full purchase cycle and all three costing methods are included in Reyuko's free edition.
Quick self-check
Classify each of these as: increases Inventory only, records COGS, or is a write-off/return.
- Buying $500 of stock on 15-day credit terms.
- Selling a $200 item that cost $130.
- A customer return where the item goes back on the shelf undamaged.
- Finding three units of spoiled stock worth $45 during a count.
Show answers
- Increases Inventory only — debit Inventory $500, credit Accounts Payable $500. No expense yet.
- Records COGS — alongside the sales entry, debit Cost of Goods Sold $130, credit Inventory $130.
- A form of return — debit Inventory $130 (its cost) and credit Cost of Goods Sold $130 to reverse the earlier COGS entry, since the item is sellable again.
- Write-off — debit Inventory Loss Expense $45, credit Inventory $45.
Reyuko