EloERP Cloud
The compliance differentiator

FBR, ZATCA, MyInvois & UAE e-invoicing — built into every invoice, not a bolt-on. Sell compliantly from day one.

Compliance hub
Inventory

Barcode Scanning for Inventory Management: Setup Guide, Including Pharmacy Retail Stock (2026)

EEloERP Team··5 min read
Barcode Scanning for Inventory Management: Setup Guide, Including Pharmacy Retail Stock (2026)

Barcode scanning for inventory means every sale, delivery and stock count is recorded by scanning a code instead of typing it, so stock levels stay accurate as they change. For pharmacy retail stock, the best scanning setup is a 2D imager plus software that records batch and expiry when stock arrives.

This tutorial covers how barcode scanning works, the scanner types, a six-step setup, and a short answer for pharmacies — whether you run one store or ten.

What Is Barcode Scanning in Inventory Management?

Barcode scanning is the process of reading a printed barcode - a pattern of parallel lines (1D) or a grid of squares (2D/QR) - using a laser or camera-based scanner to retrieve the product information linked to that code. In an inventory context, every scan triggers an automatic update: a sale decrements stock, a goods receipt increments it, and a stocktake confirms it. The result is a real-time, accurate inventory ledger without manual data entry.

Before barcode scanning, inventory management meant counting by hand, writing on paper, and entering numbers into a spreadsheet - a process vulnerable to fatigue errors, transcription mistakes, and deliberate manipulation. Barcode scanning replaces this with a process that is faster, more accurate, and automatically time-stamped in your system.

Types of Barcodes Used in Inventory

Barcode Type Format Common Use Cases Max Data Capacity
EAN-131D - 13 digitsRetail products globally (manufactured goods)13 numeric digits
EAN-81D - 8 digitsSmall retail packaging where space is limited8 numeric digits
UPC-A1D - 12 digitsUS and Canadian retail products12 numeric digits
Code 1281D - variableShipping, logistics, internal warehouse labels128 ASCII characters
Code 391D - variableHealthcare, automotive, defenseAlphanumeric
QR Code2D - matrixURL links, product authentication, mobile scansUp to 4,296 characters
Data Matrix2D - matrixSmall components, pharmaceutical packagingUp to 2,335 characters

For most retail and warehouse inventory, EAN-13 (for manufactured products) and Code 128 or QR codes (for internal labels) cover the majority of use cases. If your products come from a manufacturer, they already have EAN or UPC barcodes printed on them. If you are labelling your own products (loose goods, food items, custom merchandise), you will print your own barcodes using your POS software's label printing module.

Types of Barcode Scanners

1. Handheld Laser Scanners

The most common scanner in retail environments. A laser line sweeps across the barcode and detects the reflected light pattern. Works best on 1D barcodes on flat surfaces. Connection options: USB cable (most reliable, no battery management) or Bluetooth wireless (for warehouse mobility). Recommended for: checkout counters, receiving docks, stockroom scanning.

2. 2D Imager Scanners

Camera-based scanners that read both 1D barcodes and 2D codes (QR, Data Matrix) by capturing an image. Slightly slower than laser on 1D codes but more versatile. Essential if you use QR codes for product authentication or mobile inventory. Recommended for: pharmacies (batch and serial number QR tracking), electronics retail, any operation using QR-based labels.

3. Wireless / Bluetooth Scanners

Same scanning technology as wired units but with a Bluetooth or RF connection to the base station. Allow staff to move freely across a warehouse floor or large retail floor. Recommended for: large store formats, warehouses, receiving areas where products cannot be brought to a fixed counter.

4. Mobile Computers (Handheld Terminals)

Ruggedized Android or Windows Mobile devices with built-in barcode scanners, touchscreens, and Wi-Fi. Run inventory apps directly on the device - scanning, receiving, and stocktake without returning to a fixed terminal. Recommended for: medium to large warehouses, supermarkets doing regular large-scale stocktakes, multi-floor retail operations.

5. Smartphone Scanning (via App)

Modern inventory apps can use a smartphone's camera as a scanner. Works for low-to-medium volume operations but slower and less reliable than a dedicated scanner. Best suited as a fallback or for occasional stocktakes in locations without dedicated hardware. Free to implement if staff already carry smartphones. Recommended for: small operations, ad hoc inventory checks, small stockrooms.

How Barcode Scanning Integrates with Inventory Management Software

A barcode scanner is just hardware. Its value comes from its connection to your inventory management or retail POS software. Here is how the integration works in practice:

At the Point of Sale (Sales Scanning)

When a cashier scans a product at checkout, the POS software looks up the barcode in its product database, retrieves the name and price, adds the item to the transaction, and decrements one unit from the inventory count - all in under a second. If the barcode is not found, the system prompts the cashier to add the product, preventing unknown items from being sold at an incorrect price.

At the Receiving Dock (Purchase Order Scanning)

When goods arrive from a supplier, a receiving staff member scans each item against the open purchase order. The system checks quantity received vs. quantity ordered, flags discrepancies (short shipments, wrong items, damaged goods), and updates the inventory count once confirmed. This process takes minutes instead of the hours required by manual receiving.

During Stocktaking (Physical Count Scanning)

Staff scan every item in a section or the whole store. The inventory system compares the scanned count to the book count (what the system expects) and highlights discrepancies. Shrinkage (theft, damage, or data entry error) shows up immediately. Scanning makes stocktakes far quicker than counting on paper, so you can do them more often.

For Stock Transfers

When moving stock between locations or to a customer delivery, scanning creates an auditable record of every item that left one location and arrived at another. Discrepancies in transit - lost items, wrong quantities - are caught immediately rather than discovered weeks later during a stocktake.

Step-by-Step: Setting Up Barcode Scanning in Your Inventory System

Step 1: Audit Your Current Barcodes

Walk your product range and identify how many items already have printed barcodes (most manufactured products do). For items without barcodes (loose goods, bulk items, custom products), you will need to create and print internal barcodes. Note: for internal barcodes, use Code 128 or QR format - these encode more information and are not subject to international numbering standards that require a paid GS1 registration.

Step 2: Register Products in Your Software

Every barcode must be linked to a product record in your inventory software. For manufactured goods, enter (or bulk import via CSV) the EAN/UPC barcode printed on the packaging. For your own products, your software will assign an internal barcode when you create the product record. Most inventory software includes a barcode import feature - if you have a product CSV from your supplier, the barcode column can be imported directly.

Step 3: Print Labels for Untagged Products

For products without manufacturer barcodes, print your own labels. You will need a thermal label printer and label stock in the right size for your products. Good inventory software includes a built-in label design tool where you can configure what appears on the label (barcode, product name, price, batch number) and print in bulk for new stock arrivals.

Step 4: Connect Your Scanner

For a USB scanner: plug it into your POS terminal or PC. Modern scanners are plug-and-play - no driver installation required. The scanner acts as a keyboard input device, sending the barcode string to whatever application is in focus. For a Bluetooth scanner: pair it with your device using the instructions in the manual (usually: press pairing button, scan the pairing barcode from the manual). Wireless scanners require programming with the base station - follow the setup guide in the box.

Step 5: Test Before Going Live

Before scanning in a live transaction, test with 20-30 products across different categories. Verify: the correct product name and price appear when scanned, inventory counts decrement correctly after a test sale, the scanner reads barcodes from multiple angles and distances, and any products with damaged or missing barcodes have a fallback (manual search by product name or SKU). Fix any products with incorrect or missing barcode registrations before your go-live date.

Step 6: Train Your Staff

Most staff pick up basic POS scanning quickly. Focus training on: how to handle barcodes that will not scan (damaged labels, scan angle issues), what to do when a product is not found in the system, and how to process returns using scanning. For receiving and stocktake procedures, allow 1-2 hours of supervised practice before staff work independently.

Common Barcode Scanning Problems and Solutions

Problem Likely Cause Solution
Scanner beeps but nothing happensApplication not in focus; scanner sending to wrong windowClick on the search/barcode input field before scanning
Wrong product appearsDuplicate barcode in system; manufacturer reused a barcodeRemove duplicate; reassign barcode to correct product
Barcode not foundProduct not registered; barcode mismatch (EAN vs internal)Add product to system or correct barcode in product record
Scanner reads slowly or misreadsWorn scan glass; label damage; wrong scanner for barcode typeClean scanner glass; reprint label; upgrade to 2D imager if using QR
Inventory counts incorrect after scanningPartial scan during receiving; duplicate scans at checkoutAudit scan logs; check for double-scan prevention settings
Bluetooth scanner disconnectsOut of range; low battery; Wi-Fi interference on 2.4GHzCharge scanner; reduce range; switch to 5GHz Wi-Fi channel

Best Scanning for Pharmacy Retail Stock

Short answer: use a 2D imager scanner at the counter and at the receiving desk, and record the batch number and expiry date on every delivery as it is received. The scanner identifies the medicine; batch and expiry are what protect you from selling expired stock and let you act on a recall.

How this works in EloERP: switch on batch and expiry tracking for the products that need it. Goods receipts capture batch number, expiry, rejected quantity and rack for each line, with a barcode scan column. Multi-UOM products carry a separate barcode per pack size and convert to base units. The POS finds items by name, SKU or barcode. The Batch & Expiry report shows expired and expiring-soon batches with the value at risk, using a near-expiry window you choose (1 to 3,650 days). Physical stock counts are done by scanning, and approved differences post to stock and the general ledger.

What it does not do: EloERP does not read the batch and expiry out of a GS1 DataMatrix scan. The scan identifies the product and pack size; batch and expiry are entered on the goods receipt. More on this in batch and expiry tracking in inventory.

Barcode Scanning for Specific Industries

Pharmacy Inventory Scanning

Pharmacies have demanding scanning needs: every medicine has to be tracked by batch number and expiry date, not just product name, and much pharmaceutical packaging carries 2D DataMatrix codes as well as 1D barcodes. See best scanning for pharmacy retail stock above, and our pharmacy POS software page.

Grocery and Supermarket Scanning

Grocery operations scan thousands of items per day at high speed. The priority is scanner durability and checkout speed - look for industrial-grade scanners and omnidirectional scanning heads that read barcodes regardless of orientation. Loose produce sold by weight needs a scale at the counter. For back-of-store receiving, mobile terminals allow goods to be scanned and received without bringing everything to a fixed counter. See also: grocery store POS systems.

Warehouse and Distribution

Warehouses use barcode scanning at every stage of the fulfilment cycle: inbound receiving, put-away to bin locations, pick-and-pack for outbound orders, and cycle counting. Bin location barcodes allow the software to track not just how many units you have, but exactly where each unit is in the warehouse. Serial number scanning ensures individual high-value items (electronics, equipment) can be tracked unit-by-unit through their entire lifecycle.

Benefits of Barcode Scanning

Ready to Set Up Barcode-Enabled Inventory Management?

Barcode scanning is not a complex technology. The hardware is inexpensive, the setup is straightforward, and the benefits - faster checkout, accurate inventory, and reliable stocktakes - are immediate. The key is having an inventory management system that makes the most of each scan: updating stock in real time, matching against purchase orders, flagging discrepancies, and giving you clean data for business decisions.

EloERP Cloud's retail POS software and inventory management module are barcode-ready end to end: scan at the till, on purchase documents and goods receipts, during physical counts and for IMEI/serial entry. Variants and pack sizes each carry their own barcode, and you can print barcode labels in four sizes for items that arrive without one.

Schedule a free demo to see barcode scanning, inventory management and POS working together, or start the 15-day free trial and scan your own products.

Part of the EloERP Pharmacy Knowledge Hub

This article is part of our complete pharmacy management series. See the full guide: Pharmacy & Medicine Industry POS Software

Related resources:

Tagsbarcode inventory managementinventory barcode scannerbarcode scanner for retailbarcode inventory systembarcode tracking software

Frequently asked questions

What is the best scanning setup for pharmacy retail stock?
A 2D imager scanner at the counter and the receiving desk — it reads both 1D barcodes and the 2D codes on some medicine packs — plus software that records the batch number and expiry date on every delivery. In EloERP the scan identifies the product and pack size; batch and expiry are entered on the goods receipt, and the Batch & Expiry report shows what is close to expiring.
Do I need the internet for barcode scanning to work?
For scanning at the counter, check whether your POS has an offline mode. EloERP's offline POS keeps selling without a connection and pushes the data to the cloud when the connection returns. Real-time stock across several locations needs a connection.
Can one scanner work with multiple POS terminals?
A USB scanner is tied to the terminal it is plugged into. A Bluetooth scanner pairs with one device at a time but can be re-paired. Wireless scanners with a base station stay paired to that base. Where several staff scan at different stations, plan one scanner per active checkout.
What happens when a barcode is damaged or missing?
Good POS software always has a fallback: search by product name or SKU. EloERP's POS finds items by name, SKU or barcode, and you can print a replacement barcode label from the product record. Train staff on the fallback so damaged labels don't hold up the queue.
How do I manage products with multiple barcodes?
Many products have different barcodes for different pack sizes — a single unit and a box of 12, for example. In EloERP, a multi-UOM product holds a separate barcode for each pack size with its conversion to the base unit, so scanning a box adds the right number of units. This matters most in wholesale and pharmacy receiving.
Is barcode scanning worth it for a small store with only 100 products?
Usually, yes. Even with 100 products, scanning at checkout removes price lookups, prevents over- and under-charging when prices change, and builds accurate sales data over time. The hardware is inexpensive and a basic USB scanner works as soon as it is plugged in.
Back to all articles

Run your business on one system

See how EloERP unifies sales, stock and accounts. Start free, or book a quick demo.

Start 15-Day Free TrialBook a demo