Home / Answers / Multi-outlet pharmacy and retail operations
Multi-outlet pharmacy and retail operations
How do I stop paying a supplier twice?
By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses.
You stop paying a supplier twice by checking every payment line against that supplier's unpaid bills before the money goes out, not after. If a line asks for more than the supplier is still owed, it should stop on its own and wait for a person.
That sounds obvious. Almost nobody does it, because the check is boring and it has to happen every single week.
How a chain ends up paying the same bill twice
I built a payment check for a multi-outlet pharmacy chain in Kerala. Like a lot of chains, they paid suppliers once a week from a list. Each shop made its list, the lists became bank files, and the money went out on the same day.
The doubles came from two places:
- A payment that didn't clear. A line fails or is held back, and the same bill rolls into next week's list. Then someone pays it by hand too.
- Bills entered late. A bill typed into the billing software weeks after it arrived looks new. If it was already paid from a paper copy, it gets paid again.
Before the system, the only safeguard was the owner reading the lists and using what he called common sense. Common sense works until the week you are tired.
What the system does before money leaves
The check runs on the weekly payment day, shop by shop:
- It knows who the supplier really is. One supplier can be typed ten different ways across shops. I join them by GST number (with the check digit verified), not by spelling. Look-alike names only merge when a person says yes.
- It lines up that supplier's unpaid bills at that shop, up to the cut-off day.
- It tries to explain the amount. Does the line match one bill? The whole week? A run of consecutive days? Half or a third of one bill, paid in parts? The oldest few bills? It allows a tiny rounding difference per bill and nothing more.
- It marks every line with one of four words:
- OK: the amount matches bills that are still unpaid.
- Check: it could be right, but a person should look.
- Pay less: part of it is already paid. Here is the amount that is actually still owed.
- Hold: nothing unpaid explains this. Don't send it.
- It watches the bank details. A known supplier with a new account number or IFSC is flagged and left out of the file until someone confirms it. That is how a lot of payment fraud starts, so it gets its own rule.
The owner doesn't make the bank file anymore. The system reads the sheet the shops already fill in and builds the file. Lines marked Hold simply aren't in it.
The part people get wrong: not every "double" is a double
When I first showed the owner the flagged lines, his answer was fair: some of those are big bills paid in two parts, so they aren't doubles at all.
He was right about some of them. That is why the system doesn't shout "fraud". A split payment is one of the patterns it tries before it flags anything, and when it still can't explain a line, the word is Check, not Hold. A person makes the call.
The lesson I took: a payment check is only useful if the owner trusts its words. If it cries wolf, he stops reading it. So I would rather mark a line Check and be wrong than mark it Hold and be wrong.
Why "paid" needs a careful definition
A bill counts as paid from two sources: the lines the system itself sent, and the settlements recorded in the billing software. When both exist for the same bill, it takes the larger one. It never adds them together, because that would make a bill look paid twice and hide real money owed.
The bank statement confirms payments, but it doesn't mark bills paid on its own. A statement line says money left. It doesn't say which bill it was for.
What to ask before you trust any payment check
If you are looking at software (mine or anyone's) to stop double payments, ask:
- How does it decide two supplier names are the same supplier? By GST or by spelling?
- What happens to a line it can't explain? Does it stop, or just warn?
- Does it handle a bill paid in parts?
- Does it notice when a supplier's bank account changes?
- Does someone still have to copy rows by hand? If yes, the check will be skipped on a busy week.
A check that depends on a tired person remembering to run it is not a check. It has to sit between the list and the bank, every week, without anyone pressing a button.
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 see sales from all my pharmacy outlets in one place, without replacing my billing software?
- 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