Inventory costing is the most technically complex area of Business Central — and the one most often misconfigured. The details matter enormously for your financial statements, tax compliance, and audit readiness. This article covers the core mechanics that every accountant and controller working with BC should understand.
1. The Five Costing Methods
The costing method determines how Business Central values inventory decreases (sales, consumption) based on inventory increases (purchases, production output). It is set per item and cannot be changed once entries exist.
| Method | Cost flow | Best for |
|---|---|---|
| FIFO | First item purchased = first item sold. Actual cost. | Stable prices, perishable goods, most general-purpose scenarios. |
| LIFO | Last item purchased = first item sold. Actual cost. | Rare. Allowed under Luxembourg GAAP (law of 19 December 2002, alongside FIFO and weighted average), but prohibited under IFRS (IAS 2). |
| Average | Weighted average recalculated per period (day/week/month). | Interchangeable goods — chemicals, bulk materials, commodities. |
| Specific | Each unit carries its exact acquisition cost. Requires item tracking. | Serialized, high-value items. Regulated goods. |
| Standard | Preset cost. Actual variances posted separately. | Repetitive manufacturing. Tight cost control environments. |
Key principle
Regardless of costing method, if you buy 3 items and sell 3 items, the ending inventory value is always zero and total COGS always equals total purchases. The methods only differ in when and how costs flow to each individual sale.
What about FEFO (First Expired, First Out)?
FEFO is not a costing method — it’s a warehouse picking strategy. When enabled on a location, Business Central automatically picks the lot with the earliest expiration date. But the financial cost still follows whichever costing method is set on the item card.
You can combine them freely — for example, Average costing for financial valuation + FEFO picking for warehouse operations. This is common in chemicals, food & beverage, and pharmaceuticals where lot expiration drives which stock ships first, but the P&L uses average cost. Setup: turn on Pick According to FEFO on the location card (it requires Require Pick), and assign an item tracking code with Lot, SN or Package Warehouse Tracking and expiration dates. Bin Mandatory is only needed for warehouse picks — inventory picks use FEFO with or without bins.
2. Item Application: How Costs Link to Transactions
Every inventory transaction creates an item ledger entry (quantity) and one or more value entries (cost). Item application is the mechanism that links outbound entries (sales, consumption) to inbound entries (purchases, output) to determine which cost flows where.
There are two types of application:
- Automatic (quantity application) — BC applies outbound to inbound entries based on the costing method (FIFO sequence, average period, etc.).
- Fixed application — You manually specify which inbound entry an outbound entry should be costed from (using Appl.-to Item Entry or Appl.-from Item Entry fields). Essential for returns, corrections, and exact cost reversal.
Practical example: Purchase returns
You buy Item A at €10 (entry 1) and then at €20 (entry 2). You return the second batch. Without a fixed application, FIFO would cost the return at €10 (wrong). With a fixed application pointing to entry 2, the return correctly reverses at €20. This is why Exact Cost Reversing Mandatory should be enabled in your Sales & Receivables and Purchases & Payables setup.
3. Cost Adjustment: Keeping COGS Accurate
In the real world, costs arrive after the fact — a freight invoice posted weeks after the sale, a purchase credit memo correcting a price, an item charge for customs duties. The Adjust Cost – Item Entries batch job is the engine that propagates these cost changes.
It works by detecting changes on inbound entries and forwarding them to all applied outbound entries. This means a freight charge on a January purchase can retroactively update the COGS of a February sale — automatically.
Two modes:
- Automatic — Set in Inventory Setup → Automatic Cost Adjustment. With Always, cost is adjusted every time you post. With Day, Week, Month, Quarter or Year, it only adjusts postings dated within that period of the work date; older entries still need the batch job. Never turns it off.
- Manual — Run the Adjust Cost – Item Entries batch job on a schedule. Recommended during non-working hours for large datasets.
Warning
If you never run cost adjustment, your COGS and inventory valuation on the balance sheet will be wrong. This is one of the most common issues we find in BC health checks — companies that haven’t adjusted costs in months.
4. Expected Cost Posting
When you receive goods but haven’t yet received the vendor invoice, BC can post the estimated cost to interim G/L accounts. This keeps your balance sheet accurate in real time, even before invoicing is complete.
Enable this in Inventory Setup → Expected Cost Posting to G/L. When enabled:
- At receipt: estimated cost debits Inventory Account (Interim) and credits Inventory Accrual Account (Interim).
- At invoice: interim entries are reversed, and actual cost hits the real Inventory Account and Direct Cost Applied Account.
5. Average Cost Calculation
For items using the Average costing method, BC calculates a weighted average at each point in time within the configured average cost period (Day, Week, Month, Quarter, or Accounting Period).
Two configuration choices in Inventory Setup control this:
- Average Cost Period — The time bucket for recalculation.
- Average Cost Calc. Type — Per Item, or per Item + Location + Variant.
If you back-date an inventory increase or decrease, the average cost is recalculated for all affected periods. If you change the period or calculation type, all affected entries must be adjusted. This is why the Average method requires more care and more frequent cost adjustment runs.
6. Variance (Standard Costing)
Items using the Standard costing method are valued at a preset standard cost. When the actual cost differs — a purchase invoice at a different price, or production consuming more material than expected — the difference is posted as a variance. BC distinguishes between purchase variance, material variance, capacity variance, subcontracted variance, capacity overhead variance, and manufacturing overhead variance.
7. Reconciliation with the General Ledger
Inventory and G/L are separate subledgers in Business Central. The bridge between them is the Post Inventory Cost to G/L batch job (or Automatic Cost Posting in Inventory Setup). This translates value entries into general ledger entries using the account mappings from:
- General Posting Setup — COGS Account, Direct Cost Applied, Inventory Adjustment, etc.
- Inventory Posting Setup — Inventory Account per location/posting group.
Before closing an accounting period, Adjust Cost – Item Entries must have run — automatic cost posting does not replace it, it only posts the adjustments once they exist. If automatic cost posting is off, you must also run Post Inventory Cost to G/L. Failure to do so means your balance sheet Inventory account won’t match the item ledger — a finding that auditors will flag immediately.
8. How It Looks in the G/L — T-Account Walkthroughs
The theory above only clicks when you see the actual debit/credit flow. Below are three scenarios straight from implementation practice, showing exactly which G/L accounts are hit and when.
Scenario A: Purchase 10 units at €7, then sell all 10
Direct unit cost €7, overhead rate €1. Total cost per unit = €8. Purchase posted and invoiced Jan 1, sale posted and invoiced Jan 15.
Blue = balance sheet. Green = income statement (cost applied). Red = income statement (expense). Inventory ends at zero because everything was sold.
Scenario B: Item charge arrives after the sale (cost adjustment)
Same as above, but on Feb 10 a freight charge of €2 is invoiced against the original purchase. Running Adjust Cost – Item Entries and Post Inventory Cost to G/L creates these additional entries:
Notice the dates: the freight is invoiced Feb 10, but the COGS adjustment is back-dated to Jan 15 (the original sale date). Inventory passes through zero — it debits €2 for the freight, then credits €2 for the adjustment. The net effect is €2 more COGS on the income statement. This is exactly what cost adjustment does: it ensures the right cost hits the right period.
Scenario C: Expected cost posting (receipt before invoice)
You receive goods on Jan 1 (expected cost €95). The invoice arrives Jan 15 for the actual amount of €100. With Expected Cost Posting to G/L enabled:
Step 1 — At receipt (Jan 1): estimated cost hits interim accounts
Step 2 — At invoice (Jan 15): interim accounts reverse, actual cost posts
Purple = interim accounts (balance sheet, temporary). They exist only between receipt and invoice.
The key insight: the interim accounts net to zero once the invoice is posted. The real Inventory account ends at €100 (actual cost), and Direct Cost Applied at €100. If you don’t enable expected cost posting, nothing hits the G/L until the invoice — your balance sheet won’t reflect goods already in the warehouse. For companies that receive goods weeks before invoicing, this creates a material gap between physical and book inventory.
G/L account map: which account is hit by which transaction type
This is the master mapping that drives all inventory posting in Business Central. It is configured in Inventory Posting Setup and General Posting Setup.
| Transaction | Debit | Credit | Type |
|---|---|---|---|
| Purchase (receipt, expected) | Inventory (Interim) | Invt. Accrual (Interim) | BS ↔ BS |
| Purchase (invoiced, direct) | Inventory | Direct Cost Applied | BS ↔ IS |
| Purchase (invoiced, overhead) | Inventory | Overhead Applied | BS ↔ IS |
| Purchase (variance, standard) | Inventory | Purchase Variance | BS ↔ IS |
| Sale (shipped, expected) | COGS (Interim) | Inventory (Interim) | IS ↔ BS |
| Sale (invoiced) | COGS | Inventory | IS ↔ BS |
| Positive/Negative adjustment | Inventory | Inventory Adjustment | BS ↔ IS |
| Production consumption | WIP Account | Inventory | BS ↔ BS |
| Production output | Inventory | WIP Account | BS ↔ BS |
| Production variance (material) | Inventory | Material Variance | BS ↔ IS |
| Assembly consumption | Inventory Adjustment | Inventory | IS ↔ BS |
| Revaluation | Inventory | Inventory Adjustment | BS ↔ IS |
BS = Balance Sheet. IS = Income Statement. Debit/credit direction shown for increases; decreases reverse the flow. Account numbers are configured per posting group — the table above shows the account types.
9. Production and Assembly Order Costing
For manufacturers, BC tracks WIP (Work in Process) through production orders. Material consumption and capacity posting accumulate on the order. When output is posted and the order is finished, costs are moved from WIP to finished goods inventory. The Adjust Cost batch job then finalizes variances.
Assembly orders are simpler: they post once and never use WIP or expected (interim) cost — the output is posted at actual cost. If the assembled item uses the Standard costing method, cost adjustment still compares actual component and resource cost with the standard and posts material, capacity and overhead variances. The posting sequence is: component consumption → assembly output → cost adjustment. Assemble-to-order sales are fixed-applied to the assembly output, so the sale takes its cost from the linked assembly order.
10. Inventory Periods
Inventory periods control which date ranges are open for inventory posting. They are separate from accounting periods and from the General Ledger Setup posting dates — but they must work together.
You manage inventory periods from Inventory Setup → Inventory Periods. Each period has a starting date. When you close an inventory period, Business Central prevents any inventory posting (item journal, purchase receipt, sales shipment, production output, etc.) with a posting date that falls within that closed period.
Closing does not run cost adjustment or G/L posting for you — they are prerequisites. Business Central refuses to close the period while items still need cost adjustment or outbound entries are still open (negative inventory). Run Adjust Cost – Item Entries and Post Inventory Cost to G/L first; the Close Inventory Period – Test report shows what is still blocking.
Why inventory periods matter
- Prevents back-dated changes — Once closed, nobody can post an item journal line dated in January after January is closed. This protects already-reported figures.
- Requires reconciliation first — The period will not close until cost adjustment has run for every item and no outbound entries are left open. Run Adjust Cost – Item Entries and Post Inventory Cost to G/L before you close, so you don’t start a new month with stale values.
- Independent from accounting periods — You can close inventory periods on a different schedule than your G/L accounting periods (though aligning them is recommended).
- Also blocks cost changes — A closed inventory period blocks all value changes, not only quantities: no new receipts or shipments, no invoicing of earlier receipts at a new cost, and no cost adjustments dated in it. Adjustments that belong to a closed period are dated the first day of the first open period instead.
Common mistake
Many companies never close inventory periods — often because Business Central refuses to close until cost adjustment and G/L posting are done, and nobody goes back to run them. The result: users can back-date item journal entries months into the past, silently changing inventory values that have already been reported on financial statements. This creates audit findings and makes month-end reconciliation unreliable. Close your inventory periods as part of your monthly close checklist. A guided close that offers to run the missing jobs from the Inventory Periods page is on the Fisqal Enhanced Accounting roadmap.
11. General Ledger Setup: Allow Posting From / To
The Allow Posting From and Allow Posting To fields in General Ledger Setup are the primary date gates for all posting in Business Central — not just G/L journals, but also sales, purchases, item journals, and production posting. If a document’s posting date falls outside this window, BC blocks it.
These fields exist at two levels:
- General Ledger Setup — Company-wide default. Applies to all users unless overridden.
- User Setup — Per-user override. If set, takes precedence over the company-wide setting for that user.
User Setup replaces the company-wide window for that user — it is not the narrower of the two. If General Ledger Setup allows Jan 1 – Mar 31 but a user’s User Setup allows Oct 1 – Mar 31, that user can post into the previous October. There is one important exception: the Adjust Cost – Item Entries job ignores User Setup. It only checks Allow Posting From in General Ledger Setup (and the inventory periods), so a user who back-posts a document into an older period will see the related cost adjustments land in the first period that General Ledger Setup allows.
How it interacts with inventory costing
This is where it gets critical for inventory:
- Cost adjustment creates G/L entries — When you run Adjust Cost – Item Entries followed by Post Inventory Cost to G/L, the system creates general ledger entries. An adjustment keeps the date of the entry it adjusts if that date is on or after Allow Posting From in General Ledger Setup and in an open inventory period. Otherwise it is dated the later of the two: the first allowed date in General Ledger Setup or the first day of the first open inventory period. User Setup windows are not considered.
- Automatic cost posting — If you have Automatic Cost Posting enabled in Inventory Setup, every item posting immediately generates G/L entries. The posting date of the item transaction must fall within the allowed window, or the entire posting is blocked.
- Month-end sequence matters — You must run cost adjustment and post inventory cost to G/L before you move the Allow Posting From date forward. Otherwise, late cost adjustments for the old period will be posted with the new period’s date, putting costs in the wrong month.
Recommended month-end close sequence
- Ensure all purchase invoices and item charges for the period are posted.
- Run Adjust Cost – Item Entries.
- Run Post Inventory Cost to G/L.
- Verify: run the Inventory – G/L Reconciliation report. Difference should be zero.
- Close the inventory period.
- Move Allow Posting From in General Ledger Setup to the first day of the new period.
- At year end, close the fiscal year in Accounting Periods and run Close Income Statement — but note this does not lock the year (see below).
Warning: the date shift trap
If you move Allow Posting From to April 1 before running cost adjustment for March, any cost adjustments for March transactions will be posted with an April date. Your March P&L will be understated and April overstated. This is one of the most common period-close mistakes we encounter in BC health checks.
Three layers of date control
Business Central has three mechanisms that decide when inventory value can be posted. Accounting periods are not one of them — closing a fiscal year does not stop anyone posting into it.
| Control | Where | What it blocks | Affects cost adjustment? |
|---|---|---|---|
| Allow Posting From / To | General Ledger Setup (User Setup overrides it per user) | All posting (G/L, sales, purchases, item journals, production) dated outside the user’s window | Yes — adjustments dated before Allow Posting From in General Ledger Setup move to the first allowed date. User Setup is ignored by the adjustment job. |
| Inventory Periods | Inventory Setup → Inventory Periods | All inventory value changes in a closed period: receipts, shipments, invoicing, revaluation, item charges | Yes — adjustments for a closed period are dated the first day of the first open period |
| Earliest Allowed Valuation Date | Inventory Setup | Any posting that would create or change cost with a valuation date before the cutoff (backdated postings, revaluations, item charges on old receipts, undoing old receipts or shipments). Cannot be overridden per user. | No — cost adjustment and rounding entries are still allowed; invoices for old receipts or shipments post their cost in the current period |
Key takeaway
Allow Posting From/To is the gate most people think about, but on its own it can be overridden per user and it does not protect inventory value. Use inventory periods or the Earliest Allowed Valuation Date as well, and do not rely on closing the fiscal year: in standard Business Central (outside the French localization) Close Year only flags later entries as Prior-Year Entry — anyone whose posting window allows the date can still post into it. A hard fiscal-year close that blocks those postings is on the Fisqal Enhanced Accounting roadmap.
What this means for your business
Inventory costing affects your balance sheet, your income statement, your tax declarations, and your audit. Getting the costing method wrong, skipping cost adjustment, or misconfiguring posting groups creates discrepancies that compound over time and are painful to unwind.
We configure inventory costing as part of every implementation — costing methods, posting groups, adjustment schedules, inventory periods, and G/L reconciliation. For chemicals and metals traders, our Chemicals & Metals app adds lot-specific costing, contract pricing, and quality management on top. For G/L-to-inventory reconciliation, we recommend Inventory 365 by CKL Software — a dedicated app for identifying discrepancies, evaluating floating goods, and mapping the nature-of-expense method.