Lot codes explained: the small label that makes a recall possible
A lot code links every crate to where it was grown, cooled and sold. Learn how one-step-back, one-step-forward traceability works and why buyers now ask for it.
Traceability2 min read

Every crate that leaves a farm carries an invisible question: where did this come from, and what happened to it on the way? A lot code is the answer written on the outside.
What a lot code is
A lot code (also called a batch code or traceability lot code) is a short identifier given to a group of produce that was grown, harvested and handled together. It is written or printed on every crate in that group. On its own it means nothing. Its value is that it points to a record.
That record says which farm or greenhouse it came from, when it was harvested, what was sprayed on it, which cold room it sat in, and who it was sold to.
One step back, one step forward
Food law in the European Union has long required every business in the food chain to know where its food came from and where it went. That is “one step back, one step forward”: you do not need to know the whole chain, only your supplier and your customer, as long as everyone in the chain does the same.
Buyers who export, or who supply exporters, now pass that expectation down to their own suppliers. A smallholder cooperative that can answer “one step back, one step forward” in minutes is a supplier a serious buyer can work with.
The events that matter
Traceability systems describe the life of a batch as a series of critical tracking events, and the details recorded at each one as key data elements. For fresh produce the events are usually:
| Event | What gets recorded |
|---|---|
| Growing | Inputs applied, product, dose, date and waiting period |
| Harvesting | Where, when, crop, quantity, who harvested |
| Cooling and packing | Where the lot code is assigned |
| Storage | Room, time in, time out |
| Shipping and receiving | From, to, quantity, vehicle, delivery note |
| Transformation | Sorting, splitting or merging, linking new codes to old |
Why one code, not several
The most common traceability failure is not a missing code. It is too many codes: one at the farm, another at the cold room, a third on the invoice, and nobody can join them up. A good system has one lot code from packing onwards, and every later document carries it.
Recalls and practice runs
The test of traceability is a recall. If a problem is found in one shipment, can you find every related batch, farm and buyer quickly? The best way to know is to practise: pick a few dispatched lots each quarter, trace them both ways, and time it.
How Food Supply OS handles it
Food Supply OS assigns one lot code at packing and ties every later event to it, from cold room entry to the buyer’s receipt. Pooled batches keep each farmer’s share. Splits and merges link new codes to the codes that went into them. Trace back or forward from any lot, and a buyer can scan a crate to see the history approved for them.



