Skip to content

How inventory affects your books

See when inventory hits your balance sheet, when cost of goods sold (COGS) posts, how FIFO, LIFO and average cost work, and why stock value can differ.

Updated Reviewed by EazeAccounts Accounting Team, last reviewed EazeAccounts Product Team

EazeAccounts tracks inventory as it moves: every bill, invoice, return and adjustment for an inventory item updates the stock count and your books together.

The short version: stock you buy is an asset until you sell it. When you sell it, its cost moves to cost of goods sold (COGS) on your Profit and Loss, in the same period as the sale.

What posts, and when#

Document

Stock

Journal entry

Purchase order

No change

None

Sales order

Confirming commits stock

None

Bill

Adds stock

Debit inventory, credit Accounts payable

Invoice or sales receipt

Removes stock

The sale, plus a second entry: debit COGS, credit inventory

Credit memo or refund receipt that returns goods

Adds stock back

The credit, plus debit inventory, credit COGS

Debit memo that returns goods to a vendor

Removes stock

Debit Accounts payable, credit inventory

Adjustment

Changes quantity or value

Between inventory and the adjustment account

Opening stock on an item

Adds stock

Debit inventory, credit the opening stock clearing account

Drafts post nothing and don’t move stock. The accounts come from the item and from Inventory Settings.

Buying stock#

A bill line with an inventory item debits your inventory account instead of an expense, so nothing reaches your Profit and Loss yet. Each bill also adds a cost layer: a batch of units at the price you paid.

Accounting impact

Bill from Portland Roasting Supply for 60 bags at $6.25.

Debit$375.00
Credit$375.00

Selling stock#

An invoice or sales receipt for inventory items posts the sale as usual. It also posts a separate Cost of goods sold entry at the cost of the units that left, worked out by your valuation method.

Accounting impact

The cost entry for an invoice to Riverside Cafe: 24 bags at $6.25. The sale itself credits 40000 Sales Revenue for $396.00, so gross profit is $246.00.

Debit$150.00
Credit$150.00

Returns#

A credit memo with inventory items puts them back in stock. Choose the Returning invoice so the units come back at the cost they left at.

Accounting impact

Riverside Cafe returns 2 bags. The cost entry:

Debit$12.50
Credit$12.50

A debit memo for inventory items sends them back to the vendor. If the memo’s value differs from what the stock cost you, the difference posts to the adjustment account.

Accounting impact

Returning 4 bags at $6.25 to Portland Roasting Supply.

Debit$25.00
Credit$25.00

Adjustments#

A loss, such as damage, theft or a lower count, debits the adjustment account and credits inventory at cost. A gain posts the reverse. A write-down lowers value without changing the quantity. See Adjust inventory quantities or value.

How costing methods work#

When you’ve bought stock at different prices, your Valuation Method decides which cost a sale uses. Say you buy 10 bags at $6.00, then 10 more at $7.00, and sell 15:

Method

Cost of the 15 sold

Value of the 5 left

FIFO

10 × $6.00 + 5 × $7.00 = $95.00

5 × $7.00 = $35.00

LIFO

10 × $7.00 + 5 × $6.00 = $100.00

5 × $6.00 = $30.00

Weighted average

15 × $6.50 = $97.50

5 × $6.50 = $32.50

The total is $130.00 every time. The method only decides how it splits between cost of goods sold and the stock still on hand. On the same day, purchases count before sales, so a bill dated the same day as an invoice covers it.

The Cost layers tab for Signature Espresso Blend under FIFO: the opening layer with 93 of 120 left and the bill layer with 60 of 60 left
1: the valuation method. 2: how much of each layer is left.

Selling more than you have#

With Overselling set to Allow, the invoice saves. Units you didn’t have are costed at the last known purchase cost and marked as provisional. When a bill brings the stock in, EazeAccounts corrects that sale’s cost of goods sold entry. With Block, the invoice is refused with a message starting Insufficient stock for.

When past costs change#

Costs are worked out in date order. A backdated bill, an edited bill or opening stock cost, a deleted document, or Recost in Inventory Settings can change the cost of later sales. EazeAccounts rewrites the affected entries, so profit in earlier months can change. The item’s Transactions and Cost layers tabs show what moved.

The Transactions tab for Signature Espresso Blend: opening stock, an adjustment, a bill and an invoice, each with unit cost, value and running balance

Stock value and your inventory account#

Stock Value on the items list adds up the cost of the units on hand. Your inventory account’s balance should match it. They can differ when:

  • a journal entry posted straight to the inventory account, which changes the balance but not the stock

  • an item has its own Inventory Asset Override, so its value sits in another account

  • the account had a balance before you turned inventory on, such as imported opening balances

To correct stock, use an adjustment rather than a journal entry, so the count and your books move together.

If your plan includes inventory reports, Reports has an Inventory group. Its GL Reconciliation report compares your stock records with the general ledger by period.

Period locks#

Inventory entries are checked against period locks for General ledger. If an entry, or a cost change it causes, falls in a locked month, you see a message such as September 2026 is locked for General ledger. and nothing posts.

  • For a bill or invoice, date it in an open month, or enter the unlock password if you’re asked for it.

  • Adjustments can’t override a lock: choose an open date, or ask an admin to unlock the month.

  • Recost stops if any entry it would change is in a locked month.

Common questions#

Why don’t inventory purchases show as an expense on my Profit and Loss?#

A bill for inventory items adds to your inventory asset. The cost reaches your Profit and Loss as cost of goods sold when you sell the items.

Why did my profit change in a month I already reported?#

A backdated or edited bill, a deleted document or a recost changed the cost of sales in that month. Lock months you’ve reported so later changes can’t restate them.

What does “provisional cost” mean on a cost of goods sold entry?#

The invoice sold more units than you had, so they were costed at the last known purchase cost. The entry is corrected when a bill brings the stock in.

Do purchase orders or sales orders post anything?#

No. A purchase order posts when you bill it, and a sales order when you invoice it.

Related articles

Was this article helpful?