InvisOne

Lots and batches: tracking stock by lot and expiry date

What a lot is and what Lots & Batches does: it lists every lot your stock is held in, with what remains and when it expires. Which products keep lots, how a lot is created on receipt, how issues choose a lot, and what happens to expired stock.

6 min readUpdated 2026-11-01

What is a lot?#

Some stock is not interchangeable even when the product is the same. A pallet of yoghurt received on Monday expires on a different day from one received on Thursday. A batch of tablets has to be traceable to the receipt it came in on, and recalled if that batch is bad.

A lot is that batch: a quantity of one product in one warehouse, received under one lot number, with an expiry date and a manufacture date if you record them.

What Lots & Batches does: it lists every lot your stock is held in, with the product, the warehouse, how much was received, how much remains, and when it expires, so you can see what to sell first and what is about to go off. Each lot opens to its full movement history.

Which products keep lots#

A product keeps lots when Track lots and expiry is ticked on its Inventory Settings tab. That works under any valuation method: the cost still comes from the method, and the lot carries quantity and dates.

A product costed by specific identification always keeps lots, because its cost is the lot's own receipt cost. There the box is ticked and locked.

Either way, the choice is fixed once the product's stock has moved. Decide it on the product before the first receipt.

How a lot is created#

There is no New button. A lot exists only because stock came in under its number, which is what gives it a quantity. Every inbound movement of a lot-tracked product names the lot the stock goes into:

  • A goods receipt line takes a lot number and an expiry date. Where one line arrived in several batches, choose Split into lots and enter each lot with its own quantity and expiry. The lot quantities must add up to the accepted quantity. A line with serial numbers needs no lot rows: each unit is already its own lot.
  • An opening stock import needs a lot or batch number for each lot-tracked item.
  • A stock adjustment that adds stock names the lot it goes into.
  • A stock transfer carries the lot number, cost and expiry from the source warehouse into the destination.
  • A stock conversion or an assembly order names the lot of what it produces.
  • A customer return goes back into the lot the delivery shipped it from.

A lot belongs to one product, one variant and one warehouse. The same lot number in two warehouses is two lots, one in each. Receiving more under a lot number the warehouse already holds tops that lot up, at the quantity-weighted cost of the two.

How an issue chooses a lot#

Deliveries, transfers, conversions, assembly orders and adjustments that take stock out offer a lot picker on each line of a lot-tracked product. Each option shows the lot, what remains and its expiry date.

  • Choose a lot to take the stock from that one. A lot must be in the warehouse the stock leaves from and hold enough.
  • Leave it empty and the lot that expires first is used (lots without an expiry date come last, then the oldest). If that lot does not hold the whole quantity, the issue is split across the lots in the same order, each part its own movement, so a reversal puts each lot back exactly.
  • Under specific identification the lot must be chosen, because it decides the cost.

Stock of a lot-tracked product leaves only from a lot. If the warehouse's lots together do not hold the quantity, the issue is refused and the message says so.

Expired stock#

A lot is Expired once its expiry date has passed, in the workspace's time zone.

Two business rules govern it:

RuleDefaultWhat it does
Issuing an expired lotWarn (ask first)Warn (ask first): you are asked before stock leaves an expired lot and can continue. Block: stock cannot be issued from an expired lot, and an issue that names no lot passes over expired lots to the next one still in date. Allow (do not check): no check is made. The lot pickers mark expired lots either way.
Lot expiry alert (days)30How many days before a lot expires the Lot nearing expiry notification goes out. The same window decides which lots the list calls Expiring Soon.

A stock count or adjustment that writes expired stock off its lot is always allowed, whatever the first rule says. That is how expired stock is disposed of, and the loss goes to the account of the adjustment's reason - Inventory Write-off for the starter Stock Adjustment - Expired reason, if Accounting is installed.

Using Lots & Batches#

Go to Inventory → Lots & Batches. The list opens on the In stock tab and is sorted by expiry date, earliest first.

TabShows
In stockEvery lot that still holds stock
Expiring SoonLots holding stock that expire within the alert window
ExpiredLots holding stock whose expiry date has passed
AllEvery lot, including ones that are used up

Each row shows the Lot Number, Product, SKU, Variant, Warehouse, Cost, Original and Remaining quantity, Expiry Date and Expiry Status (Active, Expiring soon, Expired or Used up), and the Manufacture Date can be added from the column picker. Search, filters, export and the column picker work as on every other list. The Cost column is shown only to members who can see product costs.

Open a lot to see its page: the product, the quantity On hand, the warehouse, the expiry and manufacture dates and the original quantity, then every movement through the lot with its date, type, source document, quantity in or out and running quantity. Each source number opens the document that moved it.

A lot has no edit screen. Delete is offered only for a lot no stock has moved through; once anything has moved through it, it stays as part of the record.

Who can see it#

The screen opens for members who can view Lots & Batches, and for members who can view products. Lot costs follow the same right as product costs.

Common questions#

What is a lot? A quantity of one product in one warehouse, received under one lot number, with its expiry and manufacture dates. Lots & Batches lists every lot with what remains and when it expires.

How do I create a lot? You do not create one directly. Enter the lot number on the receipt, adjustment, conversion or assembly order that brings the stock in, and the lot is created with it.

Do I need specific identification to track expiry dates? No. Tick Track lots and expiry on the product under any costing method. Specific identification is only needed when each lot must carry its own cost.

Which lot does a delivery take if I do not choose one? The lot that expires first. If it does not hold the whole quantity, the delivery takes the rest from the next lots in expiry order.

Can I sell an expired lot? Yes, unless Issuing an expired lot is set to Block. Under Warn (ask first), the default, you are asked first and can continue. The lot pickers mark expired lots either way, and writing expired stock off with an adjustment is always allowed.

Why is a lot listed twice? The same lot number is held in two warehouses. A lot belongs to one warehouse, so a transfer creates or tops up the lot of that number at the destination.

What happens next#

Work the Expiring Soon tab regularly: sell, move or mark down what is about to expire. Write off what has expired with a stock adjustment under an expiry reason, so the loss is visible as a loss.

The product's whole history, across all its lots, is on the product ledger.