Decisions7 min read
Barcode, QR or RFID for stock tracking: which one your inventory system needs
By Sannan MalikPublished
Short answerStart from what you need to identify. A retail barcode (EAN or UPC) carries a GTIN, which names the type of product. GS1-128, GS1 DataMatrix and GS1 QR codes can add batch, expiry and serial number. RFID tags give each object its own code and can be read in bulk without line of sight, using dedicated readers. For most small warehouses and shops I would start with barcodes read by a phone camera.
Product, batch or single item: what the code has to identify
Choose the identity first. The label follows from it.
GS1 is the standards body behind the barcodes on retail products. GS1 UAE describes the GTIN as the number you see under a barcode and says it identifies types of products. Every tin of the same paint carries the same GTIN, so a scan tells your system what the product is. It does not say which delivery the tin came from.
For that you need more data in the code. GS1 does this with application identifiers, short prefixes that say what the next piece of data means. These are the ones an inventory system meets most, with the formats from GS1's own identifier list.
| Identifier | What it carries | Format in GS1's list |
|---|---|---|
| (01) | GTIN, the product type | 14 digits |
| (10) | Batch or lot number | Up to 20 characters |
| (17) | Expiration date | 6 digits, YYMMDD, so 31 December 2027 is 271231 |
| (21) | Serial number, one single item | Up to 20 characters |
| (00) | SSCC, one logistic unit tracked across the supply chain | 18 digits |
What each label holds and which device reads it
The descriptions below come from GS1 UAE and GS1 Australia. The reader column is from Google's ML Kit and Apple's Vision documentation, which list the formats a phone camera can decode.
| Carrier | What it holds | What reads it | Where GS1 places it |
|---|---|---|---|
| EAN-13 or UPC-A | A GTIN only, 13 or 12 digits | Phone camera or handheld scanner | Products sold at retail point of sale |
| ITF-14 | A GTIN, 14 digits | Phone camera or handheld scanner | Cases and cartons, printed directly on corrugated board. Not for the till. |
| GS1-128 | GS1 keys plus batch, expiry, serial number and quantity, up to 48 characters. Carries the SSCC on logistic labels. | Handheld scanner. Test phones on your real labels. | Logistics units and traceability |
| GS1 DataMatrix | The same kind of data in a smaller space | Image-based scanner or smartphone | Healthcare, small products and parts |
| QR code with GS1 Digital Link | A web address with the GTIN in it, plus batch, lot or serial if the brand adds them | A phone's native camera | Consumer-facing packs, and supply chain traceability from the same code |
| EPC/RFID tag | An Electronic Product Code, a unique identifier for the object | An RFID reader, by radio | Apparel inventory, asset tracking, pallets passing a gantry |
How far a phone camera gets you
Further than most owners expect. Google's ML Kit lists Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A and UPC-E among linear formats, and Aztec, Data Matrix, PDF417 and QR Code among 2D formats. It reads them in any orientation. Google also says scanning is performed completely on the device and does not require a network connection, which matters at the back of a warehouse with no signal.
On iPhone, Apple's symbology list includes EAN-8, EAN-13, UPC-E, Code 128, ITF-14, Data Matrix, QR, PDF417 and three GS1 DataBar variants. Apple's live data scanner is available on devices with the A12 Bionic chip and later, and needs camera permission.
Now the limits. ML Kit's list does not name GS1 DataBar, and Google says it does not read barcodes encoded with FNC2, FNC3 or FNC4, or QR codes generated in ECI mode. My rule: collect ten real labels from your shelves and your suppliers, and scan them on the exact phones staff will use before anyone promises camera scanning.
One mix-up to avoid. The NFC chip in a phone is not a pallet RFID reader. Apple's Core NFC reads NFC tags of types 1 through 5, and Android's NFC guide describes scanning at a very short range. GS1's support portal puts NFC at 13.56 MHz, while passive UHF tags, also called RAIN RFID, use the 860 to 930 MHz band under the GS1 Gen2 and ISO/IEC 18000-63 standards.
What RFID changes, and my rule for adding it
RFID removes the aiming. GS1's support portal says barcodes need line of sight, while with RAIN RFID the reader only has to be in range of the tagged item. GS1 Australia gives the picture: an entire pallet of products can be read and identified as it passes through a gantry, without removing the outer boxes.
GS1 is also frank about the other side. The same portal says RAIN RFID may not be the right solution for your particular application, and that it can work alongside an existing barcode system. GS1 Australia adds that a barcode still needs to be on the label.
My rule: start with barcodes and a phone camera. Move to handheld scanners when staff scan all day and the phone slows them down. Add RFID only when you can name the problem it solves. Counting takes too long because every item has to be handled. Sealed cartons must be checked without opening them. You need every single item identified, at volume. If none of those is true, RFID is a cost with nothing to show for it.
What the software has to store for each choice
The label is the cheap part. The database decides whether a scan means anything.
- GTIN only: a product record per GTIN, a quantity per location, and your own code for anything that arrives without a GTIN.
- Pack levels: the code on the case as well as the code on the unit, with how many units a case holds. Ask your supplier whether the two differ.
- Batch and expiry: stock held per product and batch, not per product alone, so the system can tell you which batch to pick first and what a recall touches.
- Serial numbers: one row per item, with its status and current location.
- SSCC: one record per logistic unit, and the lines that say what is inside it.
- Locations: a code on every shelf, bin and bay, so a move is two scans.
- A scan log: who scanned what, where and when. My post on courier software covers the same idea for parcels.
- RFID: each tag's code linked to a product, plus a decision on what a read means. Seen at the door is not the same as received.
Seven things to settle before the build starts
These go into the written scope. Most are your decisions, not mine.
- Who assigns codes? GS1 UAE describes itself as the only authorised provider of unique GTINs and says you cannot trade on Amazon without a GS1 barcode. Stock that never leaves your building can run on your own codes.
- Do your suppliers already print GTINs? Are batch and expiry inside the barcode, or only printed as text beside it?
- Which levels get a label: unit, case, pallet, shelf?
- Who prints labels, on which printer, and at what point: on receiving, or on packing?
- Which devices: staff phones, company phones or handheld scanners?
- Does scanning have to work with no signal, and what happens when two people count the same shelf offline?
- What does a picker do when a code is damaged or unknown?
Where scanning sits in an inventory quote from me
An inventory or warehouse system is custom software, so I quote it as a fixed price after a written scope. Camera scanning inside a Flutter app is ordinary app work. A small stock app can fit a package: Launch at $999 for up to 10 screens on top of a system you already run, Growth at $1,699 with its own Node.js backend and PostgreSQL database, or Scale at $2,500 with an admin dashboard.
Hardware integrations are quoted separately. That covers handheld scanners, label printers and RFID readers. GS1 membership, hosting and ongoing maintenance are not included. Send me a sample of your product list and photos of the labels already on your shelves, and I will tell you which column of the table you are in.
Questions
- Can a phone camera replace a barcode scanner in a warehouse?
- For reading the common formats, yes. Google's ML Kit decodes EAN-13, UPC-A, Code 128, ITF, Data Matrix and QR on the device with no network connection. Whether it is fast enough for your volume is something to test with your own labels and phones.
- Can a phone read the RFID tags used on pallets?
- Not with its NFC chip. GS1's support portal says NFC operates at 13.56 MHz, while the passive UHF tags known as RAIN RFID use the 860 to 930 MHz band. Those need an RFID reader, which is a hardware integration.
- Do I need GS1 barcodes to track stock inside my own business?
- Not always. Your own codes can work for stock that only your staff scan. You need GTINs when retailers, marketplaces or other trading partners scan your products. In the UAE they come from GS1 UAE.
Sources
Platform rules and fees in this article were checked against these official pages on 12 November 2026. They change, so confirm before you rely on them.
- GS1 UAE: GS1 Standards to Identify Products
- GS1 UAE: GS1 Standards to Capture Information
- GS1 UAE: 2D barcodes
- GS1 UAE: GS1 Digital Link
- GS1 UAE: Get Your Barcodes
- GS1: GS1 Application Identifiers
- GS1 Australia: Discover Different 1D & 2D Barcode Types
- GS1 Australia: Master EPC Enabled RFID Technology
- GS1 GO Customer Service Portal: What are the benefits of RAIN RFID technology?
- GS1 GO Customer Service Portal: What are the advantages of RAIN RFID for inventory?
- GS1 GO Customer Service Portal: What is the difference between low-, high-, and ultra-high frequencies?
- GS1 GO Customer Service Portal: What is RAIN RFID?
- Google for Developers: Barcode scanning (ML Kit)
- Apple Developer Documentation: VNBarcodeSymbology
- Apple Developer Documentation: Scanning data with the camera
- Apple Developer Documentation: Core NFC
- Android Developers: NFC basics
Sannan Malik is a software architect and product builder with 8+ years in software, CEO of Alpha Notic FZE and a Certified Scrum Product Owner. He builds mobile apps and business software for companies in the UAE, the wider Gulf, the UK, the US, Canada and Australia.