Boon-style GRN fields. Your confirmed stock rules.
Fictional data in memory only. No account, real database, storage or real stock posting. Reset or reload clears all changes.
Fictional clock:18 Nov2026 IST. GST rates below are examples only, not medicine-tax advice. Fixture sale-tax rules are assumed verified. Cost/period/accountant checks still gate release.
1. Item Details Fictional preview only. No real stock changed.
MRP is the total for one Qty/pack, not the whole delivery. Unit MRP is calculated automatically; changing Pack does not alter your typed pack MRP. Free means individual units, not packs (tablets in this example). PTR is the invoice purchase rate for one paid Qty, before the entered line discount; use the actual billed rate if a printed reference PTR differs. Free units are not charged again. Purchase discount changes cost, not selling MRP. Unit PTR excludes free-unit averaging. Effective cost includes the free-unit benefit but excludes purchase GST; tax recoverability/accounting is not decided here.
Same batch + same expiry, Pack, pack MRP, purchase GST, sale GST and discount: top up. Different batch: new row. Same batch with conflicting values: stop and check for a typing error. Each arrival keeps its own receipt evidence. HSN stays on the receipt with its source, never guessed into the medicine master. No old receipt or stock is converted. Whole paid Qty, Pack and Free only.
2. Billing: suggest earliest eligible expiry
An override may bypass a suggestion, never expiry/quarantine/tax/stock blocks. Choose the exact physical batch. If one lot cannot cover the quantity, add separate lines after checking the available units.
Use after adding a line to test stale price protection. Save must block; remove and re-add after reviewing the new displayed values.
3. Fictional stock rows
| Row / batch | Expiry / state | Available tablets | Unit MRP | Pack | Pack MRP | Disc% | Sale GST* | Reference cost / tablet | New receipt layers | Version |
|---|
Purchase-cost reference is weighted within a batch for this demonstration. Product-wide moving-average valuation is NOT implemented by this sandbox and must not be confused with this display. Receipt layers preserve each deal. No mixing of selling MRP or GST.
4. Price-locked bill preview
| Lot / batch | Qty | Locked unit MRP | Locked GST* | Inclusive amount | Source version | Override reason |
|---|
Price locked at line selection, then lot/version/pricing reconfirmed on save. If any source changes, block and require staff review; never silently substitute a new price or save an unreviewed old price. Saved bills keep their original snapshots after later changes.
5. Purchase receipt lines ADDED
Original pack values and calculated per-unit values are shown together. All prices Rs. Scroll the supplementary table for the source details; the current line's key figures are visible in Item Details above.
| Invoice | Item | Batch | Expiry | Paid Qty | Pack | Free units | Stock units | PTR / Qty | PTR / unit | MRP / Qty | MRP / unit | Disc % | Disc Rs | Purchase GST % | Tax Rs | Excl GST | Incl GST | HSN | HSN source |
|---|
Totals group only this session's received lines by supplier/invoice/date. Not a saved invoice, payment, valuation ledger or stock posting. Overall discount, freight, other charges, credit notes and document attachment remain outside this batch sandbox; enter none by guesswork.
6. In-memory receipt / bill log
Fictional trace only, not server audit. Existing possibly overwritten stock would stay unverified until physical/invoice review; this demo does not import or guess it. No copy of actual clinic data has been used.