Ubika
← Ubika blog

Serial numbers, batches and expiry dates: what to track

November 26, 2026 · 7 min read

Batch, serial number and expiry date are three pieces of data a warehouse can record on top of the SKU and the quantity. Each one costs work (it has to be read on receipt, stored separately and checked at picking) and each one solves a different problem. Here is what each one is, when you need it and how to run it day to day without slowing the warehouse down.

What each one is

Swipe the table sideways to see all the columns →
DataWhat it identifiesExample use
Batch (lot)A group of units made or packed under the same conditionsRecalling only the affected batch and knowing who it was shipped to
Serial numberA single, unique unitWarranties, repairs and checking that a return is the unit that was sold
Use-by or best-before dateUntil when it can be sold or consumedShipping what expires first, first, and never selling anything expired

When you need each one

  • →Batch: food, cosmetics, cleaning products or chemicals, and anything that could face a recall. In food, Regulation (EC) No 178/2002 (Article 18) requires being able to identify who supplied each food and which businesses it was supplied to: one step back and one step forward. Recording the batch on receipt and on dispatch is how it is done in practice.
  • →Expiry date: anything perishable. Regulation (EU) No 1169/2011 (Article 24) distinguishes the date of minimum durability from the use-by date, which applies to foods that are highly perishable from a microbiological point of view; after that date, the food is deemed unsafe. For the warehouse both are handled the same way: each batch with its date, and outbound by date.
  • →Serial number: electronics, machinery, high-value items, anything with an individual warranty or that could be returned swapped for another unit. Recording the number at dispatch lets you check, when it comes back, that it is the same unit.

If an item carries none of those risks, do not switch on batch or serial tracking for it: every extra piece of data means extra scans forever.

How it works day to day

  • →At receiving: the batch (and its date) or the serial number of each unit is read, usually from the manufacturer’s barcode or label. If a pallet contains two batches, they are two separate receipts. We explain it in goods receiving step by step.
  • →At put-away: better not to mix two batches in the same location; if they are mixed, the software has to know how many units there are of each.
  • →At picking: the software says which batch to take (the one that expires first, if there is a date) and the operator confirms it by scanning. See FIFO, FEFO and LIFO.
  • →At dispatch: it is recorded which batch or serial number went in each order and to which recipient. That is the “step forward” that lets you trace a recall.
  • →On returns: the serial number or batch of what comes back is read and compared with what was shipped.
  • →Expired and about to expire: a regular report of what expires in the coming days, so it can be sold, set aside or withdrawn before it is too late.

Where to find a product’s batch

In food, Directive 2011/91/EU requires the lot indication to be preceded by the letter “L”, unless it is clearly distinguishable from the other labelling, and to appear on the packaging or on a label attached to it. In practice it is usually near the date, and often also inside the manufacturer’s barcode when it uses a GS1 code with additional data. If the supplier does not print it legibly or leaves it off the delivery note, ask for it: without the batch on receipt there is no traceability on dispatch.

Mistakes that break traceability

  • →Recording the batch only on receipt: if you do not record which batch left in each order, a recall means warning every customer.
  • →Choosing the batch by eye when picking: the one at the front goes, not the one that expires first.
  • →Mixing batches in a location without recording it.
  • →Giving made-up serial numbers to units that do not carry them: if they cannot be read from the product, they prove nothing.
  • →Switching on batch tracking for the whole catalogue “just in case”.

If you handle food or frozen goods, continue with warehouse software for food and frozen goods; and for a recall, with how to locate a batch.

How much work it adds

Every extra piece of data is one more scan on receipt and, for serial numbers, one per unit at picking as well. With batches, if the manufacturer’s barcode already carries them, the cost is almost nil; if they have to be typed in, it shows. That is why it pays to ask the supplier to put the batch and date in the barcode or at least on the delivery note, and to switch tracking on only for the families that need it.

How it works in Ubika

In Ubika each item is marked on its record as batch-tracked or serial-tracked; the PDA asks for the batch and expiry date (or the serial number) on receipt, picking goes FEFO, FIFO or LIFO depending on the item, and the “Lot recall” report takes you from a batch to the orders, recipients and tracking numbers it shipped in. See how Ubika works.

Frequently asked questions

What is the difference between a batch and a serial number?
A batch (or lot) identifies a group of units made or packed under the same conditions: they all share the same code. A serial number identifies a single unit: no two are the same. With a batch you know who you shipped units of that group to; with a serial number you know exactly which unit each customer has.
What is the difference between a use-by date and a best-before date?
Regulation (EU) No 1169/2011 distinguishes the date of minimum durability (“best before”) from the use-by date, which applies to foods that are highly perishable from a microbiological point of view. After the use-by date, the food is deemed unsafe.
Is it mandatory to record batches in the warehouse?
In food, Regulation (EC) No 178/2002 requires food business operators to be able to identify who supplied them and which businesses they supplied. Recording the batch on receipt and on dispatch is the practical way to comply. In other sectors it depends on their rules and on what the manufacturer or the client requires.
Can you track batch and expiry date together?
Yes, and it is the norm in food and cosmetics: each batch carries its date. The warehouse keeps stock by batch, and at picking the one that expires first leaves first (FEFO).

Keep reading

What Ubika does: warehouse management software · software for 3PLs · WMS for e-commerce

Tell us how you work and we'll set it up

Tell us what you move, which stores and carriers you use and how you run it today. We fit it to your warehouse; anything missing, we build.

No lock-in, no card required. You can also email us at hello@ubikawms.com.