A SKU is an identifier you use for a stock item or variant. A barcode is a machine-readable representation of data, often an item identifier. Your shop can encode an internal SKU in Code 128, while a manufacturer’s EAN barcode may encode a registered product number.
They work together, but are not interchangeable terms. Generating a barcode image does not register a product or automatically create its price in your billing software.
Compare the two roles
| Question | Internal SKU | Barcode |
|---|---|---|
| What is it? | Your item identifier | A scannable data representation |
| Example | PEN-BLU-10 | A Code 128 image encoding PEN-BLU-10 |
| Who chooses it? | The business using the code | The encoded identifier has its own allocation rules |
| Does it contain the sale price? | Not normally | An ordinary item barcode does not provide your current shop price |
| What does scanning do? | Looks up a matching item record | Supplies the encoded value to that lookup |
A shop can change a sale price without changing the identifier, provided the item identity has not changed. The billing system retrieves the price from the matching item record.
A stationery shop example
Nila stocks blue and black pens in two pack sizes. She creates four internal SKUs:
- PEN-BLU-01 for one blue pen.
- PEN-BLK-01 for one black pen.
- PEN-BLU-10 for a ten-pack of blue pens.
- PEN-BLK-10 for a ten-pack of black pens.
The codes help distinguish stock records. Encoding each one as Code 128 lets a compatible scanner enter the code quickly. The app still needs the correct item, unit, price and stock settings behind that code.
If a manufacturer already prints a useful barcode, Nila can use that existing identifier in the item record rather than covering it with a new label unnecessarily. Check that the scanned pack matches the unit being sold.
Keep codes unique and stable
Do not give the same internal SKU to two different variants. A scanner cannot know whether a shared value means a blue pen or a black one. The software needs an unambiguous mapping.
Avoid putting a changing price into your SKU naming scheme. A code such as PEN-12RUPEES becomes misleading when the price changes. Use a short stable identifier and keep price as a separate item field.
Preserve leading zeroes. In a spreadsheet, a code is text, even when it contains only digits. If 001234 becomes 1234 during preparation, the result is a different string and may fail to match the item.
Read the item naming guide for keeping similar products distinguishable in a catalogue.
Choose an appropriate barcode format
Code 128 can encode letters and numbers and is useful for internal shop SKUs. EAN-13 encodes a specific thirteen-digit structure including a check digit. You cannot render an arbitrary letter-based SKU as EAN-13 simply by selecting that option.
The Code 128 vs EAN-13 guide explains the distinction. The free barcode generator supports both, validates EAN-13 check digits and keeps your entered content in the browser.
A checksum only checks the number’s structure. It does not prove that the identifier belongs to you or is registered for your product. For product identifiers intended for external retail use, consult GS1 India’s registration guidance.
Test the whole lookup, not just the image
Generate a sample and scan it into a plain text field first. Confirm the exact characters, including zeroes and any scanner suffix. Then test in billing software using a sample item record.
If the code scans correctly but selects the wrong item, inspect the record mapping. If it does not scan at all, inspect the print quality, symbology and scanner configuration. Those are different problems and need different fixes.
Keep labels away from folds, damage and other barcodes that could be read accidentally. Do a physical sample check before printing a large set.
Use the code in daily billing
Yojika lets you keep a barcode on an item, print item labels and use a compatible scanner during billing. Setting up an internal SKU scheme remains your business decision. See the barcode billing guide, features, or download Yojika.
Frequently asked questions
Does every SKU need a barcode? No. A SKU can be searched or entered manually. A barcode makes data entry easier when the workflow supports scanning.
Can I invent an EAN number? A structurally valid number is not proof of ownership. Follow the allocation rules required by the channels where the product will be sold.
Should a new price create a new SKU? Usually keep price in the price field. Review identity separately when the product or pack changes.