Quick Start

Last updated: October 12th, 2026

Batches, Expiry and MRP

Keep track of the lots you buy, record the maximum retail price (MRP) of each lot, and stop yourself from billing above it.

Items › Batch MRP
In simple words

Medicines, food, cosmetics and many other goods are bought in lots. Each lot has a batch number, often an expiry date, and a printed MRP, the highest price at which the law lets you sell it. Kanak Books remembers each lot as a batch. You can then record the MRP of a lot and ask Kanak Books to refuse any bill that sells the item for more than that MRP.

Diagram: when a document is saved for an item that has Enforce MRP on, Kanak Books finds the oldest batch that still has stock and an MRP. A rate above that MRP is refused with a message; a rate equal to or lower is saved.
What happens when you save a bill for an item that has the MRP guard on.

Switch it on

  1. Click the settings (gear) icon and open Items & Stock.
  2. In the card Features on this page, turn on Batches & expiry (Track batch numbers and expiry dates). It saves as soon as you click it.
Settings, Items and Stock, card Features on this page. The Batches and expiry switch is marked 1 and is on.
The Batches & expiry switch (1).

Once it is on:

  • The Batch MRP entry appears in the Items menu.
  • The item form gets an Expiry date is mandatory for this item checkbox and a Tracking Type drop-down with the choice Batch / Lot.
  • On purchase documents, each line gets Expiry date and Batch / Lot Number boxes.

Set up the item

Open Items › Items, then add or edit an item of type Goods and switch on Track Inventory for this item. Three controls apply to batches.

Part of the item form. Marker 1 is the checkbox Expiry date is mandatory for this item, marker 2 the Tracking Type drop-down set to Batch / Lot, marker 3 the checkbox Enforce MRP on this item's batches.
Batch settings in the item form.
  • 1Expiry date is mandatory for this item. When ticked, a purchase line for this item cannot be saved without an expiry date (Expiry date is required for this item).
  • 2Tracking Type.None or Batch / Lot. A second choice, Serial Number, shows only when serial numbers are switched on; see Serial numbers and warranty. An item can be tracked one way only.
  • 3Enforce MRP on this item's batches. Switches the MRP guard on for this item. It is off by default. Hover over the small i next to it for the hint.

The Batch MRP screen

Open Items › Batch MRP. The screen first says Select an item. Click the Item box, type a few letters of the item name and click the item in the list. The batches of that item appear, oldest first.

The Batch MRP screen with Paracetamol Strip selected. Markers show the item box and the five columns Purchased, Batch number, Cost Rate, In Stock and MRP.
The batches of one item.
  • 1Item. Pick the item. The × in the box clears the choice.
  • 2Purchased. The date the batch came in. It shows - when the batch has no date, for example stock entered as opening stock.
  • 3Batch #. The batch or lot number typed on the purchase line. - if none was typed.
  • 4Cost Rate. What one unit of this batch cost you.
  • 5In Stock. A green Yes while some quantity of the batch is left, a grey No when it has all been used up.
  • 6MRP. The MRP you recorded, or Set MRP when none is recorded. Click it to change it.

If the item has never been bought through a batch, the screen says No batches on record for this item yet -- purchase it via a bill first.

Set or change an MRP

  1. Click Set MRP (or the existing number) in the row of the batch. A number box opens with a tick and a cross.
  2. Type the MRP per unit.
  3. Click the tick to save, or the cross to cancel.
The first batch row in edit mode. Marker 7 is the number box, marker 8 the tick that saves and marker 9 the cross that cancels.
Editing the MRP of one batch.
  • 7 The MRP box. Numbers only.
  • 8Tick: saves. You see Batch MRP updated and the new number appears in the row.
  • 9Cross: closes the box and changes nothing.
The MRP must be above zero

An empty box or a zero gives Enter a valid MRP greater than 0 and nothing is saved. There is no screen button to remove an MRP once it is set, so type the correct value instead. You need the permission to edit items to save an MRP; viewing the screen needs the permission to view items.

The MRP guard on bills

When you save an invoice, a POS bill or a credit note and a line is for an item that has Enforce MRP ticked, Kanak Books compares the line's rate with the MRP of a batch.

  • Which batch is used. The oldest batch of that item that still has stock and has an MRP recorded. Batches without an MRP are skipped.
  • Rate above the MRP: the document is not saved. The message reads The selling rate is above the item's MRP of <amount>. Lower the rate to the MRP or less and save again.
  • Rate equal to the MRP, or lower: saved as usual.
  • No MRP recorded on any batch with stock: there is nothing to compare with, so the document is saved.
  • Item without the tick: never checked.
Supervisor override

The server has a supervisor override that lets a user with the special permission Override MRP bill above the MRP. The billing screens do not offer it yet, so for now, lower the rate or change the batch MRP if the MRP is wrong.

Worked example

You sell paracetamol strips with a printed MRP of ₹15.

  1. In Settings › Items & Stock turn on Batches & expiry.
  2. Edit the item Paracetamol Strip — 500mg: set Tracking Type to Batch / Lot, tick Enforce MRP on this item's batches and save.
  3. Record a purchase bill. In the item line type the Batch / Lot Number and the Expiry date.
  4. Go to Items › Batch MRP, pick the item and click Set MRP on the new batch. Type 15 and click the tick.
  5. Create an invoice selling the strip at ₹18. Save: the message says the rate is above the item's MRP of 15.
  6. Change the rate to ₹15 and save. It goes through.

Good to know

  • A batch is created when you purchase. You cannot add a batch on the Batch MRP screen; it only shows batches and sets their MRP.
  • Every line is compared with the oldest batch. If the oldest batch with stock has MRP ₹15 and a newer batch has ₹18, a bill is checked against ₹15 until the old batch is used up.
  • The item's own MRP field is a different thing. The item form has an MRP box next to Selling Price. That one is the item's printed price, used for example by your online shop to show a crossed-out price. It is not what the guard checks.
  • Estimates, sales orders and bills are not checked, only the three documents listed above.