Home / Answers / Multi-outlet pharmacy and retail operations
Multi-outlet pharmacy and retail operations
How do I see sales from all my pharmacy outlets in one place, without replacing my billing software?
By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses.
You don't replace the billing software. You read its data. A small program on each shop PC picks up the bills every minute and sends them to one central place, so the owner sees every outlet on one screen while the counter staff keep billing exactly the way they always have.
That is the approach I took for a multi-outlet pharmacy chain in Kerala, and I would take it again.
The problem: every shop is an island
Each shop ran the same billing software on its own PC, offline. There was no central server. To see what a shop sold, someone had to remote into that PC with AnyDesk, open the reports and copy numbers out. The accountant did this shop by shop. The owner saw the business a day or a month late, through a sheet someone typed.
The usual advice is "move everyone to a cloud billing system". I didn't, for three reasons:
- The staff already know the billing software. Retraining every counter, in every shop, in the middle of business, is where these projects die.
- The billing software was not the problem. It recorded every sale correctly. The problem was that the records were stuck on separate machines.
- The books already worked. The accountant kept Tally. Ripping things out would have broken her month-end too.
My rule is to build around what already works. Move the data, not the people.
How the reading works
I worked out how the billing software stores its bills, then wrote a small kit that runs on each shop PC:
- Every minute, it reads the last seven days of sales and purchase bills and sends them to the server. It reads twice, a few seconds apart, so a bill that is half-saved at the counter isn't sent in a broken state.
- Every night, it re-reads a longer window, about six weeks, to catch late edits and bills typed in after the fact.
- It is read-only. It never writes to the billing software. If my kit stopped tomorrow, the shop would keep billing like nothing happened.
The server joins it all up. Outlets come from the data, not from a list I typed in. If the owner opens a new shop and installs the kit, the shop appears. If a shop shows up that the system doesn't know, it raises a flag instead of quietly dropping it.
What the owner sees now
- Sales for any day, across every shop, without asking anyone.
- Purchase bills by supplier, which then feeds the weekly supplier payment check (I wrote about that in how to stop paying a supplier twice).
- What is still owed to each supplier, bill by bill: billed, paid, still owed.
- Old stock that is past expiry but still on the books, which nobody had counted, because nobody could see all shops at once.
Nobody remotes into a shop PC to read numbers anymore. That chore is gone, not moved to someone else.
The honest limits
- A PC that is off, or has no internet, can't send. The kit catches up when it comes back, but a shop that never connects stays dark. The fix there is a person plugging in a cable, not more code.
- Reading data only shows what was billed. Stock that leaves the shop without a bill won't appear in sales. That needs a different check.
- It needs one-time access to each PC to install. After that, nobody has to touch it.
What to ask before you build this
If you run several shops and want one view:
- Does your billing software keep its data on the shop PC? (Most offline ones do, in a database file.)
- Does the vendor offer an export or a central server add-on? Sometimes the cheapest answer is to switch that on. Ask them first.
- Who needs the view, and for what decision? "See everything" is not a requirement. "See yesterday's sales and cash for every shop before 10 am" is.
- Will anyone at the shop have to do anything new? If the answer is yes, try again. Automatic should mean zero steps for the staff.
The billing software is usually fine. What's missing is a pipe from each shop to the owner. That pipe is a small, boring, reliable piece of software, and it changes how the owner runs the business.
Want this built for your business?
Tell me about the work that eats your week. Book a 30-minute call, or email hello@asadulelah.com.
BOOK 30 MINUTES →Related answers
- How do I stop paying a supplier twice?
- How do I find out who is short at the cash counter?
- Should I buy software or build custom software for my business?
More in Multi-outlet pharmacy and retail operations · All answers · About Asadulelah