In this guide
A chemist's shelf looks orderly, but the real inventory is invisible: the same strip of tablets arrives in three batches, each with its own expiry date, and the oldest is not always the one at the front. When billing software does not know about batches, expired stock gets sold by accident, near-expiry stock gets stuck, and the end-of-month write-off is a surprise. This guide explains how batch and expiry tracking works, what pharmacy billing software should do, and how to choose one.
Why do batch and expiry matter so much in a pharmacy?
Three things are at stake. The first is safety and trust: an expired medicine in a customer's hands is a serious failure, whoever is at fault. The second is regulation: selling expired stock, or keeping poor records for controlled categories, can put a licence at risk, and the rules depend on where you are, so check the current requirements with your drug licensing authority. The third is money: every strip that expires on your shelf is cost you cannot recover.
Most of those losses are avoidable with two habits: record the batch and expiry at the moment stock comes in, and sell the earliest-expiring batch first. Software makes both automatic. Paper and general-purpose billing tools leave both to memory.
What is a batch, and how does batch tracking work?
A batch (or lot) number is printed by the manufacturer on every pack. It identifies a single production run. If a manufacturer recalls a batch, that number is how you find what you hold. Alongside it you record the expiry date, the MRP printed on the pack and the quantity received.
Batch tracking simply means your system stores those four facts for every delivery, and keeps a running quantity for each batch. Two deliveries of the same product are two separate lines. When you sell, the system reduces the right batch, not just the product total.
Why the batch must be entered at purchase
If you skip batch and expiry when you enter a supplier bill, no later report can recover them. The few seconds you save at entry time cost you the whole benefit. Keep the habit of entering them from the pack, not from memory.
How does earliest-expiry-first (FEFO) billing work?
FEFO means first expiry, first out. When a customer buys a medicine you hold in several batches, the bill should draw from the batch that expires soonest, and it should never draw from an expired one. A good system does this automatically, so the cashier does not need to check dates under pressure.
Here is a simple example. You hold three batches of the same tablet: batch A expiring in two months with 10 strips, batch B expiring in eight months with 40 strips, and batch C expiring in fourteen months with 100 strips. A customer buys 15 strips. With FEFO the bill takes 10 from batch A and 5 from batch B, and the printed line shows both batches and both expiry dates. With simple "first in, first out" you might sell from batch C and leave batch A to expire.
How should GST work on a pharmacy bill?
Medicines carry a printed MRP that already includes tax, so the tax on a pharmacy bill is worked out from the MRP, not added to it. Different medicines can fall under different tax rates, so each line carries its own rate. Rates and classifications change, so check the current rules or ask your accountant rather than relying on a table from the internet.
- GST is calculated from the MRP, line by line
- Per-item discounts and automatic round-off, shown on the bill
- A buyer in the same state is charged CGST and SGST; a buyer in another state is charged IGST
- A business buyer's GSTIN printed on the bill
- Batch and expiry printed on every line, and the amount in words at the bottom
What should pharmacy billing software include?
At the counter
- Fast billing with GST from the MRP and automatic earliest-expiry batch picking
- Cash, UPI, card or credit payments, including a split between ways to pay
- Hold a bill and return to it, make a quotation, and take goods back with a credit note
- Print or share as A4, or on an 80 mm or 58 mm receipt
- A block on selling expired stock
- For scheduled medicines such as H1 and X, a prompt for patient and doctor details before the bill can be completed
In the stock room
- Every batch with expiry, MRP and quantity
- Low-stock, near-expiry and expired lists, ideally on one alerts page
- Stock take and adjustments with a reason, and a history for each product
- Separate shop and godown stock, with transfers between them
- Import of your product list and opening stock from a CSV file
With suppliers and customers
- Supplier bills entered with batch, expiry, free quantity, discount and GST
- Purchase orders, goods received against an order, and debit notes for stock returned
- A supplier ledger showing what you still owe
- A customer list with credit sales and dues, and a way to collect payments
Reports
- Daily sales, dues, low stock and expiry at a glance
- GST by tax slab and HSN, stock value and staff-wise reports
- Export to CSV, Excel or PDF, and a full backup
How do you handle near-expiry stock before it becomes a loss?
- Review the near-expiry list weekly. Pick a threshold that suits your stock turnover, such as three months, and look at everything inside it.
- Move it to the front. Put near-expiry packs where staff and customers see them first.
- Talk to the supplier early. Many suppliers accept returns of near-expiry stock, but only within terms you agreed. Ask before the date, not after.
- Return with paperwork. Record a debit note against the supplier so your ledger and stock both match.
- Write off what is left, with a reason. A recorded write-off is a lesson. An unrecorded one is a mystery.
What mistakes do pharmacies make with billing software?
- Entering purchases without batch and expiry, which makes every later alert useless
- Letting cashiers choose the batch by hand, which breaks earliest-expiry-first the moment the counter gets busy
- Treating discounts as informal, so margin reports are wrong
- Keeping scheduled-drug records in a separate register that is never reconciled with sales
- Never doing a stock take, so the system and the shelf drift apart
- Trusting alerts as a replacement for a pharmacist, which they are not
How do paper, a general billing app and pharmacy software compare?
| Need | Paper and manual register | General billing app | Pharmacy billing software |
|---|---|---|---|
| Batch and expiry per pack | Handwritten, easily missed | Sometimes | Built in |
| Earliest expiry sold first | Depends on the person | Rarely | Automatic |
| Block expired stock | No | Rarely | Yes |
| GST from MRP | By hand | Often add-on tax only | Yes |
| Near-expiry list | Manual walk-through | Sometimes | Yes |
| Supplier debit notes | Paper notes | Sometimes | Yes |
| Scheduled-drug prompts | Separate register | No | Built into the bill |
Where does PharmOcta fit?
PharmOcta is Zenocta's pharmacy billing and stock app for chemists and medical shops. It runs on your phone, tablet or the web. Its Google Play listing describes the following.
- Billing: GST worked out from the MRP, per-item discounts and automatic round-off; cash, UPI, card or credit, or a split bill; earliest-expiring batch sold first and expired stock never sold; held bills, quotations and credit notes; A4, 80 mm and 58 mm PDFs with batch and expiry on every line and the amount in words; IGST for buyers in other states and the GSTIN on business bills.
- Compliance prompts: Schedule H1 and X medicines ask for patient and doctor details before the bill can be completed.
- Alerts: well-known serious drug interactions are flagged on the bill and a pharmacist confirms before selling, and duplicate-medicine alerts appear when two products share an ingredient or class. The listing says plainly that these are decision support only and do not replace a pharmacist's judgement.
- Stock: every batch with expiry, MRP and quantity; low-stock, near-expiry and expired lists; stock take and adjustments with a reason; shop and godown stock with transfers; a medicine catalogue with same-salt substitutes; and CSV import of products and opening stock.
- Suppliers and customers: supplier bills, purchase orders, goods received and debit notes; a supplier ledger; customer dues, loyalty points and refill reminders.
- Reports and accounts: daily dashboard, GST by tax slab and HSN, stock value, staff reports, and owner-only accounts including day book, cash book and a profit estimate. The GST worksheets are working sheets for your accountant, not a return filed for you.
- Team: owner, pharmacist, cashier and delivery roles, an activity log and an optional PIN lock for a shared device.
The smart insights are worth a short, honest note. PharmOcta suggests reorder quantities by forecasting demand from your own sales, and points out which batches are unlikely to sell before they expire. These are statistical estimates, and the listing says they get better as you record more sales. Treat them as prompts to look, not instructions to obey.
PharmOcta is a new product: its listing shows a first release, version 1.0, so test it on your real catalogue before you switch fully. Like every Zenocta app it starts on a free tier with limited features, and premium is free for up to 3 months. If a clinic sits beside your medical store, ClinOcta covers clinic records, prescriptions and a pharmacy module together.
How do you get started without disrupting the counter?
- Prepare a product list. Names, HSN, tax rate and MRP in a CSV file, so you can import instead of typing.
- Enter opening stock by batch. Do a stock take on a quiet afternoon and enter each batch with its expiry.
- Add suppliers and regular customers with their dues, so ledgers start correct.
- Set roles and a PIN lock. Owner, pharmacist and cashier each see only what they need.
- Bill in parallel for two days. Keep the old bill book beside the app, then compare.
- Check the alerts page every morning for a week and build it into your routine.
If your wider concern is retail inventory in general, our guides to billing and inventory management software for retail shops and GST billing software for small business cover the basics that apply to any counter. Browse every option on the Zenocta apps page, and if your pharmacy chain needs something specific, contact us to discuss a custom build.
Try it live
Open the real thing: demos run in a new tab with sample data, apps link to their own page.
App pagePharmOctaGST billing with batch and expiry stock, dues, returns and reports.
Google PlayPharmOcta on Google PlayInstall the Android app, also available on the web.
App pageClinOctaClinic software with a pharmacy module, if a clinic sits beside your store.- ABrowse allAll Zenocta appsBilling, health and workforce apps.
Frequently asked questions
01What is batch and expiry tracking in pharmacy software?
It records the batch number, expiry date, MRP and quantity for every delivery of a medicine, and reduces the correct batch when you sell. That lets the software warn you about expiring stock and avoid selling expired packs.
02What does earliest expiry first mean?
It means that when a medicine is held in several batches, the bill draws from the batch that expires soonest. PharmOcta does this automatically and never sells expired stock, according to its Google Play listing.
03How is GST calculated on a pharmacy bill?
The printed MRP already includes tax, so GST is worked out from the MRP rather than added on top, and each item carries its own rate. Rates change, so confirm the current rules with your accountant.
04Does PharmOcta replace a pharmacist?
No. Interaction and duplicate alerts are decision support only. The listing says they do not replace a pharmacist's judgement or a prescriber's advice, and the medicine catalogue is for reference. Always verify with a licensed pharmacist or doctor.
05Can PharmOcta file my GST return?
No. PharmOcta produces GST worksheets for your accountant, which the listing describes as working sheets, not a return filed for you. Filing is done by you or your accountant on the official portal.




