Skip to content
Blogs

Journal entry for inventory

· October 3, 2026 · Updated November 5, 2026

How do you record inventory?

To record inventory purchases under a perpetual system, debit Inventory Asset and credit Accounts Payable or Cash. On each sale, debit Cash or Accounts Receivable and credit Sales, then record a second entry debiting Cost of Goods Sold and crediting Inventory. A $5,000 inventory purchase increases assets immediately, moving to cost of goods sold only when units ship.

A journal entry for inventory puts the purchase on the balance sheet, not the profit and loss. An online store buys 50 units at $100 each in October. If that $5,000 goes straight to expense, October shows a loss, November shows a windfall when the units sell, and neither month is true. The stock was still on the shelf at the end of October. It was an asset.

Inventory stays on the balance sheet until it sells, and only then does its cost move to the profit and loss as cost of goods sold. Below are the entries for buying, selling, and counting stock under perpetual and periodic systems, opening inventory, shrinkage, the small-business tax rules, and how to do all of it in QuickBooks Online without the item list and the ledger drifting apart.

Download the inventory and COGS calculator

Excel model comparing periodic and perpetual inventory schedules, calculating Cost of Goods Sold and tracking FIFO cost layers.

Download Excel (.xlsx)

Perpetual vs periodic inventory systems

The entries depend on which system the books run:

  1. Perpetual system: every purchase and every sale updates the inventory balance as it happens. Buying stock raises the asset; shipping an order records cost of goods sold and lowers it. QuickBooks Online Plus and Advanced work this way once inventory tracking is turned on.
  2. Periodic system: purchases collect in a Purchases account during the period. A physical count at period end (monthly, quarterly, or annually) measures the stock left, and cost of goods sold is worked out by formula.

The 3 standard perpetual inventory journal entries

Under a perpetual system, every purchase raises the asset and every sale needs two entries: one for the revenue and one that moves the cost of the units sold out of inventory.

1. Buying inventory on account

On October 5, 2026, you purchase 50 units of merchandise at $100.00 per unit ($5,000.00 total) from a vendor on net-30 terms.

Date Account Account type Debit Credit
Oct 5 Inventory Asset Other Current Assets 5,000.00
Oct 5 Accounts Payable Current Liability 5,000.00

This entry increases your current assets by $5,000.00 and records the obligation to pay the supplier in Accounts Payable. Zero expense hits the profit and loss statement on October 5.

If you pay the vendor immediately using a company debit card or bank transfer, credit Cash or Checking instead of Accounts Payable.

2. Selling inventory (The dual-entry requirement)

On October 12, 2026, you sell 35 of those units to a retail customer for $200.00 per unit, generating $7,000.00 in revenue. The customer pays on account.

Recording a perpetual inventory sale requires two coordinated entries:

Part A: The revenue entry (Retail price)

Date Account Account type Debit Credit
Oct 12 Accounts Receivable Accounts Receivable 7,000.00
Oct 12 Sales Income Income 7,000.00

Part B: The cost of goods sold entry (Wholesale cost)

Because 35 units were delivered, their wholesale cost (35 units × $100.00 cost = $3,500.00) must now be removed from the balance sheet and recognized as cost of goods sold.

Date Account Account type Debit Credit
Oct 12 Cost of Goods Sold Cost of Goods Sold 3,500.00
Oct 12 Inventory Asset Other Current Assets 3,500.00

Together, these two entries reflect economic reality: your business earned $7,000.00 in revenue, recognized $3,500.00 in direct product costs, and generated $3,500.00 in gross margin. That is a 50% margin on the sale and a 100% markup on cost, which the markup calculator converts either way. The remaining 15 units stay on the balance sheet inside Inventory Asset at $1,500.00.

3. Entering beginning inventory

When setting up a brand-new bookkeeping file or converting historical records on your start date, you must record the wholesale cost of unsold stock currently sitting on shelves.

On January 1, 2026, an initial physical audit establishes that your warehouse holds $10,000.00 in retail stock at cost.

Date Account Account type Debit Credit
Jan 1 Inventory Asset Other Current Assets 10,000.00
Jan 1 Opening Balance Equity Equity 10,000.00

In QuickBooks Online with inventory tracking on, skip this journal entry. Enter each item’s Initial quantity on hand and its As of date when you create the item, and QuickBooks posts the starting value to Inventory Asset itself, with the other side in Opening Balance Equity. Move that Opening Balance Equity amount to the right equity account once all opening balances are in, as the next paragraph explains for an established business. A journal entry here would raise the balance sheet without giving any item a quantity. Intuit’s inventory products article (updated August 5, 2026) says to count first, because QuickBooks ignores sales and purchases dated before the As of date, and to enter zero for a brand-new product from a vendor so the first bill does not double it.

In an established business, opening inventory should already be on the prior balance sheet. If it is missing because past purchases were expensed in years already closed, adding it is a prior-period correction: credit Retained Earnings rather than Opening Balance Equity, and flag it to your CPA, because the tax return may need a change in accounting method with a §481(a) adjustment.

How periodic inventory calculates Cost of Goods Sold

Businesses that do not track stock continuously record merchandise purchases in a temporary account named Purchases (or Merchandise Purchases). The October 5 purchase from above looks like this under a periodic system:

Date Account Account type Debit Credit
Oct 5 Purchases Cost of Goods Sold 5,000.00
Oct 5 Accounts Payable Current Liability 5,000.00

Sales get only the revenue entry. Nothing moves out of inventory until the count.

At month-end or year-end, the bookkeeper counts physical inventory and computes Cost of Goods Sold using the classic accounting formula:

Cost of Goods Sold = Beginning Inventory + Net Purchases − Ending Inventory

Suppose your business started the year with $10,000.00 in inventory, purchased $40,000.00 of merchandise during the period, and counted $12,000.00 of physical stock at year-end on December 31, 2026:

  • Beginning Inventory: $10,000.00
  • Add Net Purchases: $40,000.00
  • Goods Available for Sale: $50,000.00
  • Less Ending Inventory Count: $12,000.00
  • Cost of Goods Sold: $38,000.00

To close the temporary accounts and update the balance sheet, record this year-end adjusting journal entry:

Date Account Account type Debit Credit
Dec 31 Inventory Asset (Ending) Other Current Assets 12,000.00
Dec 31 Cost of Goods Sold Cost of Goods Sold 38,000.00
Dec 31 Inventory Asset (Starting) Other Current Assets 10,000.00
Dec 31 Purchases Cost of Goods Sold 40,000.00

This entry resets the asset account to match the true physical count of $12,000.00, closes the $40,000.00 Purchases account to zero, and reports $38,000.00 of Cost of Goods Sold on the annual income statement.

Recording inventory shrinkage, damage, and count variances

In any physical warehouse, the quantity on hand rarely matches book records indefinitely. Theft, breakage, spoiled goods, and unrecorded customer samples create variances known as inventory shrinkage.

If your perpetual records indicate $1,500.00 of stock (15 units @ $100.00), but a physical cycle count on October 31 reveals only 13 units ($1,300.00), you must write off the 2 missing units ($200.00).

Date Account Account type Debit Credit
Oct 31 Inventory Shrinkage Cost of Goods Sold 200.00
Oct 31 Inventory Asset Other Current Assets 200.00

In QuickBooks Online, do not write this adjustment as a manual journal entry. Select + Create > Inventory quantity adjustment, pick the specific product, enter the new counted quantity (13), and select your shrinkage account. QuickBooks automatically writes the entry while updating the underlying item sub-ledger. How to run the count behind that number, with blind counts, cutoff and a free count sheet, is in the year-end inventory count. Damaged and obsolete stock, and write-downs to net realizable value, are in journal entry for an inventory write-off.

IRS tax rules: IRC §471 and the §471(c) small business exception

The inventory rules apply to every entity type: C corporations (Form 1120), S corporations (Form 1120-S), partnerships (Form 1065), and sole proprietors (Schedule C, Form 1040).

Key statutory standards include:

  1. IRC §471(a) and Treas. Reg. §1.471-1 General Rule: Inventories must be used whenever the production, purchase, or sale of merchandise is an income-producing factor, using an accounting method that clearly reflects income.
  2. IRC §471(c) Small Business Exception: Under the Tax Cuts and Jobs Act (TCJA), businesses that satisfy the gross receipts test under IRC §448(c) (average annual gross receipts of $31 million or less for 2025 and $32 million for 2026, indexed annually for inflation) do not have to keep inventories under §471(a). The same test separately exempts them from the uniform capitalization rules under IRC §263A(i). Qualifying small taxpayers can account for inventory as non-incidental materials and supplies (NIMS) under Treas. Reg. §1.162-3, or conform to their applicable financial statement (AFS) or books and records.
  3. The Expensing Fallacy under §471(c): Many small business owners incorrectly assume that electing §471(c) allows them to deduct all wholesale inventory on the date purchased. Treas. Reg. §1.471-1(b)(4) treats inventory accounted for as non-incidental materials and supplies as used or consumed when it is sold to a customer, and the cost is deductible in the later of the year it is paid or the year it is sold. You cannot buy $100,000.00 of stock on December 29 to wipe out taxable profit if the goods remain in your warehouse.

Inventory valuation: FIFO vs average cost and the QuickBooks conversion trap

Inventory valuation determines how costs flow into Cost of Goods Sold when identical items are acquired at varying unit prices over time:

  • FIFO (First-In, First-Out): Assumes the oldest inventory items purchased are the first ones sold. In periods of rising prices, FIFO yields a lower Cost of Goods Sold and a higher ending inventory asset value.
  • Weighted Average Cost: Spreads the total acquisition cost of all available units evenly across ending inventory and units sold.

This distinction creates a major trap when converting between accounting platforms:

QuickBooks Desktop Pro, Premier, and Mac track inventory using average cost (Enterprise with Advanced Inventory can use FIFO). QuickBooks Online offers two methods, FIFO and moving average cost, per Intuit’s costing method article (updated August 14, 2026). The choice “can’t be changed later”, and a company that creates an inventory item before choosing is set to FIFO.

When you convert QuickBooks Desktop to Online, choose moving average cost before the first item exists if you want to stay on the Desktop method. As detailed in our guide on what doesn’t convert to QuickBooks Online, a company on FIFO recalculates inventory from its start date forward, posting whatever adjustments the new method requires.

The result is often an un-reconciled opening variance between your balance sheet and your tax return that requires manual re-alignment. Review our checklist on what to check after a QuickBooks migration to verify inventory balances post-transfer.

How to manage inventory in QuickBooks Online without corrupting reports

The main rule of inventory in QuickBooks Online: never type a manual journal entry directly against the Inventory Asset account if you track item quantities.

QuickBooks maintains two parallel inventory records:

  1. The General Ledger balance on your Balance Sheet (Inventory Asset).
  2. The Inventory Valuation Summary sub-ledger, which tracks physical unit counts and FIFO cost layers per SKU.

When you type a manual journal entry debiting or crediting Inventory Asset:

  • The Balance Sheet updates.
  • The item quantity sub-ledger does NOT update.
  • The Balance Sheet and the Inventory Valuation Summary permanently disagree.

To keep your sub-ledger and balance sheet synchronized, always use standard transaction forms:

  1. Ordering & Receiving: Create a Purchase Order, then copy it into a Bill or Expense using the Item details grid (selecting the tracked inventory item name, quantity, and cost), never the Category details grid.
  2. Fulfilling & Invoicing: Create an Invoice or Sales Receipt selecting the inventory item. QuickBooks Online automatically posts the wholesale cost from Inventory Asset to Cost of Goods Sold behind the scenes.
  3. Inventory Adjustments: Use + Create > Inventory quantity adjustment to record theft, damage, or audit variances.

Common questions about inventory accounting

Is inventory an expense or an asset?

An asset until it is sold, then an expense. The 50 units bought on October 5 sit in Inventory Asset at $5,000.00. When 35 of them ship on October 12, $3,500.00 of their cost moves to Cost of Goods Sold on the profit and loss, and the 15 units still on the shelf stay on the balance sheet at $1,500.00.

What category of account is inventory?

A current asset. In QuickBooks Online the default Inventory Asset account has the Other Current Assets account type and the Inventory detail type. Its cost moves to an account of the Cost of Goods Sold type as items sell.

What is the difference between inventory and Inventory Asset in QuickBooks?

Inventory is an item type in Products & services: a product whose quantity QuickBooks tracks. Inventory Asset is the balance sheet account that holds the cost of all those items. Every inventory item points to an inventory asset account, and the Inventory Valuation Summary report should total to that account’s balance.

When should inventory be recorded?

When the business takes ownership, which the shipping terms decide. Under FOB shipping point, goods belong to the buyer once they leave the seller, so goods in transit at month end are already inventory. Under FOB destination, they become inventory on arrival. If you record purchases from vendor bills, check at period end for goods already received whose bill has not arrived.

When should inventory be expensed?

When it is sold, through Cost of Goods Sold, not when it is bought. Buying stock is swapping cash for an asset. The tax side follows the same idea: even a small business using the §471(c) exception above deducts inventory cost when the goods are sold, not when they arrive.

Where does inventory go on the balance sheet?

Under current assets, usually after cash and accounts receivable, at cost. In QuickBooks Online the Inventory Asset account is an Other Current Assets account, so it appears in that section of the balance sheet automatically.

When inventory balances and physical stock diverge

If your balance sheet shows $45,000.00 in inventory but your warehouse count is $12,000.00, months of miscoded bank feeds, negative inventory counts, or broken FIFO layers have accumulated. Resolving historical inventory drift requires walking through past item receipts and reconciliations rather than entering an arbitrary plug.

Ledgerbrook cleans up historical inventory and balance sheet discrepancies under a fixed fee schedule:

$99per month of backlog20% off 6+ months

A count at year end is part of the close for any business that carries stock, and the adjustment it produces belongs in the same month-end close as everything else. The journal entry reference has the rest of the series, and if your inventory reports disagree with your balance sheet or your shelves, send the file for a free review before you close the year.

Published October 3, 2026 · Updated November 5, 2026

Share this post