In most trade, knowing the item and the quantity is enough. In pharma and medical supplies, two packs of the same item can differ in batch number and expiry date. And that difference affects stock, sales and your customers’ trust.

What is a batch?

A group of units of an item produced together, carrying one number and one expiry date. When you buy the same item more than once, you end up with more than one batch in stock, each with its own date.

Why do you need to sell by batch?

  • Real stock: the item’s total balance isn’t enough. You need to know how much is left of each batch.
  • Expiry: each batch has its date, and managing stock by expiry starts with knowing your batches.
  • Traceability: when every invoice carries the batch number it left from, you know where every batch went.

A batch’s journey from purchase to sale

  1. Purchase: the batch is created automatically on receipt, with its number and expiry date.
  2. Warehouse: balances are shown at batch level.
  3. Sale: the batch is chosen on the invoice, and the system checks its stock before saving.
  4. Return: at the same discounts and taxes as the original invoice.

Common mistakes

  • Selling from a batch with no stock: the total balance allows it, but the chosen batch has run out, so stock goes wrong.
  • Expiry in a separate file: tracking expiry dates in Excel, away from the real stock.
  • Recording the batch after the sale: writing it in by hand later opens the door to mistakes.

Direct sales and distributors

Many pharma companies sell directly and also through distributors. Then it matters to keep the two channels apart, while items, customers and prices stay shared, as at Sunny Medical Group. We cover this in detail in the article on tracking distributor sales targets.

Tips for organising batches in the warehouse

  • Record the batch on receipt: don’t leave it until the sale.
  • Issue by expiry date: make the warehouse rule clear to the team, and pick the batch on the invoice accordingly.
  • Review balances at batch level: don’t settle for the item’s total.
  • Count by batch: a count that only matches the total can hide differences between batches.

Questions to ask any system before choosing it

  1. Is the batch created automatically on purchase, or typed in by hand?
  2. Does the system stop a sale from a batch that has run out?
  3. Are balances shown at batch level in the reports?
  4. Does it track expiry dates with the stock itself, not in a separate file?

How does this work in ONE ERP?

  • Batches created automatically on purchase.
  • Selling from a specific batch, with its stock checked.
  • Expiry dates tracked for the items that need them.
  • Stock balances at the level of each batch.
  • Sales returns at the same discounts and taxes as the original invoice.

More on the ONE ERP for pharma companies page, and the inventory module.