Skip to main content
Bonsai Software
All field notes
Sector insights23 September 20266 min read

Automating inventory valuation in wholesale

Automating inventory valuation in wholesale is harder than it looks, because the three common methods (FIFO, LIFO and weighted average purchase price) all assume stable data that does not exist in practice. Purchase prices fluctuate, stock is distributed across multiple locations and the ERP receives mutations too late. The result: the balance sheet value is incorrect, margin analysis arrives too late and the accountant makes manual corrections at the end of the quarter. This article describes three concrete bottlenecks and the automated logic that makes the difference.

By Yeslin Beljaars

Why FIFO and average purchase price stall in practice

On paper, choosing FIFO or weighted average purchase price works cleanly. You purchase at a given price, sell in a given sequence and the system updates the valuation accordingly. But as soon as purchase prices fluctuate significantly, the logic breaks. A container of base chemicals purchased in January sits in the system at the January price. Three months later, after two new purchase rounds at higher prices, the sales team is still selling at a margin based on the old cost price. The ERP shows a weighted average that has been lagging for weeks, because the new purchase invoices have not yet been fully processed. The error accumulates quietly until the accountant sees the impact at the quarterly close. Automation resolves this by writing every purchase mutation directly through to the inventory valuation, without the need for manual batch processing.

Bottleneck 1: applying price fluctuations to live inventory

The core problem is timing. A new purchase price is only available once the supplier invoice has been posted. But the physical goods are already in the warehouse and already being dispatched. In a manual or semi-manual process, the first deliveries are therefore valued at the old price, while the higher purchase costs only become visible later. Automated inventory valuation works differently: as soon as a purchase order is approved and the receipt posted, the system writes the new cost price directly through to the relevant batch, linked to the lot or batch number. This means the balance sheet value is always based on the most recent confirmed purchase price, not on whatever was last invoiced. This requires a direct connection between the purchasing administration and the inventory system, without the delay of an overnight batch run.

Bottleneck 2: multi-location consolidation of inventory valuation

Larger wholesale companies operate multiple warehouses, sometimes including consignment stock at customers or stock in transit. Each of those locations has its own registration, sometimes in the same ERP, sometimes in a separate WMS or even a spreadsheet. At month-end, all that stock must be consolidated into a single balance sheet value. Doing this manually means retrieving exports, matching columns and applying corrections for transit that is already counted in two places at once. Every step introduces a margin for error. Automated consolidation works from a single data model that tracks all locations. The valuation per location is always visible, and the consolidation to the balance sheet is a calculation rule, not a manual action. This is only achievable if the connection between locations and the financial system runs in real time or near-real time, not via a weekly export.

Bottleneck 3: connecting to financial reporting without manual work

The third bottleneck sits at the boundary between operations and finance. The controller needs the inventory value in the general ledger to match the physical count. In practice, there are always differences: a delivery that has already been scanned but not yet invoiced, a return that has entered the warehouse but is still open administratively, a price correction from a supplier arriving as a credit note that has not yet been matched to the original receipt. All those exceptions are cleared manually, sometimes taking hours per month-end close. Automation does not mean all exceptions disappear, but that they are flagged systematically: the system shows which items are open, why they deviate and who needs to act. The person decides; the system does the groundwork and the reporting. That is the difference between a controller spending hours reconciling and a controller receiving an overview with only the genuine exceptions.

What does automated inventory valuation require from your system?

Automating inventory valuation is not a module you simply switch on. It starts with the question of whether your data model has the right connections: is every inventory line traceable to a purchase order with a confirmed price? Are locations defined unambiguously in the system? Are goods receipts and invoice postings linked to each other, or do they run as separate streams through the system? At many wholesale companies, the answer is: partly. The ERP has the basic structure, but the connection to the WMS or to external locations runs via exports and manual work. A custom integration or a rebuilt core system resolves this by setting up the data model correctly at the front end, rather than compensating at the back end with reporting tools. Once the connections are in place, automating inventory valuation is a logical next step: the logic is already there, it just needs to be executed by the system rather than by a person.

Seeing this in your own operations?

Book a call

Frequently asked questions

How does automating inventory valuation work in a wholesale company?

Automated inventory valuation links every inventory line directly to the corresponding purchase order and confirmed purchase price. As soon as a receipt is posted, the system updates the valuation immediately, without manual batch processing. The result is a balance sheet value that is always up to date, even when purchase prices fluctuate.

Which valuation method is best for a wholesale company: FIFO, LIFO or average purchase price?

It depends on the product type and the tax situation. FIFO aligns best with the physical issue of goods with an expiry date. Weighted average purchase price works well for homogeneous products without lot administration. LIFO is not permitted for tax purposes in the Netherlands. More important than the method is that your system applies the chosen method consistently and in real time.

Why does the inventory value in my ERP often not match the financial reporting?

This is usually a timing issue: deliveries, returns and price corrections are processed at different moments in the ERP and in the accounting system. As long as those processes are not directly linked, there will always be a difference that has to be cleared manually at the month-end close.

Can I automate inventory valuation without replacing my ERP?

Yes, in many cases you can. A custom integration that links purchase orders, goods receipts and inventory movements can be built on top of an existing ERP. Whether that is the right choice depends on how well the data model of the current system is structured. If the basic structure is missing, rebuilding the core system is sometimes cheaper than compensating with integrations.