Pharmacy inventory management software for stock, expiry and controlled drugs
Pharmacy inventory management software that keeps every pack, lot and expiry date in one record, prepares the controlled drug counts, stores the drug tracing records wholesalers send, and orders from wholesalers before a product runs out. We build it next to your pharmacy management system for independent pharmacies, pharmacy groups and hospital pharmacies, hosted in the EU, and your company owns the code.
- You see the result before it goes live
- Fixed price for the agreed scope, in writing before work starts
- Source code, domain and accounts in your company's name
Why pharmacy stock needs its own rules
A pharmacy holds thousands of products, many with short shelf lives, some worth more than a week's takings, and a few under rules that require counts, registers and secure storage. Medicines are delivered several times a day by more than one wholesaler, packs are opened and dispensed in part, and expired or recalled stock has to leave through the right channel with a record. Most pharmacy management systems are built around prescriptions and patients; stock is often handled by minimum levels and wholesaler defaults.
Pharmacy inventory management software gives stock the same care as dispensing. It is the pharmacy part of our inventory management software work, and it sits beside the robot and verification work described on our pharmacy automation page.
What the system does
- Stock by product, lot and expiry. Packs received with lot and expiry from the delivery data or a scan of the 2D code, and dispensing deducted from the pharmacy management system.
- Expiry management. Short-dated stock listed weeks ahead, moved forward on the shelf, transferred to a pharmacy that will use it, or returned while the wholesaler still accepts it.
- Orders to wholesalers. Suggested orders per wholesaler from usage, minimums, delivery rounds and agreed terms, with shortages and substitutes flagged.
- Controlled drugs. A running balance per substance and location, count sheets for the required inventories, and differences investigated with a record.
- Returns and recalls. Recalled lots found across all locations, blocked, and returned with the documents the supplier needs.
- Drug tracing records. Transaction data from wholesalers stored per product and lot and retrievable on request.
- Counts. Rolling counts by shelf or robot section, with differences approved and written off with a reason.
- Reports. Stock value, slow movers, expiry write-offs and out-of-stocks per pharmacy.
Controlled substances: counts and records
In the United States, DEA rules require each registrant to take an inventory of all controlled substances on hand at least every two years, separately for each registered location, recorded as of the opening or close of business. For opened commercial containers, dispensers make an exact count of Schedule II substances, and an estimated count of Schedule III, IV or V substances unless the container holds more than 1,000 tablets or capsules, in which case the count must be exact (21 CFR 1304.11). Inventories and records must be kept for at least 2 years (21 CFR 1304.04; both read on eCFR on 12 November 2026). Other countries have their own registers and count rules, and the system is configured to your country's version.
The software keeps a running balance from receipts, dispensing, returns and destruction, prints or shows count sheets in shelf order, records who counted and when, and lists differences for the responsible pharmacist to investigate and sign. The count becomes a check of a known balance rather than a reconstruction.
Drug tracing: DSCSA in the United States
The Drug Supply Chain Security Act sets steps toward an interoperable, electronic way to identify and trace certain prescription drugs at the package level (FDA, Drug Supply Chain Security Act, read on 12 November 2026). Under 21 U.S.C. 360eee-1(d), a dispenser must not accept ownership of a product unless the previous owner provides the transaction history, transaction information and transaction statement; must capture that information, including lot-level information where provided, and keep it for not less than 6 years after the transaction; and, in a recall or investigation of a suspect or illegitimate product, provide it to the official who asks within 2 business days (text read via Cornell LII on 12 November 2026). A dispenser may have a third party, such as an authorised wholesale distributor, keep these records under a written agreement, while staying responsible for them.
The inventory software stores the transaction data that arrives with each delivery, links it to the received lots, and answers a request with a search by product and lot. Where your wholesaler keeps the records for you, the system stores the agreement and the reference needed to retrieve them.
Falsified Medicines Directive in the EU
In the European Union, Commission Delegated Regulation (EU) 2016/161 Article 25 requires persons authorised or entitled to supply medicinal products to the public to verify the safety features and decommission the unique identifier of products bearing them at the time of supplying them to the public, connecting to the repositories system through the national or supranational repository (Delegated Regulation (EU) 2016/161, official text read via the EU Publications Office on 12 November 2026). Healthcare institutions may verify and decommission at any time the product is in their physical possession, provided no sale takes place in between. The verification itself runs through your national verification system; the inventory software records the status per pack next to stock, so packs that cannot be returned, have expired or must be destroyed are handled with the right decommissioning status.
Integrations
- Pharmacy management system. Dispensing, product master data and prices, through its interface or export.
- Wholesalers. Orders, order confirmations, delivery data and transaction records by electronic message or portal.
- Dispensing robots and cabinets. Stock per robot and cabinet, with stock-in and picks recorded; see pharmacy automation.
- Scanners. 2D data matrix codes read for product, lot, expiry and serial number at goods in and returns.
- Accounting. Purchase invoices, stock value and write-offs to your accounting system.
Ready-made pharmacy software or custom?
Most pharmacies run a pharmacy management system from a national or regional vendor, and many include basic inventory functions. Wholesalers also offer ordering and stock tools. For a single pharmacy with standard needs, that is often enough, and we will say so. Custom inventory software pays off for groups, hospital pharmacies and pharmacies with robots, several wholesalers or rules the current system handles with workarounds.
| Situation | Pharmacy system or wholesaler tool | Custom software |
|---|---|---|
| One pharmacy, one main wholesaler | Usually enough | Rarely worth building |
| A group with transfers and shared expiry lists | Per-pharmacy views | One record across the group |
| Several wholesalers with different terms | Each wholesaler's own tool | Orders split by your rules |
| Robots, cabinets and manual shelves together | Partial integration | Stock per location type |
| Data location and ownership | The vendor's platform and region | Your account, EU data region |
How we build it
- Walk the pharmacy. Deliveries, shelves, the robot, dispensing, returns and counts, with the pharmacist in charge, written down for approval.
- Scope and fixed price in writing. Locations, wholesalers, integrations and the rules of your country, with a fixed price for that agreed scope.
- A test version on your real data. Your product list, stock and a recent count, imported from your pharmacy system.
- Pilot pharmacy and acceptance. One pharmacy runs the system next to the current process until balances and orders match, and the phase is accepted against the written scope.
- Roll out and measure. Expiry write-offs, out-of-stocks and count differences are compared with the numbers recorded at the start.
- Maintenance. Updates, monitoring, backups and changes when rules or interfaces change, on a monthly plan you can cancel with one month's notice.
As a standard term, the source code sits in a repository in your company's own account, and the database and hosting are in your name in an EU data region. For hospitals and clinics that also manage medical supplies, see medical inventory management software. See prices.
Questions we get
What does pharmacy inventory management software do?
It keeps the stock of a pharmacy or a group of pharmacies in one record: packs on hand by product, lot and expiry date, orders to wholesalers, returns, controlled drug counts and the transaction records that drug tracing rules require. It works next to the pharmacy management system that handles prescriptions and patients.
Does it replace our pharmacy management system?
No. The pharmacy management system keeps prescriptions, patient records and dispensing. The inventory software reads dispensing from it and handles stock, ordering, expiry, returns and counts, where many pharmacy systems are thin. Where your system already does part of this well, we connect to it instead of duplicating it.
How does it help with controlled substance inventories?
It keeps a running record of controlled substances per registered location, prepares the count sheets for the inventory your rules require, and records exact or estimated counts as the rules say. In the United States, DEA rules require a new inventory at least every two years and an exact count of opened containers for Schedule II substances (21 CFR 1304.11).
Does it support DSCSA in the United States?
Yes. Transaction information, history and statements received from wholesalers are stored per product and lot, kept for at least 6 years, and retrievable for a recall or a suspect product investigation, which the statute requires within 2 business days of an official request.
What about the Falsified Medicines Directive in the EU?
Verification and decommissioning of the unique identifier happen through your national medicines verification system, usually from the pharmacy management system or a scanner workflow. The inventory software records which packs were verified and decommissioned and keeps that status next to stock, returns and write-offs.
Can it manage several pharmacies?
Yes. Each pharmacy is a location with its own stock, counts and, where required, its own registration, and transfers between pharmacies are recorded where the rules allow them. Group buyers see stock and expiry across all locations.
Who owns the system and the data?
Your company. The source code is in a repository in your company's own account, the database runs in an EU data region in your company's name, and every record can be exported at any time.
Get a written quote
Tell us in a few lines what you need. We reply within one working day with a written quote: scope, timeline and a fixed price or an hour estimate. Asking is free and commits you to nothing.