Skip to main content

Stock · step 3 of 6

Batch

A batch is a quantity of one item that was received or produced together and is tracked under a single identifier, so that the quantity's origin, shelf life and every destination can be traced as one group.

Why it exists: Because a recall, a complaint or an expiry date is a question about a group of units, and the group has to be named before it can be found.

See it live

Where it sits

  1. UOM Conversion

    counted in

  2. BatchThis document

  3. Serial Number

    contrasted with

Stock: Item → UOM Conversion → Batch → Serial Number → Warehouse → Stock Entry

Try it

Trace a batch back to suppliers or forward to buyers

Choose a finished batch and a direction. The tree is the evidence; the line under it is the recall scope.

Finished batch

Direction

Sample data, invented for this page. It is not a record from any system.

FG-2610-A · trace back to suppliers

Recall scope: three raw batches from three suppliers.

How a batch moves through its life

Four states. Pick one to see what a batch is, and what it can still become.

The identifier exists for one item, with its manufacturing date and, for goods that expire, an expiry date. It holds no stock yet.

Then: In stock

Batch1 of 4
BatchCreated

The identifier exists for one item, with its manufacturing date and, for goods that expire, an expiry date. It holds no stock yet.

Then: In stock

Quantity sits under the batch in one or more warehouses. It can be picked, transferred or split into a smaller batch.

Then: Expired

Batch2 of 4
BatchIn stock

Quantity sits under the batch in one or more warehouses. It can be picked, transferred or split into a smaller batch.

Then: Expired

The expiry date has passed. The batch drops out of picking, and most sales and receipts dated after it are refused, but the stock stays on the books until it is written off or returned.

Then: Closed

Batch3 of 4
BatchExpired

The expiry date has passed. The batch drops out of picking, and most sales and receipts dated after it are refused, but the stock stays on the books until it is written off or returned.

Then: Closed

Quantity is zero, or the batch is disabled. The record stays for tracing and its identifier stays taken.

Ends here

Batch4 of 4
BatchClosed

Quantity is zero, or the batch is disabled. The record stays for tracing and its identifier stays taken.

Ends here

Rules that must hold, and what breaks them

Rules

  • A batch belongs to one item. The same supplier lot number received for two different items is two batches, one for each item.
  • Every movement of a batch-tracked item names the batch it draws from or adds to. A movement without a batch cannot be traced, so the system has to refuse it.
  • An expired batch is not issued or sold as in-date stock. Expiry is a hard stop on picking, with a deliberate route for what remains: a write-off or a return to the supplier.

Does this happen in your business?

Tick what you recognise. Each tick shows what it costs.

Mistakes people make with batches

Tick any that happen here.

In ERPNext, and in your system

How ERPNext models it

DocTypeWhat it does here
BatchThe batch record: batch_id (unique), item, manufacturing_date, expiry_date, a read-only batch_qty, parent_batch and a disabled flag. Expiry is set from the manufacturing date plus the item's shelf life when it is left blank.
Itemhas_batch_no switches tracking on and cannot be changed once submitted transactions exist. create_new_batch with batch_number_series makes batches on receipt. has_expiry_date with shelf_life_in_days drives the expiry date.
Serial and Batch BundleSince version 15, the submittable document that carries batch numbers and quantities for a stock row. Outward picking skips expired and disabled batches, in FIFO, LIFO or earliest-expiry order as Stock Settings says.
Stock SettingsFrom version 16, 'Activate Serial / Batch No for Item' must be on, and it is off by default, before an item can be marked as batch-tracked.
Serial No and Batch TraceabilityReport on the serial and batch bundles. Given an item, batch or serial number it traces backward to the supplier, forward to the customer, or both, through manufacture and repack entries.

What other systems call it

SystemNameNote
ERPNextBatchDocType Batch. The item needs Has Batch No ticked.
TallyBatches (Maintain in Batches)Switched on in Features (Enable Batches), then per stock item (Maintain in Batches). A batch can be created on the fly by typing its name. Manufacturing and expiry dates are optional.
Zoho BooksBatch TrackingZoho Inventory. Not among the modules the Zoho Inventory add-on brings into Zoho Books.
SAP Business OneBatches (Manage Item By: Batches)Set per item in Item Master Data, General tab. The field takes None, Serial Numbers or Batches. Batch numbers are entered in the Batch Management window.
OdooLot (Lots/Serial Numbers)Needs the Lots & Serial Numbers setting in Inventory. Lots are listed under Inventory > Products > Lots/Serial Numbers.

From each maker's own documentation, checked 13 October 2026. A dash: not confirmed.

Questions about batches

The one most people ask is answered first. Type to find the rest.

What does a batch mean for the business?

The batch is what turns "something is wrong with what we sold" into a list of buyers. Recall scope, earliest-expiry picking, shelf-life write-offs and supplier claims all run on it. A business that tracks batches pulls the affected group. One that does not pulls everything of that item, or learns of the problem only when the complaint arrives.

Reviewed 14 October 2026. All 40 documents: the ERP glossary.

Start with one conversation

One message, call or WhatsApp is enough. Every line reaches the team directly.

Team away now