Skip to content
LekhaPro
AI · deterministic · offline

Pharma AI that runs on your machine

A specialised, on-device intelligence layer for chemists and distributors — expiry, schemes, substitution and drug-licence compliance, computed from your own books with no internet and no third-party service.

lekhaPro· Pharma AI · Expiry Radar
Search or jump to…
D
Batches at risk
37
Value at risk
₹1.84L
Expiring ≤30d
₹64,000
Expired
₹22,000
ProductBatchExpiryValueDays
Amoxicillin 500B2409Aug 26₹12,40018d
Paracetamol 650P2312expired₹8,200Expired
Azithromycin 250A2501Sep 26₹9,80054d
Cetirizine 10C2408Nov 26₹6,10086d
FEFO — oldest batch billed first · offline & on-device.

Live product UI — sample data.

  • Expiry & returns

    Expiry Radar ranks near-expiry and expired batches by rupee value at risk, bucketed 30/60/90 days. Expiry Rescue then recommends the single best action for each batch — return to supplier, push to fast buyers, clearance or dispose — ranked by the rupees you can still recover. Billing also picks the oldest batch first (FEFO).

  • Compliance & margin

    A Schedule-H/H1 audit flags sales missing a doctor or prescription, while the Scheme Optimizer shows the true landed cost after free goods and the margin vs MRP.

  • Never lose a sale

    Salt substitution surfaces same-salt alternatives that are in stock when an item is short, and a drug-licence monitor warns before your own or a party’s licence lapses.

What this actually means in practice

Expiry Rescue is the clearest illustration of the rule. For each near-expiry batch it takes on-hand quantity, cost per unit, the price you actually realise, how fast the item moves and how many days of shelf life remain, then evaluates four actions — return to the supplier for credit, push to regular buyers, clear with a scheme, or dispose — and reports the rupees each would recover. Dispose honestly recovers nothing. The ranking is arithmetic, reproducible to the paise.

The rest of the suite works the same way. The Scheme Optimizer values free goods into the line to give a true landed cost and the real margin against MRP, choosing between competing schemes on the larger benefit. Salt substitution matches on full composition, so it offers only products that share every salt and are actually in stock. The Schedule-H audit lists sales of H, H1 and X drugs with no doctor or prescription number recorded. The licence monitor reads expiry dates on your own and your parties' drug licences.

There is no language model anywhere in Pharma AI, and no internet either. Every one of these is a computation over the batches, bills and masters sitting on your own machine, which is why it works in a shop with a patchy connection and why the same batch list comes back on every run. What it will not do is act. It ranks the batch, names the supplier and states the recoverable amount — raising the return, calling the buyer and quarantining the stock stay yours.

Every answer is arithmetic over your own batches — nothing is predicted
Situation at the counterWhat Pharma AI computesWhat you decide
Batch expiring in sixty days, still sellingUnits demand can absorb before expiry, valued at retailPush it, or return the remainder
Batch expiring soon, barely movingCredit recoverable on a supplier return, valued at costReturn now, or clear at a discount
Batch already expiredNothing recoverable — the loss is stated plainlyQuarantine and raise the expiry return
Distributor offers ten plus oneLanded cost per saleable unit and margin against MRPAccept this scheme or a rival's
Item out of stock at the counterProducts sharing the full salt composition, in stock nowSubstitute, or order the original
H1 drug billed without a prescriptionThe sale listed in the Schedule-H auditCapture the doctor before inspection
Party licence nearing expiryDays remaining on your own and your parties' licencesRenew, or stop supplying

What’s included

  • Expiry Radar — value-at-risk by 30/60/90 days
  • Expiry Rescue — best recovery action per batch (return / push / clear / dispose)
  • Schedule-H / H1 compliance audit
  • Scheme Optimizer — true landed cost & margin vs MRP
  • Salt / generic substitution (in-stock alternatives)
  • Drug-Licence Monitor (own + customers/vendors)
  • FEFO batch picking at billing
  • Fully offline & on-device — no third-party service

What it does not do

  • · Pharma AI advises and never acts. It ranks the batch and names the amount; raising the supplier return, calling the buyer and quarantining stock remain steps you take.
  • · Expiry Rescue values a supplier return at cost. Whether the distributor accepts it depends on their return policy and the shelf life left, which the engine cannot know.
  • · Salt substitution matches full composition on your own product master. Where a salt is not recorded against an item, that item cannot be offered as an alternative.
  • · Pharma AI is deterministic and offline, so it ships with the pharma capabilities rather than the ₹2,499 Enterprise conversational tier. There is no payroll or HRMS for counter staff.

Frequently asked

Is Pharma AI online or offline?

Fully offline and on-device. Every feature — Expiry Radar, the Schedule-H audit, the Scheme Optimizer, salt substitution and the drug-licence monitor — is a deterministic computation over your own books, with no internet and no third-party service.

What does the Expiry Radar do?

It lists near-expiry and expired batches ranked by the rupee value at risk and bucketed by 30 / 60 / 90 days, so you can return stock to the distributor before the saleable-return window closes. Billing also picks the oldest batch first (FEFO).

How does it help Schedule-H compliance?

You capture the prescribing doctor, patient and prescription number on the invoice and keep a doctor master, and the Schedule-H audit flags any sale of an H/H1/X drug missing a doctor or prescription — so the register stays inspection-ready.

Which plan includes Pharma AI?

Pharma AI is deterministic and offline, so it is part of the built-in insights rather than the Enterprise conversational AI add-on. See pricing for the current plan mapping.

Does Pharma AI decide which batch to bill?

Billing picks the batch, not the AI. The counter screen offers the earliest-expiring batch with stock — first expiry, first out — so shelf life is consumed in the right order without anyone thinking about it. Expiry Radar and Expiry Rescue then work on what FEFO could not clear in time, which is the stock genuinely at risk.

Our shop has no reliable internet. What stops working?

None of this. Every Pharma AI computation runs on the machine holding your books, with no call to any service, so the Expiry Radar, the rescue ranking, the scheme comparison, salt substitution, the Schedule-H audit and the licence monitor all behave identically offline. A connection is needed only to validate your subscription periodically and to download updates.

How is ai · deterministic · offline handled differently here?

It rests on expiry & returns, compliance & margin and never lose a sale. The distinction that matters is that these are structural rather than cosmetic — the behaviour is built into how records are posted, not layered on as a report you have to remember to run.

Does AI · deterministic · offline post to the real books?

Yes, and that is the whole reason it lives in this product rather than beside it. What expiry & returns records lands in the same posted double-entry ledger the Trial Balance, P&L and GST returns are built from — so there is no second set of ai · deterministic · offline numbers to reconcile against the first.

Can I try AI · deterministic · offline before committing?

Yes — 14 days, no card. Test ai · deterministic · offline against your own masters and your own transactions rather than sample data: the questions worth answering here are about your business's edge cases, and a demo dataset is built not to have any.

Can I get my ai · deterministic · offline data out again?

Yes. On the Desktop edition everything AI · deterministic · offline records sits in a local database on a disk you choose, with scheduled encrypted backups you control — stopping payment leaves you holding a readable file. On the Cloud edition your data is isolated to your business by row-level security and exportable from the reports it feeds.