Inventory and accounting: how stock, cost of goods sold and stocktaking fit together.
Inventory and accounting describe the same goods twice: the warehouse counts quantities, while the general ledger carries their value on the inventory account until the goods are sold. When both come from the same documents, cost of goods sold, stocktaking differences and the balance sheet agree without a month-end spreadsheet. This guide covers the entries, the cost formulas allowed in Estonia and the checks that keep the two in line.
Buying goods for resale is not an expense. The goods sit in the warehouse and appear on the balance sheet under inventories. The expense arises when the goods are sold: the cost of the quantity sold moves from the inventory account to cost of goods sold in the income statement, in the same period as the sales revenue.
For financial statements prepared under the Estonian financial reporting standard, the rules for inventories are in the Accounting Standards Board guideline RTJ 4 “Inventories”, which follows chapter 13 of IFRS for SMEs. Most of what follows comes back to two questions from that guideline: what belongs in the cost of the goods, and which formula assigns that cost to the goods sold.
What goes into the cost of inventory.
Under RTJ 4, inventories are first recognised at cost: the purchase price plus customs duties, other non-refundable taxes and transport costs directly linked to bringing the goods to their present location and condition. Storage costs (unless the production process requires them), administrative overheads that do not bring the goods to their current state and selling costs are not part of cost; they are expenses of the period.
In practice the freight or customs invoice often arrives after the goods. In Saldofy you book such an invoice to a landed cost clearing account and then allocate it to the receipts it belongs to, by value or by quantity. The part that matches goods still in stock raises their unit cost on the inventory account. The part that matches goods already sold goes straight to cost of goods sold on the allocation date.
The entries that move the inventory account.
When stock items are recorded on the same documents that feed the ledger, the inventory account changes only through a handful of events. In Saldofy each of them creates both a stock movement and a general ledger entry, except a transfer between warehouses:
a purchase invoice with a stock item line receives the goods: the inventory account is debited, deductible VAT goes to input VAT and the supplier payable is credited
a sales invoice or a till sale records revenue and output VAT, and the cost of the goods moves from inventory to cost of goods sold
a purchase credit note takes goods out of stock and a sales credit note brings them back
a stock-out document for damaged or lost goods reduces inventory against the item's cost of goods sold account
a completed stocktake turns each difference into an adjustment movement with its own entry
an opening balance when you start receives the goods with an entry between the inventory account and an equity account
a transfer between warehouses moves quantities without an entry, because the goods stay on the same inventory account
Each item carries its own inventory account and cost of goods sold account; an empty field falls back to the default from the chart of accounts. That is how a company can keep, for example, raw materials and goods for resale on separate balance sheet lines without extra manual entries.
FIFO or weighted average: choosing a cost formula.
RTJ 4 lets a company assign cost in three ways. Items that can be told apart, such as goods made for a specific order, are expensed at their individual cost. Interchangeable goods use either FIFO (first in, first out) or the weighted average cost formula, and inventories of a similar nature and use must use the same formula. Under weighted average the average may be recalculated after each delivery or once per period, for example at the end of a week or month.
A worked example shows why the choice matters. A wholesaler receives 100 boxes at a cost of 8.00 per box and later 100 boxes at 9.00 per box, then sells 150 boxes. Under FIFO, cost of goods sold is 100 × 8.00 + 50 × 9.00 = 1,250.00, and the 50 boxes left are valued at 450.00. Under weighted average, all 200 boxes cost 1,700.00, or 8.50 per box, so cost of goods sold is 1,275.00 and the remaining stock is 425.00. The total cost is the same; the split between this period's expense and the balance sheet is not.
In Saldofy the formula is chosen per item when the item is created, FIFO or weighted average, and it cannot be changed later on the item card. A user with the accounting settings permission can move all eligible FIFO items to weighted average at once. Items with movements after the last closed inventory month are skipped, so closed months keep their cost. A change of formula is an accounting policy decision, so agree it with your accountant first.
Stocktaking: turning a count into an entry.
A stocktake compares what is physically on the shelf with the quantity in the books. The difference is never only a warehouse matter: a shortage reduces the inventory account and increases cost, a surplus does the opposite. RTJ 4 also asks management to review inventories critically at the end of each reporting period and to consider a write-down when goods are damaged, their market price has fallen or they have not sold for a long time. When net realisable value is below cost, the goods are written down and the write-down is an expense of the period.
In Saldofy a stock count is started per warehouse with a date. Counters see the items but not the system quantity, so they cannot simply copy it. In the mobile app they can scan barcodes with the phone camera or a handheld scanner, and quantities entered without a connection are queued until it returns. On completion Saldofy compares the counted quantity with the stock at that moment and warns if stock moved after the count was started.
Each difference becomes an Adjustment + or Adjustment − movement with a general ledger entry between the item's inventory account and its cost of goods sold account. A surplus is valued at the item's average cost and a shortage with its cost formula. A completed count cannot be edited; a wrong result is corrected with a new count or an adjustment document.
Month-end: close the inventory month, then reconcile.
Documents are often entered late and out of order, and under FIFO the order changes the cost. Saldofy's inventory closing recalculates the month's movements in date order (within a day: receipts first, then production and transfers, then issues), writes the final cost onto each document's own entry and locks the month's inventory documents. A correction that cannot go on the document itself, for example because the financial month is locked or the sale came from a till day report, is booked as one inventory cost correction entry dated the last day of the month.
A reconciliation then compares the inventory value on a chosen day with the balance of the inventory accounts in the general ledger and keeps the result as evidence, with findings to resolve. It can run on a schedule every month. A company can also require the inventory month to be closed before the financial period is locked.
Selling goods before the purchase invoice arrives.
A company setting decides whether goods may be issued before they are received. If negative stock is allowed, the sale gets a provisional cost: the average cost of the goods in stock or, if the warehouse was empty, the price of the last receipt. When the purchase is entered before the sale's inventory month is closed, Saldofy writes the actual price back as the cost of that sale.
If the sale's inventory month is already closed, the sale keeps its provisional cost and the price difference becomes a cost of the purchase month. The practical rule follows from this: close an inventory month only after the purchase invoices for its sales have been entered.
Signs that inventory and accounting have drifted apart.
Differences between the warehouse and the ledger usually have a short list of causes. Check these first:
the inventory account balance differs from the stock report on the same date
a purchase of stock items was booked to an expense account instead of a stock item line
manual journal entries on the inventory account have no stock movement behind them
till sales did not reach inventory because the day report was not confirmed
goods arrived on a delivery note while the purchase invoice is still missing at month-end
old stock has not moved for months and has never been reviewed for a write-down
The aging and turnover report in Saldofy groups stock by how long it has been held (0–30, 31–60, 61–90 and over 90 days). It is a practical starting point for the year-end review of slow-moving goods that RTJ 4 asks for.
Questions about inventory and accounting.
Does a small company need inventory accounting at all? If goods are bought for resale and part of them is still unsold at the end of the period, the unsold part is an asset at cost, not an expense. Without quantities and cost per item, both the balance sheet and the profit for the period are estimates.
Do I have to enter the cost on a stock-out myself? No. Saldofy calculates the cost of issued goods with the item's cost formula. For a transfer between warehouses it uses the item's average cost unless you enter a unit cost yourself.
Is the inventory value of each warehouse exact? Cost is calculated per item across the whole company, so the value shown for a single warehouse is approximate. The company total is the figure that ties to the inventory account.
Who can see purchase prices and cost? In Saldofy cost is a separate permission. A seller or warehouse worker can see items and quantities without seeing purchase prices, average cost, inventory value or margin.
Run inventory and accounting from the same documents.
Create an account, add your stock items with their cost formula and accounts, and see how purchases, sales and stocktakes post to the ledger as they happen.