Barcode, EAN-13 and GS1 India for Retailers: GTIN, Label Printing, Internal Codes and Scanner Setup
By BillAmico Tax & Compliance Desk | | 11 min read
A barcode is a machine-readable number printed as bars. At a retail counter it turns a three-second scan into a finished bill line. Yet many shopkeepers are unsure what the 13 digits mean, who issues them, whether they must buy a barcode, and how to label loose goods that carry none. This guide explains barcodes, EAN-13 and GS1 India in plain language and shows how to print labels and set up a scanner.
1. What a barcode is and what it is not
A barcode does not store a price or a product name. It stores only a number. The scanner reads that number and sends it to the billing software as if someone had typed it. The software then looks the number up in the item master and finds the name, rate, tax and stock. This is why one barcode can show different prices in different shops.
This design matters for a shopkeeper. If the barcode number is not in your item master, the scan finds nothing. Packaged goods from manufacturers already carry a printed barcode, so you only need to link that number to the item once. Loose goods and your own packed goods carry no barcode, so you create one yourself.
Barcodes are not required by GST. The tax invoice rules ask for item description, HSN, quantity and rate, not for a barcode. A barcode is a speed and accuracy tool for the shop, not a legal document.
info: A barcode is only a number. The price lives in your software. If you change the selling rate in the item master, the same sticker gives the new rate on the next scan.
2. How the EAN-13 barcode is built
EAN-13 is the common retail barcode on Indian packaged goods. It has 13 digits. The number is a type of GTIN (Global Trade Item Number), which is the worldwide system for identifying a trade item. In general the 13 digits have three working parts and one check digit.
| Part | What it means | Notes |
|---|---|---|
| Prefix | Identifies the numbering authority, often shown as a country-linked prefix | Indian items commonly start with 890 |
| Company and item reference | Assigned to the brand owner and the product | The brand owner decides the item part |
| Check digit | Last digit, calculated from the first 12 | Lets the scanner catch misreads |
The prefix shows which GS1 office issued the number, not where the product was made. An item with an 890 start was numbered through GS1 India, but that does not prove it was manufactured in India.
The check digit is calculated with a simple rule. Number the first 12 digits from the left. Multiply the digits in odd positions by 1 and the digits in even positions by 3. Add everything. The check digit is the amount needed to reach the next multiple of 10.
Worked example with an illustrative number that is not a real product: 890123456789. Odd positions (8, 0, 2, 4, 6, 8) add to 28. Even positions (9, 1, 3, 5, 7, 9) add to 34, and 34 x 3 = 102. The total is 28 + 102 = 130. This is already a multiple of 10, so the check digit is 0 and the full code is 8901234567890.
3. What GS1 India does and how a shop gets a GTIN
GS1 is the global non-profit standards body behind barcode numbering. GS1 India is its member organisation in India. A manufacturer, brand owner or packer who wants globally unique numbers for its own products joins GS1 India, receives a company prefix, and then creates item numbers under it.
A retailer who only resells branded goods does not need a GS1 number. The brand owner has already numbered the product. A retailer needs a GS1 membership only when selling products under the shop's own brand to other shops, online marketplaces or export buyers who ask for a standard GTIN.
Fees and eligibility for GS1 India membership are set by GS1 India and change over time. Check the current terms on its website before planning. Do not buy numbers from random resellers. Numbers from unofficial sellers can clash with numbers already owned by others.
| Situation | Do you need a GS1 GTIN? |
|---|---|
| Reselling branded packed goods that already carry a barcode | No, use the printed barcode |
| Selling loose goods or your own packed goods only in your shop | No, make internal codes |
| Selling your own brand through other retailers or marketplaces | Usually yes, ask the buyer |
| Exporting packaged goods | Often yes, buyers commonly ask for GTINs |
warning: Never print a made-up EAN-13 on goods that will leave your shop. A number that belongs to another brand can cause scanning clashes at other stores and disputes with marketplaces.
4. Internal item codes for loose goods and in-store labels
For goods sold only inside your shop you can create your own codes. GS1 sets aside a range of EAN-13 numbers for restricted use inside one store or company, commonly described as numbers starting with 20 to 29. Using this range means an internal code will not be mistaken for a real brand number if it is scanned somewhere else.
A practical internal scheme uses a short, fixed pattern. For example, start with 2, then a two-digit category, a four-digit item serial, and let the software add the check digit. Keep a written key of what each category number means so staff can read a code at a glance.
| Segment | Example | Meaning |
|---|---|---|
| Start digit | 2 | Internal code range |
| Category | 14 | Footwear |
| Item serial | 0057 | Item number 57 in that category |
Variants such as size and colour need one code per variant, because a scanner must tell a size 32 jeans from a size 34. Keep the item serial for the style and add a variant part, so every size and colour has its own sticker and its own stock count.
Goods sold by weight, such as sweets or loose pulses, are often handled by a weighing scale that prints its own label with weight and price encoded. Scales commonly use a number starting with 2 for this purpose. If you use such labels, confirm with the scale vendor how the weight or price is encoded before you configure the billing software.
5. Printing barcode labels: size, quality and paper
Labels are printed on a thermal label printer, on rolls of adhesive stickers. Common roll formats put one, two or three labels across the width. A frequently used label size is 50 mm by 25 mm, and shops also use other sizes to fit small items or garment tags.
Print quality decides whether the scanner reads the code. Follow these checks:
- Keep dark bars on a light background. Reversed or coloured codes often fail.
- Leave a clear blank margin on both sides of the bars. A code printed too close to the edge or to text is hard to read.
- Do not shrink the code below the size allowed by the standard. GS1 guidance allows EAN-13 to be scaled within a range of roughly 80 percent to 200 percent of the nominal size. Check the current GS1 General Specifications for exact limits.
- Do not stretch a barcode taller or wider only. Scale it evenly.
- Clean the printer head and check the heat setting if bars look faded.
Print a test sheet of ten labels before printing a full roll, and scan each one. A faded or smudged label costs more in rework than the test costs in time.
BillAmico includes a Barcode Sticker Designer for thermal label rolls. You select items in Inventory, open the designer, choose a label size such as 50 x 25 mm or a custom roll, and print.
6. Scanner setup basics for a fast counter
Most USB and wireless scanner guns behave like a keyboard. They type the digits very fast and then send an Enter key. The software tells a scanner from a human typist by speed.
If a scanner types the digits but does not press Enter, the bill line does not add. Most scanners have a setup booklet with special setup barcodes. Scan the factory default barcode first, then scan the one that adds an Enter (carriage return) suffix.
If a scanner adds duplicate or partial items, the typing speed may be mismatched. BillAmico has a barcode delay setting. Adjust it a little at a time and test with five scans in a row.
In continuous scan mode the cursor stays in the barcode field. A repeat scan of the same item increases the quantity by one instead of creating a new row.
| Symptom | Likely cause | First fix |
|---|---|---|
| Digits appear but the line does not add | No Enter suffix | Scan the Enter (CR) suffix setup code |
| Same item adds twice | Scanner or software double trigger | Adjust the barcode delay |
| Scan finds nothing | Number not in the item master | Create the item or link the barcode |
| Some labels will not scan | Faded print or low contrast | Clean the head, raise print density |
7. Linking a barcode to an item in the billing software
In the item master, each item has a primary barcode and can have a secondary barcode. Keep the manufacturer barcode as the primary for branded goods. Add your own internal code as a secondary if you also want a shelf label.
When goods arrive, scan the carton or unit barcode into the item screen instead of typing it. Typing causes errors, and one wrong digit means a scan will never find the item.
A cashier who meets an unlabelled item at the counter should not stop the queue. BillAmico allows on-the-spot item creation from the billing screen. Type the product name, press Enter, fill the rate and tax, and the item goes into the open bill. Label it later.
Revisit the barcode list once a month for items with no barcode and items with two different numbers for one product. Clean data is what makes the scan fast.
8. Quick revision checklist
- A barcode stores a number only. Price and name come from the item master.
- EAN-13 has 13 digits. The last one is a check digit.
- GS1 India issues company prefixes to brand owners. A pure reseller does not need one.
- Use internal codes in the restricted 20 to 29 range for goods sold only in your shop.
- One variant, one barcode.
- Test print ten labels and scan each before a full roll.
- Fix a missing Enter suffix first when scanner lines do not add.
Frequently asked questions
Is a barcode mandatory for a shop under GST?
No. GST invoice rules require details such as description, HSN, quantity, rate and tax. A barcode is not a legal requirement. It is a tool that speeds up billing and reduces errors.
What do the first digits 890 on an Indian barcode mean?
The prefix shows the GS1 office that issued the company number. Numbers beginning with 890 are commonly linked to GS1 India. It identifies the numbering authority and does not prove where the product was made.
Do I need to buy a barcode from GS1 India to sell in my own shop?
Usually not. If you resell branded goods, use the barcode already printed on them. For loose goods or your own packing sold only in your shop, create internal codes. You need GS1 numbers mainly when you sell your own brand to other retailers, marketplaces or export buyers who ask for a standard GTIN.
How is the EAN-13 check digit calculated?
Multiply the digits in odd positions of the first 12 digits by 1 and the digits in even positions by 3, add them, and take the amount needed to reach the next multiple of 10. That is the check digit. If the total is already a multiple of 10, the check digit is 0.
Why does my scanner type the barcode but the item does not get added?
The most common reason is that the scanner does not send an Enter key after the digits. Scan the setup code that adds an Enter or carriage return suffix. If lines are doubled or cut off, adjust the barcode delay setting in the billing software.
Official sources
Related guides
- Stock Transfer Between Godowns and Branches Under GST: Schedule I, Distinct Persons, Challans and E-Way Bills
- Batch Number and Expiry Date: How to Record Them on Purchase and Sale, and What the Law Expects
- Serial Number and IMEI Tracking for Mobile and Electronics Shops: Purchase Scan, Sale Scan, Warranty and Returns