Skip to content
Back to portfolio

For medical stores in India

Live in production

Esparks Medix: pharmacy management software for Indian medical stores

Counter billing, batch and expiry stock, purchases, udhaar, the Schedule H1 and X registers and GST returns in one cloud app. It runs in the browser on the counter PC and installs on the owner’s phone.

  • For medical stores and the distributors who supply them
  • 30-day free trial; then ₹2,999 or ₹5,999 a year + GST
  • H1, X and NDPS registers, GSTR-1 and 3B, Tally export
Esparks Medix owner dashboard for a demo medical store: today’s sales, gross profit, average bill and this month’s total, shop-health gauges for margin, digital payments and fresh stock, a 30-day sales chart and sales by hour
The owner’s view: sales and profit against yesterday and last week, shop health and the last 30 days
  • Medical stores and distributors
  • 30-day free trial
  • From ₹2,999 a year + GST
  • Installs on phone and desktop

Overview

Esparks Medix is cloud pharmacy management software, built by Esparks IT Solutions and live at medix.esparksit.com, for medical stores and pharma distributors in India.

Billing at the counter is keyboard-first: search by brand or salt, scan a barcode, and the batch that expires first is picked for you. One bill can be split between cash and UPI, held while the next customer is served, and printed on 80 mm or A4 paper or sent on WhatsApp. Schedule H, H1 and X sales capture the doctor and patient and fill the registers automatically, with a separate NDPS register for narcotic and psychotropic drugs. Stock is kept batch by batch, with low-stock and expiry alerts, supplier returns that raise a debit note, a short book, and in-app ordering between a store and its distributor. Udhaar khata, distributor dues and a day book that works out the cash in the drawer replace the notebook. GSTR-1 and GSTR-3B figures, Tally XML export, and Excel or CSV import from the store's old software cover month end and switching. It runs in the browser and installs on a phone or computer, built by Esparks IT Solutions on Java and PostgreSQL. Every store starts with a 30-day free trial; Basic costs ₹2,999 and Pro ₹5,999 a year, plus GST.

Walkthrough · 12:47

Watch a full day at a medical store

A narrated tour of Esparks Medix at a demo store: billing at the counter, stock and expiry, buying from distributors, udhaar, closing the day and GST at month end. Jump to a chapter to see one part.

Chapters

Watch on YouTube

The problem

A medical store runs on speed, stock and paperwork

01

A queue at the counter

Bills written by hand, or in old software that is slow to search, while the next customer waits.

02

Expiry found too late

Expired strips turn up when a customer complains, after the window to return them to the distributor has closed.

03

Udhaar in a notebook

Credit lives in a book only one person can read, and distributor dues pile up with no reminder.

04

Month end and the inspector

GST figures and the Schedule H1 register take an evening to put together, every month.

None of this happens because the chemist is careless. It happens because the tools never kept up.

A day at the store

From the first bill to the cash count

The cashier, pharmacist and owner each sign in with their own rights. Shown on the real app with a fictional demo store, Shree Sai Medical & General Stores.

  1. 01Cashier

    A bill in seconds

    Type the first letters of a medicine or its salt, or scan the barcode. The batch that expires first is picked for you; take cash, UPI, card or credit, or split one bill between them.

    Esparks Medix billing screen with three medicines in the cart, a doctor captured for a scheduled drug, payment options for cash, UPI, card and credit, and the net payable
    Counter billing: medicines in the cart, the payment mode and the net payable
  2. 02Cashier

    Print it, or send it on WhatsApp

    The bill carries the store’s drug licence and GSTIN, batch and expiry on every line, the GST worked out and a UPI QR code. Bill numbers never skip and follow the financial year.

    A saved Esparks Medix bill with the store’s drug licence and GSTIN, batch and expiry per line, the GST breakdown and a UPI QR code, with buttons to print or send it on WhatsApp
    The saved bill, ready to print on 80 mm or A4, or to send on WhatsApp
  3. 03Pharmacist

    Schedule H1 and X, handled at the counter

    For a scheduled medicine the app asks for the doctor and the patient, and nothing more. The registers fill themselves from the bills, ready for the drug inspector.

    Esparks Medix Schedule H1 register listing date, bill number, medicine, batch, quantity, patient and prescribing doctor for every scheduled sale
    The H1 register, built from the day’s bills
  4. 04Pharmacist

    Catch expiry before it costs money

    Every batch expiring in the next 90 days, or already expired, with the days left. Send it back to the distributor in time, and the debit note cuts what you owe them.

    Esparks Medix stock and expiry screen: batches for a medicine with MRP and quantity, and a list of batches expiring within 90 days or already expired, with days left
    Batches by expiry, with the days left on each
  5. 05Pharmacist

    Buy stock, and order inside the app

    Enter a distributor’s bill line by line, schemes included. A store connected to its distributor orders from the short book, and the GST invoice arrives as the store’s purchase.

    Esparks Medix orders screen listing orders sent to a connected distributor with their status: sent, accepted and dispatched
    Orders to a connected distributor, from sent to dispatched
  6. 06Owner

    Udhaar that collects itself

    Credit bills land in each customer’s khata. See who owes what and when they last paid, and send a polite reminder on WhatsApp in one tap.

    Esparks Medix udhaar screen: what each customer owes, when they last paid, and buttons to record a payment, send a WhatsApp reminder or share a statement
    Udhaar and dues, in place of the notebook
  7. 07Owner

    Close the day, then the month

    The day book works out the cash that should be in the drawer; count it and close the day. At month end, GSTR-1 and GSTR-3B figures are ready for the CA, with a Tally export.

    Esparks Medix day book with opening cash, cash sales, udhaar received, supplier payments and expenses, the expected cash in the drawer and the day closed with no difference
    The day book: the cash that should be in the drawer, and the day closed

Outcomes

What changes at the store

What changes once it is running

Faster bills

Search by brand or salt, scan a barcode, and the right batch is picked for you; most bills need no mouse at all.

Less lost to expiry

Batches expiring within 90 days are listed by distributor, so they go back in time with a debit note.

Udhaar under control

Every credit bill lands in the khata, with a reminder on WhatsApp in one tap.

Inspector-ready

Rule 65 bills and the H1, X and NDPS registers filled in from the bills themselves.

GST ready on time

GSTR-1 and GSTR-3B figures, credit notes and a Tally export at month end.

The owner sees the day

Sales, profit, margin, money at risk and what to reorder, from the counter or a phone.

Screens

More of the real app

Captured from Esparks Medix running a fictional demo store. Every customer, doctor and distributor name shown is made up.

GST returns

Esparks Medix GST returns screen for a month: GSTR-3B summary with input credit, B2C and B2B sales, credit notes and the HSN summary, with CSV and Tally export
GSTR-3B with input credit, B2B and B2C sales, credit notes and the HSN summary

Alerts

Esparks Medix alerts screen with distributor order updates, expiring batches and low stock, each with actions to open, snooze or mark done
Low stock, expiring batches and distributor updates; each alert clears itself once dealt with

Purchase entry

Esparks Medix purchase entry for a distributor bill with batch, expiry, MRP, rate and quantity per line, and the purchase register below
A distributor’s bill entered batch by batch, added to that distributor’s dues

Customers

Esparks Medix customer profile for a demo clinic: number of visits, total spent, last visit, medicines bought most and spend by month
Each regular’s visits, spend and the medicines they buy every month

Offers

Esparks Medix new-offer form: choose the items and discount, choose which customers get it, and preview the WhatsApp message
Choose the items, the discount and who hears about it; prescription medicines are never on offer

Staff & rights

Esparks Medix staff screen listing the owner, a pharmacist and a cashier with their roles and buttons to change rights or turn a login off
Owner, pharmacist and cashier, with rights per person

How it works

Start billing on day one

  1. Step 01

    Register the store

    Store name, drug licence and GSTIN. No card is needed for the 30-day trial.

  2. Step 02

    Bring in the old data

    Upload the item list or stock report from the old software as Excel or CSV; it is checked before anything is saved.

  3. Step 03

    Add the staff

    Owner, pharmacist and cashier logins, each with the rights they need.

  4. Step 04

    Start billing

    Bills, purchases, udhaar and the registers run from day one.

  5. Step 05

    Close the day and the month

    Tally the cash in the day book each evening, and hand the CA the GST figures at month end.

Architecture

One app, every store kept apart

A single Spring Boot application, split into modules, serves every medical store and distributor, with the database itself keeping each store's rows apart.

A bill and its stock change are saved together, in one transaction, because billing and inventory are modules of one application rather than separate services. Spring Modulith checks on every build that no module reaches into another's internals. PostgreSQL row-level security sits underneath the application's own store checks. WhatsApp messages open on the user's own device; there is no WhatsApp API in between.

Deployment

How stores use it

Cloud, nothing to install

Runs in the browser at medix.esparksit.com, hosted and backed up by Esparks IT Solutions.

Installs like an app

On a Windows or Mac computer, an Android phone or an iPhone, from the browser.

For distributors too

A distributor signs up the same way, takes its stores’ orders in the app and dispatches GST invoices.

Works with

  • Razorpay (UPI and cards)
  • WhatsApp share links (bills, reminders, offers)
  • Tally Prime (XML export)
  • GST Returns Offline Tool (CSV)
  • Barcode scanners
  • 80 mm thermal and A4 printers
  • Excel and CSV

Esparks Medix: questions chemists ask

What teams ask before a migration with the platform.

What is Esparks Medix?

Esparks Medix is cloud pharmacy management software for Indian medical stores and pharma distributors, made by Esparks IT Solutions. It covers counter billing, batch and expiry stock, purchases, udhaar, the Schedule H1/X and NDPS registers, GST returns and an owner dashboard.

How much does it cost?

Every store starts with a 30-day free trial with all features and no card. After that, Basic is ₹2,999 a year for 2 users and Pro is ₹5,999 a year with unlimited users, both plus 18% GST.

Does it handle Schedule H, H1 and X medicines?

Yes. The app asks for the doctor and patient only when a scheduled medicine is on the bill, and fills in the H1 and X registers automatically. Narcotic and psychotropic drugs have their own NDPS register.

Can we move from our current pharmacy software?

Yes. Export the item list or stock report from the old software as Excel or CSV and upload it as it is. About 100 common column names are recognised, the file is checked before anything is saved, and loading the same file twice adds nothing twice.

Can it order from our distributor?

If the distributor also uses Esparks Medix, the store connects with an invite code and orders inside the app; the distributor’s GST invoice arrives as the store’s purchase. Otherwise, the distributor gets a link to fill in the order, or the short book sends its list on WhatsApp.

Does it work without the internet?

Not yet. Esparks Medix needs an internet connection; offline billing is planned.

What happens to our data if we stop paying?

The store turns read-only: you can still sign in, view, print and export everything. You can also download all your data as one file at any time.

Feature guide

Everything the platform does

Esparks Medix is cloud pharmacy software for Indian medical stores and the distributors who supply them: bill at the counter, keep stock batch by batch, stay ready for the drug inspector and hand the CA clean GST figures. Here is everything it does today.

See every feature, item by item

At the counter

Built for a busy medical store

From the first bill in the morning to the cash count at night, on a counter PC, a laptop or a phone. WhatsApp bills, the owner app and distributor bill import are in the Pro plan.

Billing

  • Keyboard-first. Search by brand or salt, type 2s for two strips, save with F10. A barcode scan adds a strip, and F1 shows every shortcut.
  • Earliest expiry first. The batch that expires first is picked automatically, so older stock always goes out before newer stock.
  • Payments. Cash, UPI, card or credit, or one bill split between them; hold a bill with F9 and serve the next customer.
  • Print or WhatsApp. 80 mm or A4 bills with a UPI QR code, or, on Pro, the bill sent to the customer on WhatsApp with one key. Bill numbers never skip and follow the financial year.
  • Regulars and substitutes. Repeat a regular’s past bill from their mobile number, and offer a same-salt substitute that is in stock.

Schedule H, H1 and X

  • Doctor and patient at the counter. Asked for only when a scheduled medicine is on the bill; the H1 and X registers are filled in automatically.
  • NDPS register. Narcotic and psychotropic medicines get their own register: opening stock, every receipt and issue, running balance and closing stock.
  • Prescription photo. Take a photo or attach a scan or PDF to the bill; it is kept with the bill and in backups.

Stock and expiry

  • Batch by batch. Every medicine’s batches with expiry, MRP and quantity, and its full history of sales and purchases.
  • Alerts that clear themselves. Low stock, out of stock and batches expiring within 90 days, re-checked after every bill, purchase and return.
  • Expiry returns. Expiring stock grouped by the distributor and bill it came on; one click raises the debit note and cuts their dues.
  • Hold or correct a batch. Hold a batch under recall, correct a mistyped number, expiry or MRP, or write off expired stock so the loss shows in profit and loss.

Buying from distributors

  • Purchase entry or CSV import. Enter a distributor’s bill line by line with schemes like ten plus one, or, on Pro, upload its CSV; medicines the store does not have are added from the bill.
  • Short book. What ran out at the counter, grouped by the distributor you last bought it from, with the last rate.
  • Ordering inside the app. A store connects to its distributor with an invite code; orders go from the short book, and the distributor’s GST invoice arrives as the store’s purchase.

Customers, offers and loyalty

  • Customer history. Visits, spend, last visit and the medicines each regular buys, with a WhatsApp refill reminder.
  • Offers. Choose the items, the discount and who should hear about it; the offer applies itself at the counter. Prescription medicines are never put on offer.
  • Loyalty points. Points per ₹100 paid, used to pay part of a later bill.

Money, GST & the owner

Udhaar, GST and profit, without the notebook

Udhaar, dues, cash, GST and profit, without a notebook or an evening with a calculator.

Udhaar, dues and cash

  • Udhaar khata. Credit bills land in the customer’s khata automatically, with statements and a polite WhatsApp reminder.
  • Distributor dues. What you owe each distributor, bill by bill, with due dates and overdue amounts.
  • Day book. Opening cash, cash sales, refunds, udhaar received, supplier payments and expenses give the cash that should be in the drawer; count it and close the day.

GST

  • GSTR-1. B2B, B2CL, B2CS, credit notes, HSN summary and documents issued, with returns netted, as CSV files for the GST offline tool.
  • GSTR-3B. Output tax, input credit from purchases net of debit notes, set-off in the legal order, and the cash to pay.
  • Credit notes and Tally. Every customer return gets a gap-free credit-note number; the month’s vouchers and ledgers export to Tally Prime as XML.
  • Lock the books. Once the CA has filed a month, lock it so nothing dated inside it can change.

Owner dashboard and reports

  • Today against yesterday. Sales, gross profit and margin, bills and average bill, against yesterday, last week and last month.
  • Money at risk. Stock expiring or not selling, an order-now list from real daily sales, and staff-wise sales.
  • Excel on every list. Every report, register and list downloads to Excel.

Switching in a day

  • One file from the old software. A stock report or item list in CSV or Excel, uploaded as it is: about 100 column names are recognised, and the file is checked before anything is saved.
  • Your data, any time. Download everything as one ZIP and restore it later; a restore keeps a snapshot so it can be undone.

Staff and the change log

  • Roles, then rights per person. Owner, pharmacist and cashier to start, then any right ticked or unticked per person, such as selling below MRP.
  • Change log. Who changed rights, sold below MRP, corrected a batch, wrote off stock or restored a backup, and when.

On every screen

  • Installs like an app. A web app that installs on Windows, Android and iPhone, with layouts for desktop, tablet and phone and light and dark themes.
  • Needs an internet connection. Billing works online; offline billing is planned, not built yet.

Security & privacy

  • PostgreSQL row-level security on every store table, on top of the application’s own store checks, so each store’s queries see only its own data.
  • Passwords hashed with BCrypt; sign-in attempts limited per email and per IP address, with the same timing for unknown emails.
  • Web sessions in an HttpOnly, SameSite=Strict cookie, and changes need an extra request header.
  • An enforced Content Security Policy, X-Frame-Options DENY and HSTS on the HTTPS front end.
  • Changing a person’s rights ends their open logins, so the new rights apply at once.
  • A restore is checked so every record points only at the same store’s data; uploads are limited by size and file type.

Reliability

  • Spring Modulith checks the module boundaries on every build, alongside the backend test suite.
  • Every release goes through Jenkins: web build, tests and a package check, then a database backup before it is deployed.
  • A new release is health-checked after it starts; if it fails, the previous release comes back by itself.
  • Nightly encrypted database backups.
  • When a plan ends the store turns read-only: viewing, printing and export keep working, so nobody is locked out of their records.

Pricing

Simple yearly plans, after a 30-day free trial

Prices exclude 18% GST. Pay by UPI or card from inside the app; the plan is active at once and a GST invoice is issued.

Free trial

Free30 days

All features, no card needed

Basic

₹2,999per year

Billing, purchase, stock, H1/X registers and reports; CSV import; 2 users; email and WhatsApp support

Pro

₹5,999per year

Everything in Basic, unlimited users, owner app, WhatsApp bills, distributor bill import and priority support

Stack

Technology stack

One application and one database, split into modules whose boundaries are checked on every build.

LayerTechnologyWhy
BackendJava 25, Spring Boot 4.2, Spring Modulith 2.2A bill and its stock change save in one database transaction, while each module keeps its own tables.
DatabasePostgreSQL with Flyway migrationsRow-level security keeps each store’s data apart, and every schema change is versioned.
SecuritySpring Security with JWT in an HttpOnly cookie, BCryptPer-person rights at the counter and limits on sign-in attempts.
Web appReact 19, TypeScript, ViteA fast, keyboard-first counter that installs as an app on a PC or a phone.
PaymentsRazorpayStores buy or renew a plan by UPI or card, with a GST invoice.
Hosting and releasesDocker Compose, Caddy (HTTPS), JenkinsEvery release is tested, backed up before deploy, health-checked and rolled back if it fails.

Next step

Try Esparks Medix free for 30 days

Register your store, bring in your items from the old software and make your first bill the same day.

Have a different system to build? Tell us the problem and the constraints, and we will tell you how we would approach it. Contact us

More work

Related projects

Our other saas projects.

Esparks Biz — GST Billing, Stock & Invoicing App — SaaS
01 / SaaS

Esparks Biz — GST Billing, Stock & Invoicing App

Live in production

GST billing, stock and invoicing for Indian traders, shops and service businesses, on a phone or computer

Esparks Biz is a GST billing and stock app for Indian traders, shops and service businesses, built by Esparks IT Solutions and live at biz.esparksit.com. Purchases add stock at weighted-average cost across several locations; sales are picked or scanned, billed in one of seven invoice designs or a thermal receipt, and paid against the bill. GST is split into CGST and SGST or IGST by place of supply, with reverse charge, input-credit flags and period locking, and GSTR-1, GSTR-3B and CMP-08 figures export to CSV for filing. It installs from the browser in English, Hindi or Hinglish. Under the hood: a NestJS 11 API with 29 modules, a Next.js 15 PWA and PostgreSQL 17 through Prisma 6 (63 models). Every query is scoped to its business and refused without one, sign-in supports two-factor codes and passkeys, and audit rows cannot be edited.

  • 63 data models · 29 API modules
  • ~180 test files in CI
  • English, Hindi, Hinglish
  • Next.js 15
  • React 19
  • NestJS 11
  • +7
Esparks EDU: School Management Software — SaaS
02 / SaaS

Esparks EDU: School Management Software

Live in production

School management software for Indian schools: attendance, fees, exams and report cards, admissions, payroll and a parent portal, each school on its own web address

Esparks EDU is a school management platform, built by Esparks IT Solutions and live at esparksedu.com, that brings the office, teachers, parents and students into one system. Each school gets its own subdomain, its own public website with online admissions, and nine roles, from school admin and principal to accountant, front office, librarian, parent and student, each with its own view. Teachers mark attendance class by class, and the parents of an absent child are alerted as soon as the register is saved. Fees run from structures to receipts, with cash, UPI and online payment through Razorpay, late fees and daily email reminders. Marks become printable report cards and the NEP Holistic Progress Card, where an AI model suggests remarks for the teacher to review. Admissions arrive online with their documents and become enrolled students, ID cards, transfer and bonafide certificates. Payroll covers PF, ESIC, professional tax and TDS, with payslips. Under the hood: Next.js 16 and React 19 on PostgreSQL through Prisma (62 models in six schemas), Redis, Auth.js and 229 API routes, deployed through dev, QA, UAT and production environments. Plans start free for up to 100 students.

  • 9 roles · 26 dashboard areas
  • 62 data models · 6 schemas
  • 229 API routes
  • Next.js 16
  • React 19
  • PostgreSQL
  • +7
Retro — Sprint Retrospectives — SaaS
03 / SaaS

Retro — Sprint Retrospectives

Live in production

Real-time sprint retrospectives for every team

Retro — Sprint Retrospectives is a SaaS platform for running real-time sprint retrospectives for every team. Built with Next.js 15, React 19, PostgreSQL, Drizzle, Redis, Docker, and Socket.IO, it supports live cards, votes, presence, and a timer through Socket.IO with a Redis adapter. The product includes no-signup anonymous join with server-side device tokens, along with drag-and-drop columns, voting, board lock, and CSV/PDF export. It also features a 15-language localized UI, dark mode, and a pnpm monorepo structure. Architected as 2 apps plus 2 shared packages, the solution is designed for multi-instance realtime usage and includes Caddy auto-HTTPS for deployment-ready operation.

  • 2 apps + 2 shared packages
  • Multi-instance realtime
  • Caddy auto-HTTPS
  • Next.js 15
  • React 19
  • Socket.IO
  • +4