Module 06 · Everyday Bookkeeping Examples

How to Record Purchases, Inventory and Cost of Goods Sold

Is buying inventory an expense? No. Stock goes to the Inventory asset when bought and becomes cost of goods sold only when sold, with entries for each case.

6 min readLesson 3 of 13 in this moduleUpdated 2026-08-25

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.

2 March — Northside Hardware buys $1,800 of stock, pays cash
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:

6 March — Northside Hardware buys $2,400 of stock on 30-day terms
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:

5 April — Northside Hardware pays the $2,400 supplier bill
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
8 March — $60 freight charge to deliver a stock purchase
Account Debit Credit
Inventory 60
Cash 60

Compare that to shipping a completed sale to a customer:

12 March — $25 courier fee to ship a customer's order
Account Debit Credit
Delivery expense 25
Cash 25
Freight errors run in opposite directions

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.

A $1,000 sale of goods that cost $600
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.

15 March — Northside Hardware returns $300 of defective stock, not yet paid
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.

20 March — $80 of stock found damaged during a stock check
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.

Doing this in Reyuko

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.

  1. Buying $500 of stock on 15-day credit terms.
  2. Selling a $200 item that cost $130.
  3. A customer return where the item goes back on the shelf undamaged.
  4. Finding three units of spoiled stock worth $45 during a count.
Show answers
  1. Increases Inventory only — debit Inventory $500, credit Accounts Payable $500. No expense yet.
  2. Records COGS — alongside the sales entry, debit Cost of Goods Sold $130, credit Inventory $130.
  3. 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.
  4. Write-off — debit Inventory Loss Expense $45, credit Inventory $45.

Frequently asked questions

Is buying inventory an expense?

No. Buying stock is not an expense when you buy it. It increases the Inventory asset, whether you pay cash or buy on credit, because nothing has been sold yet. The cost moves into Cost of goods sold only when the item sells. So a $1,800 cash purchase of stock lowers cash but does not reduce profit in that month.

Which event moves stock cost into Cost of goods sold?

When the item sells. Under the perpetual method, each sale records two entries together: the revenue side, and a cost side that removes the item cost from Inventory. For a $1,000 sale of goods that cost $600, debit Cash $1,000 and credit Sales revenue $1,000, and also debit Cost of goods sold $600 and credit Inventory $600.

What is the entry for buying stock on credit?

Debit Inventory and credit Accounts payable for the purchase cost. Nothing is an expense at this point. For example, $2,400 of stock bought on 30-day terms: debit Inventory $2,400 and credit Accounts payable $2,400. When the supplier is paid, a separate entry debits Accounts payable and credits Cash, which clears the liability without touching profit.

How is a purchase return recorded?

It reverses the original purchase for exactly the quantity sent back, and it is never recorded as income. If the bill is still unpaid, debit Accounts payable and credit Inventory for the returned cost. For example, $300 of defective stock returned before payment: debit Accounts payable $300 and credit Inventory $300. If the bill was already paid, the debit goes to Cash instead.

What entry records spoiled stock found during a count?

Write it off the moment it is discovered, not at the end of the period. Debit Inventory loss expense and credit Inventory for the cost of the damaged units. For example, $80 of spoiled stock found during a count: debit Inventory loss expense $80 and credit Inventory $80. It is not Cost of goods sold, because the item was never sold.

Does Reyuko track inventory perpetually by default?

Yes. Reyuko defaults to perpetual tracking, so the cost leaves Inventory as each sale happens and the stock and margin figures stay current between counts. The cost of goods sold entry is recorded at the moment of each sale, not at month-end.

Let COGS calculate itself

Reyuko tracks every purchase batch and recognizes cost of goods sold automatically at the moment of each sale, using Average, FIFO or LIFO costing.

Download Reyuko freeSee what's included