With FIFO (first in, first out) costing, Katana values each stock delivery by what it actually cost and uses deliveries as they arrive. A sale, shipment, or manufacturing order (MO) charges its cost to the oldest stock on hand, so cost of goods sold (COGS) and margins align with a FIFO accounting policy.
Note: FIFO costing is only available for new accounts on an Advantage plan and must be selected before any stock is recorded. All other accounts use moving average cost (MAC).
Costing methods
Every Katana account uses a costing method for its items and locations:
Moving average cost (default): each item's cost is the average of all items in stock, recalculated with each incoming delivery.
FIFO costing: each delivery keeps its own cost, and the oldest stock is used first.
To choose the costing method, the account owner goes to Settings > Costing > Costing method. This can only be done until stock is recorded (Creating orders won't lock the costing method).
To start over, clear all data to remove recorded stock.
Note: Katana doesn't support LIFO, standard costing or specific identification (costing each batch or serial number separately).
How FIFO costs your stock
Every incoming movement creates a new delivery with its own unit cost:
received POs, including additional costs
completed MOs and outsourced purchase orders (OPOs)
positive stock adjustments
stock transfers arriving at a location
overpicked ingredients returned to stock when an MO is completed, at the cost they were picked at
restocked sales returns
Every outgoing movement uses the oldest deliveries first: packed or delivered sales orders, ingredients picked or used in MOs and OPOs, negative stock adjustments and stock transfers leaving a location. When the oldest delivery runs out, the next one is used.
Example
The same purchases and usage as in Understanding Moving Average Cost (MAC), costed with FIFO. Each screenshot shows the item's stock movement history with the deliveries of one movement opened.
First purchase
Buy 10 pcs of Material X @ $10 each.
This is the first delivery: 10 pcs at $10.
Stock value = 10 × $10 = $100. Average cost = $10.
Second purchase (different price)
Buy 5 pcs @ $13 each.
This is a second delivery: 5 pcs at $13. The first delivery keeps its $10 cost.
Stock value = $100 + $65 = $165. Average cost = $165 ÷ 15 pcs = $11.
Outgoing usage
Use 8 pcs to manufacture Product Y.
FIFO takes all 8 from the oldest delivery: 8 × $10 = $80. With moving average cost, the same MO would cost 8 × $11 = $88.
Left in stock: 2 pcs at $10 + 5 pcs at $13 = $85. Average cost = $85 ÷ 7 pcs = $12.14.
Usage across two deliveries
Use 4 more pcs in a second MO.
FIFO takes the last 2 pcs at $10, then 2 pcs at $13: $20 + $26 = $46, or $11.50 per pc.
Left in stock: 3 pcs at $13 = $39. Average cost = $13.
Manufactured products
A finished product's cost is the FIFO cost of the materials and subassemblies it uses, plus the cost of its operations. Finished products are then used or sold oldest first, like any other item.
Changes to past documents
If you change a delivery's cost or date, for example by adding costs to a received PO or changing its received date, Katana re-costs every later movement of that item at that location. Stock transferred on to other locations is re-costed too. As with moving average cost, only documents in an open inventory period can change.
Fixing incorrect costs
Keep documents dated in the order things actually happened. FIFO uses these dates to determine which deliveries are oldest. When you correct a date or a cost, Katana re-costs every movement after it. Documents in a closed inventory period can't be changed.
You can also bring stock to 0 and add it back, by hand or with a stock level import that changes Value in stock. With FIFO costing, the stock adjustment that adds the stock back becomes its only delivery, so you can no longer see which deliveries the stock originally came from.
Batches and serial numbers
Cost isn't kept per batch or serial number. Picking a specific batch doesn't determine its cost; the movement still uses the cost of the oldest deliveries at that location.
Items with several deliveries in stock
Katana keeps up to 1,000 deliveries in stock per item and location. When a new delivery exceeds that, the oldest ones are combined into a single delivery at their average cost, which is still used first. It shows as "Earlier deliveries up to <date>" in the deliveries list and as a merged line in the Deliveries in stock export. This only affects items with many small deliveries that stay in stock for a long time.
Locations and stock transfers
Each location keeps its own FIFO order. A sale shipped from your warehouse uses the oldest stock in that warehouse, not the oldest stock across all locations.
A stock transfer takes the oldest deliveries at the origin. At the destination, each of those deliveries:
keeps its original unit cost and its link to the document it came from
joins the destination's FIFO order on the transfer's arrival date
Example: your workshop holds 5 pcs of Material X, received on 9 November at $20, and 10 pcs, received on 10 November at $24. You transfer 8 pcs to your retail store, arriving on 12 November. The store receives 5 pcs at $20 and 3 pcs at $24, both in stock there since 12 November and still linked to their POs. The transfer's cost per unit is $21.50.
Estimates before stock moves
Figures shown before stock actually moves use the average cost of the deliveries on hand. The FIFO cost applies when the stock is used, shipped or transferred.
Where | Before stock moves | When stock moves |
Ingredients on an open MO | Quantity × average cost of the ingredient | Cost of the oldest deliveries, when the ingredients are picked or the MO is completed |
Ingredients on an open OPO | Quantity × average cost at the contractor's location | Cost of the oldest deliveries at that location, when the OPO is received |
Product recipe cost and margin | Quantity × average cost of each ingredient | Not applicable (an estimate only) |
Draft stock transfer | Average cost at the origin | Cost of the deliveries the transfer takes |
Stock adjustment, suggested cost per unit | Current average cost | Negative rows: cost of the oldest deliveries |
Inventory list | Value in stock = the sum of the deliveries on hand. Average cost = value in stock ÷ quantity in stock. | Updated after every movement |
With nothing in stock, the average cost is 0, as with moving average cost. Product recipes and open MOs then use the default purchase price for materials and the manufacturing cost for subassemblies.
Estimates can differ more from the final cost than they do under moving average cost, for example when older, cheaper deliveries are used first.
Stock that leaves without stock on hand
If a sale, MO, or transfer takes more than is in stock, the part covered by stock takes its FIFO cost. The part without stock is costed at 0, as it is under moving average cost, and stock goes negative.
The next incoming stock fills the gap first; only what's left becomes a new delivery. Until the records are fixed, the cost of the units that left without stock isn't counted in COGS or in inventory value.
To fix it: stock can't leave before it arrives, so make the records match what really happened: add any receipt that's missing, and date receipts on or before the movements that used the stock. Katana then re-costs those movements automatically. Documents in a closed inventory period can't be changed.
You can spot these movements in three places:
a negative balance in the item's stock movement history
an amber warning icon on that movement, with a Short line in its deliveries ("Costed at 0"), and a Filled line on the receipt that later filled the gap
the negative stock view, described in Understanding negative stock
To prevent it, block order completion without stock in your inventory preferences.
Checking FIFO valuation
Under FIFO, the stock on hand is made up of the most recent deliveries, so your accountant or auditor can match it against your latest supplier invoices. Katana shows this in two places.
Deliveries for one item: stock movement history
Open an item's stock movement history (Inventory Intel) from the Stock screen, the item card or an order. Click the layers icon next to Value in stock after to see the deliveries in stock after that movement, right under its row. They're listed oldest first, so the top one with stock left is used next.
Column | Shows |
In stock since | The date the delivery came into stock at this location |
Delivery | The document it came from, such as a PO or MO. Stock moved from another location keeps its original document, with a note such as "Received 2026-11-09 at Workshop". Returned ingredients read "returned by MO-5". |
This movement | What the movement did to the delivery: Added, Used or Short. Deliveries it used up stay in the list at 0. |
Cost/price per unit | The delivery's unit cost |
Balance after | Quantity of the delivery left in stock after the movement |
Value in stock after | Value of the delivery left in stock after the movement |
To view deliveries from a past date, open the last movement on or before that date.
The icon isn't shown when a batch is selected, because Katana doesn't keep costs per batch.
You need the View cost and stock value permission to see the icon and the deliveries.
If stock came from a location you don't have access to, the delivery shows the transfer that brought it instead of the original document, with the note "The original delivery can't be shown".
Deliveries for all items: export
On the inventory list, export Deliveries in stock for the selected location or all locations, as CSV or Excel. On the current list it shows the deliveries in stock now; with a past date picked, it shows them on that date. Each line is one delivery: item, variant and SKU, location, in stock since, origin document and its date, the transfer it arrived by and where from (if any), quantity left, unit cost and value.
Each location's deliveries are listed separately; nothing is combined across locations.
An item with negative stock has one line with the negative quantity and no value, so totals per item match the inventory list.
A merged delivery (see Items with many deliveries in stock) is one line marked as merged, with no origin document.
FIFO costing and FIFO batch picking
These are separate features:
FIFO or FEFO batch picking decides which batch is picked, for example when Katana assigns batches automatically or the Warehouse app lists batches. It works the same under both costing methods.
FIFO costing decides which cost a movement takes. It always uses the oldest deliveries at the location, whichever batch is picked.
Closed periods and accounting
Closed inventory periods: Documents before the closing date can't change, so costs and values for closed periods never change.
QuickBooks Online: the COGS journal entries carry the FIFO cost. No setup changes are needed.
Xero: the integration doesn't send COGS, so nothing changes.
Your feedback is invaluable. Let us know your thoughts on this article or anything in Katana you'd like to see improved: [email protected]








