Skip to content
Anzma modulePart of Inventory

Batch and expiry tracking software and serial number system

Know where every batch and every device is, from supplier receipt to customer sale, and never sell an expired item again.

Last updated: 8 min readBe the first to rate this page
Batch and expiry tracking software and serial number system

In short

Anzma’s batches and serials module tracks batch number, expiry date and serial number for each unit from receipt from the supplier to sale to the customer. You choose per item whether it is tracked by batch or by serial; the system asks for the data at receipt, suggests the earliest expiry at sale, blocks expired sales and alerts you a set number of days before expiry.

Who is it for?

  • Pharmacies and pharma companies
  • Labs
  • Food and materials factories
  • Car and device dealers
  • Wholesalers
  • Quality controllers
Tracking types
None, batch (expiry optional), serial number
Issue suggestion
Earliest expiry first (FEFO), otherwise oldest received
Expired sales
A setting blocks selling expired batches
Alert
Days before expiry set by the admin; default 30
Reports
Expiry, batch movement, serial history, tracking overview
Costing
Average per item; no separate cost per batch

What you get, at a glance

  • Expiry date per batch

    Record batch number, production and expiry dates at receipt, and see days remaining in the batch list.

  • Earliest expiry first

    On issue the system suggests the batch nearest expiry (FEFO) for items with expiry, and the oldest received for the rest. You can override it.

  • Block expired sales

    A setting prevents selling expired batches from the invoice, so a salesperson’s slip never sends out a spoiled item.

  • Alert before expiry

    A daily alert lists batches approaching expiry, a number of days ahead that you set, with a list and report ready.

  • Serial per device

    A unique serial number per device with its status: in stock, sold, returned or scrapped, and a full movement history.

  • Supplier-to-customer trace

    Open any batch or serial to see the purchase bill and supplier, sales invoices and customers, returns and warehouses in time order.

Inside the product

Batches and datesA batch list with quantity, expiry date and days left (illustrative view).
On this page
Section 01

What is batch and expiry tracking?

A batch (or lot) is a group of one item made or received together, with its own number, production date and expiry date. Batch tracking means knowing, for every quantity in the warehouse, which batch it belongs to and when it expires, and for every quantity sold, which batch it came from and who received it. It is the difference between a store that knows it has 100 boxes and one that knows 40 of them expire next month.

A serial number identifies one individual unit, such as a mobile phone, an air conditioner or a car, and never repeats for a given item. In Anzma both are handled by the batches and serials module (key: batches_serials), part of the wider inventory management software, which depends on warehouse management.

The module sits on top of ordinary stock movement without changing it. Balances and cost are calculated as usual and a new dimension, the batch or the number, is added. You do not have to enable it if your goods do not expire and need no individual identity; the warehouse works without it with all its other benefits. Cost is one average for the whole item, so each batch does not carry its own cost.

Section 02

Batch or serial number: which one fits your business?

The choice follows the nature of the item, not the size of the company. What is sold in packs and spoils or changes value over time needs a batch and expiry. What matters as an individual, for warranty, maintenance or theft, needs a serial number. One company can use both on different items.

Batch versus serial by business type
BusinessWhat you trackWhyType
Pharmacy and pharma companyMedicine batch and expiryIssue the oldest, recall a batch, avoid expired stockBatch
Medical labReagents and suppliesPrevent use of expired itemsBatch
Factory and raw materialsMaterial lotsTrace a lot’s source and expiry dateBatch
Car showroomChassis numberIdentity of each car from purchase to saleSerial
Devices and equipment tradingDevice numberKnow who bought a device and on which invoiceSerial
Section 03

How is tracking recorded at receipt and sale?

On the item card you set the tracking type: none, batch (with an optional expiry date) or serial number, for stock items only. After that the system asks for the data on every document that moves the item.

On the way in, whether from a purchase bill, a stock receipt or a sales return, you enter the batch number and its dates (or pick an existing batch), and enter serial numbers equal to the quantity. On the way out, from an invoice, a stock issue or a purchase return, you choose the batch or accept the system’s suggestion. One line can split across several batches when one is not enough.

  1. 1

    Enable tracking on the item

    Choose batch or serial on the item card, and say whether it has an expiry date.

  2. 2

    Record at receipt

    Enter the batch number and production and expiry dates, or serial numbers equal to the received quantity.

  3. 3

    Issue with the suggestion

    At sale the system suggests the batch nearest expiry or the oldest serial, and you can change it.

  4. 4

    Monitor and trace

    Watch the near-expiry list, and open any batch or serial to see its full history.

Section 04

How do you watch expiry before you lose money?

Loss on expiring goods comes from discovering expiry late. So the module gives three layers. The first is a batch list showing days remaining, with filters for expired and for expiring within a period you set. The second is a daily alert for what is nearing expiry, a setting you can switch off. The third is blocking expired sales from the invoice, on by default.

Module settings control the number of days for the alert (30 by default), whether issues are suggested automatically, whether expired sales are blocked, whether the batch or serial is printed on the invoice, and whether you receive the daily alert.

Example for illustration: you hold 60 boxes of an item in two batches, the first 20 boxes expiring in 25 days and the second 40 boxes expiring in 8 months. The alert tells you about the first, and at sale the system suggests issuing it first, so it leaves before it spoils.

Real shelf life differs between items: medicine is counted in months and years, fresh food in days, a lab reagent in weeks. So you can raise the alert days if your supplier is slow, or lower them if your goods turn over quickly; an alert that is too early loses its value just as one that is too late does.

A useful habit is to train the team never to close a receipt before checking that the numbers or batches recorded match the quantity actually on the shelf. That moment is the cheapest chance to fix a mistake before it spreads into sales.

  • Batch list with days remaining and an expired filter
  • Daily alert for what nears expiry
  • Expired sales blocked by default
  • Expiry report and batch movement report
  • Serial history report and tracking overview report
  • Optional batch or serial printing on the invoice
Section 05

How do you trace a batch or device from supplier to customer?

Open any batch or serial number to see its history in time order: received on which purchase bill and from which supplier, into which warehouse, moved where, sold on which invoice to which customer, and whether it came back. Each line links to the source document.

This answers two practical questions. If you hear that a batch is faulty, search its number to see how much is left in your warehouses and to whom the rest was sold, then contact them and withdraw it. If a customer brings a device, search its serial number to know it was sold by you, on which invoice and on what date. The module does not manage warranty periods or claims, but it gives the documented basis for them.

Section 06

What about returns, transfers and stock counts?

Tracking does not break on unusual movements. On a sales return the form lists the batches and serial numbers sold on the invoice that have not been returned, and you pick what actually came back; a serial returns to the returned status and can be sold again, and the quantity goes back to the recovered batch. On a purchase return the item leaves from the batch it came in with.

In a transfer between warehouses the batch or serial moves with the item to the new warehouse, so a batch balance shows in each warehouse separately. In a stock count, a surplus on a tracked item has its batch or numbers entered at adjustment, and a shortage lets you choose what is missing, so the trace record stays true after settlement.

The practical benefit is that you can trust the batch report at any time, because no movement bypasses it. That makes the reports useful for internal review and for matching the warehouse to the books.

Section 07

What are common tracking mistakes?

The first is enabling tracking on every item at once, which multiplies data entry, tires the team and invites made-up numbers. Start with sensitive items and widen later. The second is enabling tracking after an item already has movements, because existing stock with no batches will need adjusting with batch data; decide before the first receipt.

The third is entering the expiry date wrongly at receipt, so the product looks expired or far from its real date; have the receiver type the date on the pack itself, not the supplier invoice date. The fourth is turning off the automatic issue suggestion for no reason, which hands the choice back to a salesperson who tends to pick the nearest, not the oldest. The fifth is disabling the expired-sales block to push through an urgent invoice; better to write off the expired item with a stock issue using the expired reason, so the loss is recorded openly.

Section 08

How does tracking connect to stock and sales?

Tracking works inside the ordinary stock documents. It asks for batch data in stock movement notes and in bills from purchasing software, suggests the issue on invoices from sales management software, and its differences are settled in stocktaking software. An item is enabled from product catalog software.

It means you do not work in a separate tracking screen but in the familiar screens with extra fields that appear for tracked items only. The storekeeper receives the shipment on the purchase bill and types the batch numbers, the salesperson issues the invoice and the system suggests the batch, and the count team counts quantities and settles differences without breaking the chain of trace. See the plans for limits.

Section 09

Example: how do you pull a faulty batch within minutes?

An illustrative example with assumed figures for a pharmacy. The supplier tells you batch A-204 of a syrup is faulty. You search the batch number in the batch list and see that 120 boxes arrived on one purchase bill, 85 were sold across several invoices, and 35 remain in the main warehouse.

You isolate the 35 at once by transferring them to the damaged-goods warehouse or writing them off with an issue note and a suitable reason, and you open the 85 invoices to see each sale’s date and customer so your team can contact the customers concerned. This data is documented by the underlying documents, not recalled from memory. The calling and the withdrawal are done by your team, since the system sends no automatic notice.

Section 10

What is the practical difference between a batch and a serial in daily use?

They share a purpose, knowing the identity of what you sell, but differ in the daily details that set the load on your team.

A detailed comparison of batch tracking and serial tracking
AspectBatchSerial
What it identifiesA lot of several unitsOne specific unit
Data at receiptBatch number, production and expiry datesA serial number per unit, matching the quantity
IssuingSuggests the earliest expiryPick a specific number or the oldest
Key reportExpiry and batch movementSerial register
Best forMedicine, food and reagentsDevices, cars and equipment
Section 11

Who needs expiry, batch and serial tracking?

Every business whose value or safety depends on expiry or individual identity. It is enabled in templates such as pharmacy management software, pharma company management software, medical lab management software, factory management software, car showroom management software and wholesale management software.

A pharmacy relies on issuing the oldest expiry first, a lab on blocking expired reagents, a car showroom on the chassis number of every vehicle. Book an online meeting and we will show you tracking on your own items.

Frequently asked questions

What is the difference between a batch number and a serial number?

A batch number belongs to a whole group of one item that has production and expiry dates, such as boxes of medicine made together. A serial number belongs to one unit only and never repeats, such as one particular phone. Use the first for expiry and the second for unit identity.

How do I find items close to expiry?

Use the batch list, which shows days remaining and filters for near-expiry within a period you set, the expiry report, and the daily alert sent a number of days before expiry that you set in settings, 30 by default.

Does the system issue the earliest expiry first?

Yes. On issue it automatically suggests the batch nearest expiry (FEFO) for items with an expiry date, and the oldest received for items without one. You can override the suggestion, and turning off automatic suggestion is a setting in the module.

How do I trace the serial number of a sold device?

Search the serial number in the serial list and open its record. You see which supplier it was received from, which sales invoice it left on, to which customer and on what date, and whether it returned. Its current status is in stock, sold, returned or scrapped.

How do I recall a faulty batch?

Search the batch number and open its movement to see the remaining quantity in each warehouse and the invoices and customers it was sold to. The system provides this documented data, and your team contacts customers and carries out the recall; there is no automatic withdrawal or notice.

Does the system block selling expired items?

Yes. It is a setting, on by default, that blocks selling expired batches from the invoice, and the account admin can switch it off. The system also does not allow issuing more from a batch than its balance in the warehouse.

Who needs expiry tracking?

Any business whose goods spoil or lose validity over time, such as pharmacies, pharma companies, labs and food factories. Serial tracking suits trade in devices, equipment and cars, where the identity of each unit matters to you.

Does each batch have its own cost?

No. Item cost is one weighted average for the whole item, and batches do not carry their own cost. Tracking adds the batch and expiry dimension to quantities and movements, and does not change how cost or journal entries are calculated.

Part of the product line

inventory management software

From item to warehouse to stock count: items and units, multiple warehouses, notes, counts and expiry tracking, linked to your sales, purchasing and accounts.

All Inventory modules

Rate this page

Did you find this useful? Your rating helps others.

No ratings yet.

Share this pageWhatsAppXLinkedInFacebook
Pricing

Clear plans that grow with you

Nearly every module in every plan; plans differ by limits.

Basic

For small businesses getting started

450EGP / mo

Billed 5,400 EGP yearly

Save 24%

Includes:

  • 3 users and one branch
  • 150 invoices per month
  • Every module your activity needs
  • 5GB storage
Book a meeting
Most popular

Advanced

For growing businesses with several branches and warehouses

790EGP / mo

Billed 9,480 EGP yearly

Save 20%

Everything in Basic, plus:

  • 7 users, 2 branches and 3 warehouses
  • 750 invoices per month
  • 2 POS devices
  • 15GB storage
Book a meeting

Comprehensive

Everything: unlimited invoices, manufacturing, custom domain and API

1,590EGP / mo

Billed 19,080 EGP yearly

Save 20%

Everything in Advanced, plus:

  • 15 users, 3 branches and 5 warehouses
  • Unlimited invoices
  • Manufacturing, custom domain and API
  • 30GB storage
Book a meeting

Enterprise

For enterprises: open limits, dedicated server and SLA

Custom

Everything in Comprehensive, plus:

  • Unlimited users, branches and warehouses
  • Dedicated server and SLA
  • Storage on demand
  • Account manager and tailored onboarding
Contact us