A prescription number before payment
The customer asks: A prescription number is required before a prescription item is paid for
- Verdict: Ready, with limits (5)
- Door: Check before payment · area: Till controls and approvals › Questions and details during the sale
- Recipe: Pharmacy counter rules
- Sample: S39 — Pharmacy counter rules (a check before payment and document checks)
- Checked: 2026-10-22 · bench
What you build
Drug schedules, pharmacists and prescriptions as the retailer's own records, and a service that answers the check before payment and the Desk's document checks. A prescription line is paid only against a prescription for this customer, in date for its class, with a fill and quantity left; the fill is reserved when the check answers, so two tills cannot both spend the last one. A pharmacist-only line is paid only by a pharmacist whose licence is in date; a controlled line needs the customer's identity fields; caps per sale and per patient hold; dispensed medicine is refused at a return and on a Desk credit note.
Limits
- Answered when the cashier presses Pay, not when the line is entered.
- The till cannot ask for the patient's identity when it adds a customer: it is entered on the Desk.
- A POS Invoice made on the Desk POS screen, or through the API, is not checked.
- A POS day left open holds its reserved fills until it closes.
- 10 seconds at most for one pass of a POS Profile's checks; this app takes one per profile.
Tell the customer
A sale with a prescription item cannot be paid until a pharmacist sells it against a valid prescription for that customer, and the same holds for sales orders, deliveries and invoices on the Desk.
What next
- Tell the customer the 5 limits above, and write them into the proposal.
- Follow the recipe: Pharmacy counter rules.
- Copy the sample: S39 — Pharmacy counter rules (a check before payment and document checks), and change it.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
- Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.
Test it with your service stopped: the till applies the answer you declared for when it is down.
Related needs
- Keep each customer's prescriptions in iVendNext — Ready, with limits (2)
- An answer for the cashier during the sale: a message, or a seal number, a reference or a warranty card number added to the sale — Ready, with limits (3)
- A beep and a yes-or-no question when the cashier scans an item we flagged — Ready, with limits (2)
- Check a product's warranty at the till — Ready, with limits (3)
Start a project shortlist with this need · Put it in your blueprint · Every need