Skip to main content
ERP Teacher
ComparisonGlobal (fictional rules)

Item Code vs SKU: What Is the Difference?

An item code is an internal identifier that tells which item something is in a company's master data. A SKU (Stock Keeping Unit) is the code of the smallest unit a company holds in stock and sells. For products without options such as colour or size many companies use the same value for both, but once options exist a single item can have several SKUs.

Author
Seung-joo Park
Reviewer
Seung-joo Park
Last updated

The companies, items and codes in this article are fictional examples for teaching.

How we write and review

One thing to know first

How item codes and SKUs are used differs between companies and systems, and some places use the two terms to mean the same thing. This article explains the most common distinction; the real rule is the definition of the system you use and your company's internal policy.

Item code and SKU compared

The usual distinction between an item code and a SKU.
AspectItem codeSKU
What it doesIdentifies an item once in master data, so that journal entries point at that item.Counts stock quantity and tells products apart in sales channels.
What it identifiesAn item (a kind of product)The smallest unit of stock and sale
Options (colour, size and so on)Usually keeps options together as one item.Often assigned separately for each combination of options.
Where it is usedInternal master data and journal entriesInventory management and sales channels such as online shops
When one value can serve as bothWith no options and one stock unit per item, many companies use the same value for both.Once options appear only the SKU has to split, so decide in advance whether to keep the two apart.

Case: one T-shirt item, three SKUs

Situation
A fictional clothing seller has one item code, TS-001, for its basic T-shirt. By colour (black, white) and size (M, L), three variants are actually in stock: TS-001-BK-M, TS-001-BK-L and TS-001-WH-M.
Result
Stock is counted per SKU, so a sold-out black M does not stop the white M from selling. Master data such as the product description or the supplier is kept once, under item code TS-001. The code formats are examples for explanation only.

Frequently asked questions

Can an item code and a SKU be the same value?

When there are no options and one item is exactly one stock unit, many companies use the same value for both. If options appear later only the SKU has to split, so deciding up front whether to keep the two fields apart reduces clean-up work later.

What if the SKU in an online shop differs from the item code in the ERP?

Rather than changing either value, it is common to build a mapping table that says both values point at the same item. Then an order from the shop reaches the same item and stock in the ERP.

Is stock counted by item code or by SKU?

It follows the stock unit your company has decided on. If stock is managed separately per option it is counted per SKU; if options are not told apart it is counted per item.

Keep going