Skip to content

How to track batch and expiry dates for medicines and food stock

Inventory guide, 3 min read. Updated 19 November 2026.

Medicines, food and cosmetics lose their value on the day they expire, and selling expired stock is a legal and reputation risk. A simple routine, supported by batch tracking, keeps losses low: record the batch and expiry when stock arrives, sell the oldest first, and review what is near expiry every week.

Record batch and expiry at the door

Every time goods arrive, record the batch number and the expiry date for each batch. Do not leave it to the billing desk later. Different batches of the same item can have different expiry dates, so stock is tracked by batch, not just by item.

Sell the earliest expiry first

The rule is first expiry, first out (FEFO). It is different from first in, first out, because a batch that arrived later can expire sooner. Always sell the batch with the earliest expiry date that is still valid. Never sell expired stock.

A weekly expiry routine

  1. List all batches that expire in the next 30, 60 and 90 days.
  2. Move near-expiry stock to the front and tell the sales team.
  3. Offer discounts or bundles on stock close to its expiry date.
  4. Ask the supplier about returns or replacement before the expiry date, where the supplier allows it.
  5. Remove expired stock from sale and record it as a write-off, keeping the reason.

Returns and write-offs

  • Return near-expiry stock to the supplier with a debit note where possible. The stock goes back from the same batch it came from.
  • Record expired stock as a stock adjustment with the reason, so your stock value and your records agree.
  • Keep your own licence and record-keeping obligations in mind. They depend on your trade and state, so check them with your advisor.

How NexGen ERP helps

  • Switch on batch tracking and expiry tracking for an item, and enter the batch number and expiry date on purchases, goods receipts and stock adjustments.
  • When you bill, the batch expiring first is picked automatically and expired batches are skipped. You can still choose a batch by hand.
  • The Batch expiry report lists expired batches and those expiring by the date you choose.
  • Each item has a batches page, and batch numbers and expiry dates print under the item on the invoice.
  • Sales returns go back into the batch that was sold, and a purchase return takes stock from the batch you hold.
  • It does not keep drug licence registers or prescription records. See how it fits pharmacies and medical distributors and FMCG and food distributors.

Frequently asked questions

Can the same batch number have two expiry dates?

No. A batch number is tied to one expiry date. If the supplier gives a different expiry for new stock, use a different batch number.

Can I switch on batch tracking for an item that already has stock?

Not once stock movements exist for that item. Decide before you start, or create a new item for the tracked stock.

What happens to expired batches when I bill?

Expired batches are skipped automatically, and choosing one by hand is refused.

This guide is general information, not tax, legal or accounting advice. GST rules, rates, limits and due dates change by notification, so confirm the current position with your Chartered Accountant or the GST portal before you act.