Documentation

Debmedia Pharma documentation

How to install, set up and use the program every day, and how to look after it. For the full list of screens see the screen-by-screen guide.

1. Overview

Debmedia Pharma is an offline Windows program for pharmacies and chemist shops. It is sold as a Lifetime licence for one pharmacy, and to software companies and resellers as a white-label product or with the full source code. It runs on one PC and keeps its data in a local database on that PC. It handles the pharmacy's daily work: the medicine master with batches and expiry, purchasing and receiving stock, counter billing with batch-wise selling, returns, customers and doctors, and double-entry books that agree with the counter.

The side menu has Dashboard, Sales / POS, Medicine Master, Purchase and GRN, Inventory and Stock, Patients and Customers, Suppliers, Accounts and Finance, Reports and Analytics, Staff, Masters and Settings. Every screen opens in a tab, and Ctrl+K finds any screen by typing a few letters.

The screens are a web-style interface hosted inside Microsoft Edge WebView2; the business logic and the data are handled by VB.NET code on the current .NET platform with one local SQLite file. There is no cloud account and no subscription, and nothing is needed from the internet to bill a customer, receive stock or close the day.

2. Requirements and install

  • Computer: a Windows 10 or Windows 11 PC, 64-bit. One PC runs one pharmacy counter.
  • Microsoft WebView2 Runtime: free, and already part of Windows 11 and of current Microsoft Edge.
  • .NET: the free .NET 10 Desktop Runtime, or a self-contained package that carries what it needs.
  • Printers (optional): an 80 mm receipt printer, an A4 printer and a label printer. A keyboard-type barcode scanner works in the search box.
  • Code signing: the Setup file is not code-signed yet, so Windows may show an unknown-publisher warning. Choose More info and then Run anyway.

Receipt and label printers, cash drawers and barcode scanners have not been tested on every model.

3. First start and activation

  1. Activation. A new install shows this computer's installation code (see Activation). You can start the free 7-day trial of every feature at once. To keep using the program, send the code and the edition you bought to whoever sold it to you and import the signed licence file you get back; it works offline for ever on this PC.
  2. Sign in. The first user is admin with the starting password admin. The program makes you choose a new password straight away.
  3. Business details. Enter the pharmacy's name, address, tax registration number, drug licence number, pharmacist name and registration, and the invoice header, terms and footer. See Business Details.
  4. Business settings. Set the currency and decimals, the tax name, whether prices include tax, the date format, the financial-year start, the selling rules and the stock rules. See Business Settings.

4. Setting up the pharmacy

Do these once, in this order.

  1. Tax Rates and Payment Modes: the tax rates you use and the ways customers pay.
  2. Racks and Branches: where medicines sit on the shelves and your branches.
  3. Suppliers: the suppliers you buy from, with opening balances if you already owe them.
  4. Medicine Master: add medicines one by one, or import them from an Excel file, with pack and unit conversion, tax, MRP and flags.
  5. Opening stock: enter what is on the shelves by batch with its expiry date (see Batch and Expiry and Stock Adjustment).
  6. Employees, Users and Roles and Permissions: one user for each person, with a role that allows only what they need.
  7. Numbering: the prefix of each document series.
  8. Patients / Customers and Doctors: add regular customers and doctors, or import customers from an Excel file.

5. Prescriptions

  1. Receive. On Prescriptions press F2: choose the patient, the doctor and each medicine with its directions, the quantity per fill, the refills allowed and the days one fill lasts (see New Prescription).
  2. Fill. Open the prescription, enter how much to give now, choose the payment and press Give the medicines and bill (Fill a Prescription). A normal bill is made, the fill is recorded and a label is printed for each medicine. A fill can be given in parts.
  3. Refill. After a fill is complete the next one is due after the days of supply. Refills Due lists what is due and queues reminder messages; an early refill is refused with the date it is due.
  4. Recall a batch. Recalls blocks the batch and lists the bills it was sold on so the customers can be told.
  5. Controlled medicines. Controlled Drugs compares the stock ledger with the shelf for schedule H1, X, NDPS and Controlled medicines. It is a stock check, not a legal register.

6. A day in the pharmacy

  1. Open the Dashboard. See sales, low-stock alerts and medicines expiring soon.
  2. Bill customers. On Sales / POS scan the barcode or type the name. The program picks the batch that expires first and refuses expired, quarantined or recalled batches. Take the payment and print the receipt or A4 invoice.
  3. Handle returns. Use Sales Returns for a customer's return and Purchase Returns to send stock back to a supplier.
  4. Receive stock. Enter each delivery on New Purchase (GRN) with batch, expiry, quantity, free quantity, rate and tax, or receive a Purchase Orders. Check Reorder Suggestions for medicines to reorder.
  5. Follow up dues. Receive customer payments from Customer Dues.
  6. Close the day. Count the cash drawer in Day Close and take the daily backup.

Mistakes are never edited away: a bill is cancelled with a reason and entered again. Stock differences go through Stock Adjustment or Stock Count with a reason, and everything is written to the audit log.

7. Reports and books

There are 43 reports with Excel export and printing (see Reports): sales by day, month, hour, cashier, medicine, generic name, category, manufacturer, doctor and customer; purchases and rate variance; batch-wise stock, near-expiry, expired stock and loss; low stock; slow, fast and dead stock; ABC analysis; stock valuation and movement; margins; the schedule-drug sales register; and supplier outstanding with ageing.

The books are double entry. Trial Balance, Profit and Loss, Balance Sheet and Tax Summary are built from the same entries as the counter. The tax summary helps prepare a return; the program does not file one.

8. Users and security

  • Passwords are stored as salted hashes. An account locks after repeated wrong passwords, and the screen locks after the idle time you set.
  • Roles carry individual permissions (pharmacist, cashier, inventory manager and purchase manager roles are provided); sign-ins, cancellations, price changes and adjustments are written to an audit log that cannot be edited. See Audit Log.
  • Every call from the screens to the program is checked for the licence feature and for the user's permission.

9. Backup and restore

All data is one SQLite file. Backups are copies of that file, taken automatically once a day. A restore takes a safety copy of the current data first. Backup and Restore shows where the files are; copy the backup folder to a pen drive or cloud drive now and then, because a backup on the same disk does not protect you from a failed disk.

10. Feature sets inside the program

The program has three feature sets (Starter, Standard and Pro) set by the licence file, so a reseller can sell smaller and larger packages. Starter has the counter, medicines, stock, purchase, customers, basic accounts and reports; Standard adds purchase orders, stock counts, doctors, staff, messages, full accounts and reports, prescriptions and refills, and recalls and the controlled-drug check; Pro adds a custom invoice header and several branches. See Licence and About.

11. Troubleshooting

  • The program says it needs the WebView2 Runtime. Install the free Microsoft Edge WebView2 Runtime from Microsoft and start again.
  • Windows warns about an unknown publisher. The Setup file is not code-signed. Choose More info and then Run anyway.
  • A medicine cannot be sold. Its batch is expired, quarantined or recalled, or there is no stock. Check Batch and Expiry.
  • A schedule drug is refused. The selling rule in Business Settings requires a prescription number for schedule drugs. Type the number, or change the rule.
  • A bill cannot be edited. Cancel it with a reason and enter it again.
  • A message stays in the outbox. Real SMS and WhatsApp sending is not connected in this version.
  • A prescription cannot be filled. It may be cancelled, past its validity date, already fully given, or the next refill is not due yet; the message says which. A batch that is expired, quarantined or recalled is never sold.
  • The licence file is refused. It was made for another computer (send this computer's installation code again), was edited, or was not signed by the vendor.

12a. GST, registers, Tally and the newer modules

  • GST returns. Reports > GST: GSTR-1 summary, B2B invoices, B2C small, credit and debit notes, HSN summary and documents issued, with an F6 button that saves the GSTR-1 JSON file for the GST portal's offline tool; and a GSTR-3B summary with input tax credit and the tax to pay. Enter your own GSTIN in Business Details and the HSN code on each medicine first.
  • Credit and debit notes. Accounts > Credit / Debit Notes: notes to customers or from suppliers for rate differences and post-sale discounts. They post to the books and flow into the GST returns.
  • Schedule registers. Reports > Compliance: the Schedule H, H1 and X sales register (patient, address, doctor and registration number, prescription number, batch), a purchase register and a destruction register, with an Excel inspection pack. They help record keeping; the pharmacist in charge must still check them.
  • Tally export. Accounts > Tally Export writes a masters file and a vouchers file to import in Tally.
  • Medicine catalogue. Medicine Master > Medicine Catalogue: load a CSV or Excel list of any size, search it and add medicines to your master with one click. No data is supplied.
  • Short book, promise orders and transfers. A quick list of what to buy that becomes purchase orders; customer requests for out-of-stock medicines that turn Ready when stock arrives; and stock transfers between branches.
  • Claims, statement check and bank reconciliation. Supplier claims (draft, submit, approve, settle as a credit note or cash), a check of a distributor's statement against your bills, and a bank statement matched against the bank book.
  • Home delivery and control reports. Delivery orders with riders and cash on delivery, an exception report (cancelled bills, big discounts, sales below cost, returns, write-offs, cash differences), staff performance and branch comparison.
  • WhatsApp. Messages open in WhatsApp for you to send, or go out by themselves through the WhatsApp Business API when you set it up in Settings.

12. Limits

  • One computer per licence. Several counters cannot share one database yet, and the database must not be shared over a network.
  • Prescriptions are handled, but there is no e-prescription link, no insurance claim, no scanned-image capture and no check that a prescription is genuine.
  • No drug-interaction, dosing or allergy checking. These need a licensed, validated drug database and legal review, so they are not part of the product and must not be promised to customers.
  • Controlled-drug rules differ by country. The program has a schedule flag, a prescription-number rule at the counter, a schedule-drug sales report and a stock reconciliation; purchase-side registers, destruction records and inspection exports are not built, and it is not a legal controlled-drug register. Check the rules with a pharmacist or adviser before relying on it.
  • Real SMS and WhatsApp sending, payment gateways, insurance and e-prescription links are not connected.
  • No delivery management, online ordering or inter-branch transfers.
  • No medicine database is included; you load your own medicines.
  • Printers, cash drawers and barcode scanners have not been tested on every model.
  • The Setup file is not code-signed.

13. Support

Open a ticket at the Debmedia Pharma support desk or write to hello@debasisbhattacharjee.com. Please include a screenshot of any message you see.

Want to see it running?

Book a demo and we will walk you through the real software.

Book a demo