On this page
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.
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.
| Business | What you track | Why | Type |
|---|---|---|---|
| Pharmacy and pharma company | Medicine batch and expiry | Issue the oldest, recall a batch, avoid expired stock | Batch |
| Medical lab | Reagents and supplies | Prevent use of expired items | Batch |
| Factory and raw materials | Material lots | Trace a lot’s source and expiry date | Batch |
| Car showroom | Chassis number | Identity of each car from purchase to sale | Serial |
| Devices and equipment trading | Device number | Know who bought a device and on which invoice | Serial |
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
Enable tracking on the item
Choose batch or serial on the item card, and say whether it has an expiry date.
- 2
Record at receipt
Enter the batch number and production and expiry dates, or serial numbers equal to the received quantity.
- 3
Issue with the suggestion
At sale the system suggests the batch nearest expiry or the oldest serial, and you can change it.
- 4
Monitor and trace
Watch the near-expiry list, and open any batch or serial to see its full history.
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
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.
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.
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.
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.
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.
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.
| Aspect | Batch | Serial |
|---|---|---|
| What it identifies | A lot of several units | One specific unit |
| Data at receipt | Batch number, production and expiry dates | A serial number per unit, matching the quantity |
| Issuing | Suggests the earliest expiry | Pick a specific number or the oldest |
| Key report | Expiry and batch movement | Serial register |
| Best for | Medicine, food and reagents | Devices, cars and equipment |
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.
Rate this page
Did you find this useful? Your rating helps others.
No ratings yet.


