Complete step-by-step guides for counter cashiers, pharmacists, and store owners. Covering Invoices, Medicines, Emergency Stock, Customers, Purchases, Staff Permissions, Supplier Returns, Reports, Balance Sheet, and AI Sales Intelligence.
High-speed counter billing, keyboard shortcuts, FBR Tier-1 tax, thermal printing, customer khata & WhatsApp bills.
new_invoice, cashier speed is prioritized for peak pharmacy rush hours:
F1 or click the search box to scan a physical barcode or type medicine brand/formula names (e.g. Panadol or Paracetamol).Arrow Up/Down to highlight the desired batch and press Enter to append it to the cart.Tab to enter strip or loose tablet quantities (e.g. 1s or 10t).F2 to open the payment drawer.Enter. The thermal receipt prints automatically with zero extra clicks.new_invoice, customer financial ledgers are integrated directly into the checkout drawer:
amount_from_wallet) to deduct available wallet credits towards the bill total.save_as_due). The unpaid portion is automatically transferred to their customer ledger.pay_due_amount) to reconcile their ledger on the spot.total_gst) is calculated automatically based on DRAP drug schedules and customer tax status.111000000012345).new_invoice, you never need manual math for cut strips or loose tablets:
Searching past sales, thermal slip reprinting, customer sales returns, item refunds, and cashier audit trails.
manage_invoice, locating previous bills is fast and flexible:
manage_invoice, locate the original customer invoice and click Return Items.medicines_stock.Adding new medicines, mandatory fields, multi-row bulk entry, batch tracking, FEFO principle, Rate vs MRP.
add_medicine, only 3 fields are strictly mandatory to save a medicine:
name): Brand name (e.g. Augmentin 625mg Tab, Panadol 500mg).packing): e.g. 10x10, 1x10, 100ml Syrup, 1 Vial.generic_name): Active salt formula (e.g. Co-Amoxiclav, Paracetamol) for automated substitute suggestions.AUTO-YYYYMMDD...), Expiry Date, Opening Stock Quantity (defaults to 0), Rate (TP), and MRP.
add_medicine is designed for high-speed counter cataloging:
Enter on the last cell to spawn a new medicine row.medicines_stock.new_invoice, PharNix automatically defaults to the batch expiring earliest.SELECT ID FROM medicines WHERE NAME = ? AND PACKING = ?).manage_medicines or via add_purchase instead of creating a duplicate brand entry.add_medicine:
rate): The purchase cost or trade price you pay to the distributor.mrp): The printed maximum retail price for the customer.gst): Applicable sales tax percentage.Viewing stock levels, adding batches to existing medicines, barcode labels, threshold settings, and CSV stock export.
manage_medicines, search the medicine brand name.manage_medicines, click the Barcode icon on any medicine row.What is emergency stock, resolving counter emergency additions, assigning suppliers, and updating batch cost prices.
new_invoice, if a patient urgently needs a medicine that has arrived from a nearby store or distributor but hasn't been formally entered into purchases yet, cashiers can bill it immediately under Emergency Stock.manage_emergency_stock under Pending Resolutions for management review.manage_emergency_stock to review pending emergency items.purchase_items, credits medicines_stock, and posts the balance into the distributor's ledger.Registering new customers, mobile lookup, wallet deposits, attending doctor details, and khata ledgers.
add_customer, you record complete customer profiles:
customer_name): Mandatory customer or family head name.contact_number): Mandatory mobile/WhatsApp number used for POS counter search and WhatsApp receipt delivery.address): Residential area or street address.doctor_name, doctor_address): Attending clinic or family doctor for prescription history tracking.initial_balance): Opening credit deposit or advance payment.initial_balance is entered, PharNix automatically logs a DEPOSIT record in the wallet_transactions table.new_invoice, the cashier can select Pay from Wallet to deduct purchases directly from this stored credit.SELECT ID FROM customers WHERE NAME = ? AND CONTACT_NUMBER = ?).
If a customer with the same phone number already exists, duplicate creation is prevented so that credit khata balances never split across two different accounts.
Viewing customer khata balances, recording wasooli payments, printing account ledgers, and WhatsApp statements.
manage_customer, search for the customer by Name or Mobile Number.manage_customer, click View Ledger on any customer profile.Distributor purchase invoices, bonus quantities (10+1), payment vouchers, line discounts, and supplier payables.
add_purchase, incoming distributor shipments (e.g. Muller & Phipps, Searle, OBS) are recorded accurately:
voucher_number).add_purchase, every item row includes a distinct Bonus Quantity (bonus_quantity) column:
Quantity (e.g. 10) and the free scheme units in Bonus Quantity (e.g. 1).Total Billed Amount / (Quantity + Bonus Quantity), ensuring 100% accurate profit margin analysis when selling at retail MRP.add_purchase:
cash_paid): Amount paid immediately to the delivery rider or distributor.advance_adjusted): Any prior credit balance adjusted.remaining_amount): The balance is posted to the distributor's ledger under purchases as PAID, PARTIAL, or DUE.add_purchase, taxes and discounts are calculated per item:
discount_percent or discount_amount).gst_percent and gst_amount). The total GST is calculated across all rows and saved to total_gst for tax accounting.Viewing supplier balances, recording payment vouchers (cheque/bank/cash), supplier statements, and distributor contacts.
manage_supplier, locate the supplier (e.g. Muller & Phipps).manage_supplier, click View Ledger on any distributor row:
Staff accounts, granular Role-Based Access Control (RBAC), module permissions, and active cashier statuses.
manage_employees:
manage_employees, click Permissions on any staff member.new_invoice, manage_invoice, medicines, suppliers, reports, settings, backup_restore), you can independently grant or deny:
can_view: Can see the page and data.can_add: Can create new records/bills.can_edit: Can edit existing items.can_delete: Can delete or void transactions.can_add) while strictly blocking them from editing prices, deleting invoices, or viewing store profit margins.manage_employees, toggle their Status switch from Active to Suspended.Returning expired, near-expiry or damaged stock to distributors, automatic debit notes, and ledger deductions.
supplier_return, returning stock to distributors is fully automated:
purchase_items to automatically identify which distributor (e.g. Muller & Phipps, Searle, OBS) supplied that specific batch.medicines_stock.supplier_ledgers, reducing what you owe to the distributor.Daily counter reconciliations, gross vs net sales, payment mode breakdowns (cash/card/khata), and CSV exports.
sales_report, analyzing revenue is effortless:
From Date and To Date.PAID (Full payment), PARTIAL (Credit khata dues), or RETURNED.Stock inward procurement logs, distributor purchases, cash paid vs pending payables, and purchase GST tracking.
purchase_report, review all stock purchases from distributors across any timeframe:
Analyzing customer sales returns, identifying damaged or defective medicine batches, and tracking return frequencies.
return_statistics provides forensic analytics on customer returns:
True pharmacy Profit & Loss, Cost of Goods Sold (COGS), gross margins, stock asset valuation, and net balance sheet.
RATE in medicines_stock or purchase_items). This gives an accurate, item-by-item profit breakdown showing which specific medicines earned you the most profit.
(Inventory Assets + Receivables) - Payables.Staff sales performance, cashier bill volume, customer additions, shift comparisons, and cashier anti-theft audits.
employee_reports, evaluate your pharmacy staff across any date range:
employee_id, owners can easily compare discount rates across cashiers to prevent unauthorized price reductions or suspicious cash drawer shortages.
Fast-moving medicines, high-margin winners, dead stock detection (30/60/90/180 days), and procurement optimization.
sales_intelligence acts as an automated procurement advisor:
Low stock threshold, expiry warning days, sound alerts, thermal slip customizations, Urdu fonts & pharmacy header settings.
settings, open the General & Stock Settings tab:
10 units). When inventory drops below this number, the medicine highlights in red and triggers dashboard replenishment alerts.30, 60, or 90 days). Medicines expiring within this timeframe will automatically appear in yellow/orange alerts across billing, stock lists, and supplier return screens.settings:
Show Logo to print it directly on invoices.show_discount to 1 to display line item discount amounts, or 0 to print only the final net amount.full, minimal, or borderless depending on your thermal printer model.settings under Notification Settings:
3 to 7 seconds) alert banners stay on screen before auto-dismissing.Pharmacy owner credentials, tenant account details, license numbers, active subscription plan, and renewal management.
my_profile displays the verified master account details for the pharmacy:
my_profile displays:
Active badge or warning Expiring Soon badge.+92 320 6457172) for instant plan renewals or additional terminal licenses.Master account security, password updates, multi-device session logout, and OWASP credential protection.
change_password from the top-right profile dropdown menu.PASSWORD_DEFAULT (bcrypt/Argon2) hashing.device_sessions to deactivate all other active browser or terminal sessions logged into your account.
This ensures that if a counter terminal was left unattended or an old device was compromised, unauthorized users are immediately locked out until they provide the new password.
forgot_password).+92 320 6457172) for identity-verified credential assistance.One-click SQL database backup, disaster recovery restore, automated scheduled backups, and secure private GitHub repository sync.
backup_restore:
.sql file.pharnix_backup_2026-11-13_15-30-00.sql).repo permissions.mypharmacy-pos-backups).3 hours or daily).backup_restore, locate the Restore Database section..sql backup file.backup_restore is strictly guarded with SessionManager::isPharmacyOwner().
Cashiers, pharmacists, and staff accounts cannot view or trigger backup downloads. Any unauthorized role attempting to visit the URL is blocked with "Access Denied: Only pharmacy owners can access the Backup & Restore system."