Medical / Pharmacy7 min read

GST Billing for Pharmacies: HSN Codes, Batches and Staying Audit-Ready

What a medical store actually needs from its billing software: HSN codes, batch and expiry tracking, correct GST split, and purchase records that reconcile.

A medical store can run for years on a simple cash counter and still fail an audit, because the difficulty is rarely calculating GST. It is proving, months later, which batch you sold, at what rate, against which purchase invoice.

Get the line item right first

Every sale line should carry enough information to stand on its own: the medicine, its HSN code, the batch, the expiry, quantity, unit price, GST percent, and the resulting line total. If any of these live only in someone's memory, the record is incomplete.

  • HSN code — required on the invoice and rarely uniform across your catalogue.
  • Batch number — the link between what you bought and what you sold.
  • Expiry date — needed for returns, and for not selling expired stock.
  • GST percent per item — medicines are not all taxed alike.

Batches are the whole game

Stock without batches is a number. Stock with batches is a history. Once you track batches, three things become possible that were previously guesswork: near-expiry alerts that name the exact stock at risk, returns that credit the right purchase, and stock valuation that reflects what you actually paid.

The operational rule that follows is simple: sell the earliest expiry first. Software should surface that batch by default rather than making the counter staff decide.

Purchase in, sales out — and they must reconcile

Stock moves in through purchase invoices from suppliers and out through sales bills. If both sides write to the same stock ledger, your closing stock is always derivable. If they are recorded in separate books, you will spend the end of every month reconciling by hand.

If a stock figure cannot be traced back to a purchase invoice and forward to a sale, it is an estimate, not a record.

Cancellations and returns need to be first-class

Deleting a bill is the wrong answer. A cancelled invoice should stay in the record as cancelled, with the stock returned to the correct batch. The same applies to purchase returns. Audits ask about the exceptions, not the clean sales, so the exceptions need a paper trail.

Clinic plus pharmacy under one roof

Many Indian clinics run an in-house pharmacy. When the two share one system, the doctor's prescription and the counter sale reference the same patient, and the day's revenue is a single figure rather than two books to add up. When they do not, staff re-enter patient details twice and reporting becomes manual.

A short readiness checklist

  1. 1Can you produce, for any past sale, its batch and originating purchase invoice?
  2. 2Do near-expiry alerts name specific batches and quantities?
  3. 3Are cancelled bills retained rather than deleted?
  4. 4Does a purchase entry update stock without a second manual step?
  5. 5Is GST percent stored per item rather than applied as one blanket rate?

Five yes answers mean the record-keeping will hold up. Any no is where your next audit question will come from.

Vyavan handles medicine stock with batch and expiry tracking, supplier purchase invoices, and GST sales billing.

Start free trial

Read next