How should a D2C brand track batch numbers and expiry dates?
Track batch and expiry from goods receipt to customer so you can sell oldest stock first, handle recalls and avoid expired dispatches. A practical guide.
Anadoris Digital · · 4 min read

For food, supplements, cosmetics, personal care and pet products, batch and expiry are not optional detail. Marketplaces have their own rules on how much shelf life must remain when stock is sent to them, customers complain about short-dated products, and a quality issue with one batch can turn into a recall.
Spreadsheets cannot keep up once you have several batches of the same SKU in stock at once. An ERP with batch tracking turns each batch into its own stock line that moves through the business.
Capture batch details at goods receipt
The batch record starts when finished goods arrive from your contract manufacturer. The goods receipt note should record the batch number printed on the pack, the manufacture date, the expiry or best-before date and the quantity per batch. Attach the manufacturer’s certificate of analysis or quality report to the batch if your category requires one.
If a single delivery contains two batches, receive them as two lines. Mixing them at this point makes every later step unreliable.
Pick by first-expiry-first-out
First-expiry-first-out, often written FEFO, means the batch with the nearest expiry ships first. An ERP can suggest or enforce the batch at picking time. Barcode scanning confirms the picker took the right batch.
- Set a minimum remaining shelf life per channel, matching each marketplace’s current rules.
- Block batches below that threshold from being allocated to that channel.
- Move near-expiry stock to a separate location for discounting, staff sales or disposal.
- Alert the team when any batch crosses a set number of days before expiry.
Trace batches forward and backward
Forward traceability means you can list every order and customer that received a given batch. Backward traceability means that from a customer complaint you can find the batch, its receipt date and its manufacturer. Both depend on the batch being recorded on every outward document.
If your manufacturer also tracks raw material lots against your batch, ask them to share that link. It lets you answer questions about ingredients without waiting for them.
Returns and batch tracking
Returned items must come back into the batch they left from, after inspection. If the returned unit is opened, damaged or close to expiry, move it to a quarantine or scrap location rather than saleable stock. Without this step, expired returns can be resold by mistake.
Batch tracking setup checklist
- Batch tracking switched on for every SKU that has a shelf life.
- Goods receipt form requires batch number, manufacture date and expiry date.
- Stock reports show quantity by batch and by expiry month.
- Picking enforces or suggests FEFO and records the batch on the order.
- Minimum remaining shelf life set per channel.
- Near-expiry alert and a separate location for short-dated stock.
- A recall report that lists customers and orders by batch.
Shelf-life rules for marketplaces and quick-commerce partners change and differ by category. Confirm the current requirement with each partner before setting thresholds.
Batch tracking on marketplace and quick-commerce stock
When you send stock to a marketplace fulfilment centre or a quick-commerce partner, record which batches went in each shipment. The partner may not report sales by batch, so you cannot always trace a single customer order, but you can trace which shipment and partner received a batch. That is often enough to act quickly if a batch has a problem.
Plan these shipments around expiry. Partners that need a long remaining shelf life should receive your freshest batches, while your own website, where you control dispatch, can take batches closer to their limit. An ERP that shows stock by batch and expiry date makes this allocation a quick decision rather than a guess.
Labels that carry batch information
Ask your manufacturer to print batch number and expiry clearly on every unit and on outer cartons. If possible, include them in a barcode on the carton label so receiving staff can scan instead of type. Typing errors in batch numbers are common and they break traceability exactly when you need it.
For products that are made in your own unit, the same principle applies further back. Record raw material lots as they are consumed into each finished batch, so that a problem with one ingredient lot can be traced to every finished batch and every order that used it. Small brands working only with contract manufacturers can ask for this link in the manufacturer’s batch documents instead.
Where to start
- Count current stock by batch and expiry and load it as opening balances.
- Make batch details mandatory on every goods receipt from today.
- Label shelves so different batches of the same SKU sit apart.
- Run a weekly near-expiry report and decide on each batch.
- Test a mock recall once: pick a batch and list every customer who received it.
Anadoris Digital builds batch and expiry flows into ERP setups for brands in regulated categories, starting from how your manufacturer labels each batch.
Related service: ERP Solutions · More on this topic: ERP Solutions articles
