Skip to content
Operix Systems

Blog

Pharmacy software in Pakistan: batch, expiry and billing

Pharmacy software in Pakistan must record the batch number and expiry date of every pack as it is purchased, sell the earliest-expiring batch first, list stock nearing expiry in time to return it to the distributor, and let the counter find a medicine by brand, generic name or barcode in a few keystrokes.

By Operix Systems · · 6 min read

Every pharmacy owner knows the box at the back of the shop: strips and bottles that expired quietly on the shelf. Nobody stole them and nobody sold them. They were bought, placed behind newer stock and forgotten. Much of it could have gone back to the distributor if someone had seen the date in time.

Why ordinary shop software is not enough

A general store's POS knows that you hold forty packs of an item. A pharmacy needs to know that some of those packs belong to a batch expiring in March and the rest to one expiring next year. The price can differ as well, because the retail price printed on the pack may change from one batch to the next. Software that keeps a single quantity and a single price per item cannot answer the questions a pharmacy asks every day.

Batch and expiry start at the purchase entry

The only moment batch and expiry can be captured reliably is when the distributor's invoice is entered. Each line carries the batch number, the expiry date, the quantity, any bonus packs and the trade and retail prices. It takes longer than typing a total, and this is the point where many pharmacies give up. Good pharmacy software keeps the entry quick: the last purchase of the same item is offered as a starting point, and an impossible date, such as one already past, is refused.

At the counter the system then picks the batch with the nearest expiry on its own. The pharmacist can choose another when a customer needs a longer date, but the default clears old stock first.

What pharmacy software does at each point

MomentWhat the software should doWhy it matters
Purchase entryRecord batch, expiry, bonus and prices on every lineEverything later depends on it
Sale at the counterOffer the earliest-expiring batch firstOld stock leaves before new
Loose tabletsSell part of a pack and keep the remainder in stockStrips and single units stay counted
Every weekList stock expiring within the period you chooseThere is time to return it or move it to a busier branch
Return to distributorRaise a return note against the supplier's balanceThe claim is not forgotten
Recall of a batchShow where that batch is and which bills it was sold onA recall becomes a search, not a hunt along every shelf

Near-expiry returns to distributors

Distributors accept expiring stock back only within a window, and the terms differ from company to company. That makes the near-expiry report a calendar, not a curiosity. Set the warning period to suit your suppliers' terms, print the list by distributor, pull the stock off the shelf and raise the return in the system, so it stands against that supplier's balance. When the credit note arrives, it is matched to the return. Without that last step, returns are handed to the distributor's salesman and remembered by nobody.

Move stock that has already expired to a separate "expired" location in the system. It can then no longer be sold by mistake, and its value stays visible until it is settled or written off.

Substitutes and generic search

A customer asks for a brand; the shelf may hold another brand of the same formula. If every item is linked to its generic name and strength, the counter can type either one and see each matching product in stock, with its batches and prices. Whether a substitute may be offered is a decision for the pharmacist and the rules that apply to your pharmacy, not for the software. The software's job is to show the options quickly.

A fast counter

  • Search that works on the first few letters of a brand or a generic, and on the barcode.
  • Quantity in packs, strips or single tablets without leaving the keyboard.
  • A bill that can be held while the customer fetches something and the next person is served.
  • Returns against the original bill, with the stock going back into the right batch.
  • Billing that carries on when the internet drops, and syncs afterwards.

If your pharmacy is required to connect its counter to FBR, plan that at the start. Our guide to FBR POS integration explains what to ask a vendor, and your tax adviser will confirm whether it applies to you.

Getting started without closing the shop

  1. Build the item list

    Brand, generic name, strength, pack size and company for each product, with the barcode where the pack carries one.

  2. Count by batch

    Do the opening count shelf by shelf, writing the batch and expiry for each quantity. It is slow once, and every expiry report afterwards rests on it.

  3. Enter purchases the day they arrive

    Each distributor invoice goes in with batch and expiry before the stock reaches the shelf.

  4. Bill every sale through the system

    Including loose tablets and items given to regular customers on account.

  5. Run the near-expiry list weekly

    On a fixed day, with one person responsible for pulling the stock and raising the returns.

A medical store with one counter needs a POS with batches, not a full ERP; the smallest setup is our POS and khata app for small shops. A chain needs branch stock, transfers and a central view, which is where multi-branch software comes in. Operix builds POS systems with batch and expiry tracking for pharmacies. To try it with your own distributor invoices, book a demo.

Questions people ask

What should pharmacy software do that normal POS software does not?

It tracks every medicine by batch and expiry date, sells the nearest expiry first and reports stock that is about to expire. It also searches by generic name and sells loose units from a pack.

Can the software warn before medicines expire?

Yes. A near-expiry report lists each batch that will expire within the period you set, grouped by distributor, so returns can be raised in time.

Can it handle bonus packs and different prices per batch?

It should. Bonus quantities are entered on the purchase line so the real cost per pack is known, and each batch keeps its own retail price.

Does pharmacy software work for more than one branch?

Yes. Each branch keeps its own batch-wise stock, and near-expiry stock can be transferred to a branch where it sells faster.

How much does pharmacy software cost in Pakistan?

It depends on the number of counters and branches and on any integration you need. Operix does not publish prices; you get a written quote after a short discovery call.

Tell us how your business runs today.

We'll show you what it looks like as one system. We don't publish prices: every quote starts with a conversation.