Stock · step 4 of 6
Serial Number
A serial number is a unique identifier assigned to one individual unit of an item, so that the unit's origin, location, warranty and buyer can be traced separately from every other unit of the same item.
Why it exists: Because some goods are sold, serviced and claimed on one unit at a time, and a count of units cannot say which unit a customer holds.
Where it sits
Stock: Item → UOM Conversion → Batch → Serial Number → Warehouse → Stock Entry
Try it
Serial number, batch, both or neither?
Answer four questions about the item. You get the answer, the reason for it, and the ERPNext switches to set.
The answers start at a laptop sold with a warranty. Change any answer.
Do you need to know which single unit a customer holds?
Does it expire?
Does each unit carry its own warranty or service dates?
Are the units identical, and bought, made or stored in lots?
A serial number
Each unit needs its own number. The answer depends on which unit it is, not on which lot it came from.
Why
- You need to know which single unit a customer holds, so each unit needs its own number.
- Each unit has its own warranty, so its own number is what ties a claim to one sale.
In ERPNext, on the item
- Has Serial No
- Yes
- Has Batch No
- No
- Has Expiry Date
- No
Version 16 only: Stock Settings, Activate Serial / Batch No for Item, must be on before either switch can be set.
How a serial number moves through its life
Five states. Pick one to see what a serial number is, and what it can still become.
The identifier exists for one unit, from the item's number series or typed or scanned from the unit's own label.
Then: In stock
The identifier exists for one unit, from the item's number series or typed or scanned from the unit's own label.
Then: In stock
The unit sits in one warehouse and can be picked from there only. ERPNext shows the status Active.
Then: Delivered or consumed
The unit sits in one warehouse and can be picked from there only. ERPNext shows the status Active.
Then: Delivered or consumed
The unit left stock: sold to a customer (Delivered), or used up in production or issued out (Consumed).
Then: Under warranty
The unit left stock: sold to a customer (Delivered), or used up in production or issued out (Consumed).
Then: Under warranty
Warranty and service-contract end dates on the serial number decide whether a claim is covered. ERPNext shows Under Warranty, Out of Warranty, Under AMC or Out of AMC, where AMC is an annual maintenance contract.
Then: Out of cover
Warranty and service-contract end dates on the serial number decide whether a claim is covered. ERPNext shows Under Warranty, Out of Warranty, Under AMC or Out of AMC, where AMC is an annual maintenance contract.
Then: Out of cover
Warranty and contract dates have passed. The history stays, so a later repair or recall can still find the unit.
Ends here
Warranty and contract dates have passed. The history stays, so a later repair or recall can still find the unit.
Ends here
Rules that must hold, and what breaks them
Rules
- A serial number identifies one unit, so its quantity is always one. A line of ten serialised units carries ten different serial numbers.
- A serial number is unique. The system refuses a second unit under the same number, and a number that is in stock cannot be received again.
- A serial number can only be issued from the warehouse it is in. Issuing a number the system believes is elsewhere, or already delivered, has to fail.
Does this happen in your business?
Tick what you recognise. Each tick shows what it costs.
Tick any that happen here.
In ERPNext, and in your system
How ERPNext models it
| DocType | What it does here |
|---|---|
| Serial No | One record per unit: serial_no (unique), item_code, warehouse, batch_no, warranty_expiry_date, amc_expiry_date. The read-only status is Active in a warehouse, Delivered after an outward movement, Consumed after a stock entry that uses it up (manufacture, repack, issue or consumption for manufacture), and Inactive after a cancelled receipt or a disassembly. |
| Serial and Batch Bundle | The submittable document that carries serial numbers for a stock row (Inward, Outward, Maintenance or Asset Repair). Its total must match the row's stock quantity. An inward bundle refuses a number already in a warehouse. An outward bundle refuses one that is not in the row's warehouse. |
| Item | has_serial_no marks the item as serialised and cannot be changed once submitted transactions exist. serial_no_series generates numbers on receipt. |
| Stock Settings | From version 16, 'Activate Serial / Batch No for Item' must be on, and it is off by default, before an item can be serialised. |
| Serial No and Batch Traceability | Report that traces a serial number backward to its supplier, forward to its customer, or both, and shows its warranty and AMC end dates. |
What other systems call it
| System | Name | Note |
|---|---|---|
| ERPNext | Serial No | DocType Serial No. The item needs Has Serial No ticked, and from version 16 'Activate Serial / Batch No for Item' on in Stock Settings. |
| Tally | — | not verified: no serial-number record or setup found in the TallyPrime help pages read on 2026-10-13 (stock items, batches, manufacturing, inventory vouchers, stock-item FAQ). Batches are the documented way to group stock. |
| Zoho Books | Serial Number Tracking | Zoho Inventory. Not among the modules the Zoho Inventory add-on brings into Zoho Books. |
| SAP Business One | Serial Numbers (Manage Item By: Serial Numbers) | Set per item in Item Master Data, General tab, with a management method: On Every Transaction or On Release Only. |
| Odoo | Serial Number (Lots/Serial Numbers) | Needs the Lots & Serial Numbers setting in Inventory. Listed under Inventory > Products > Lots/Serial Numbers. |
From each maker's own documentation, checked 13 October 2026. A dash: not confirmed.
Where a serial number connects
More terms it connects to
Each one opens that term.
Questions about serial numbers
The one most people ask is answered first. Type to find the rest.
What does a serial number mean for the business?
- A unit that comes back after repair or return under the same number, which is why ERPNext has a Stock Settings option, on by default, to let an existing serial number be received or manufactured again.
- Goods bought in bulk and serialised later, at the warehouse, when the labels are applied. The numbers have to exist before the first delivery, because an outward line without them is refused.
- Two items given the same serial series prefix. A serial number is unique across all items in ERPNext, so the second series would collide, and ERPNext warns when a prefix is already taken.
- Units that are issued and not sold, such as laptops given to staff. ERPNext's Serial No record has fields for the asset, employee and location the unit is linked to.
Reviewed 14 October 2026. All 40 documents: the ERP glossary.