Hardware › Scanner

Reading batch and use-by from barcodes

Many food and medicine packs carry a square 2D code (a GS1 Data Matrix or GS1 QR code) that holds the product's barcode, its batch number and its use-by or best-before date. With batch and expiry tracking, the till and the back office read all three from one scan, so nobody types a batch or a date. Owners, Admins and Shop managers set it up. Batch and expiry tracking is on some plans.

Before you start

Turn it on in the till profile

  1. In the back office, open Settings › Till profiles and open the profile your tills use.
  2. Under Scanner, check Read batch and expiry from barcodes is on ("Reads the batch (10) and expiry (17) parts of GS1 barcodes."). It is on by default once your business has batch and expiry tracking; without it the setting isn't there.
  3. Press Save changes if you changed it. The tills get it within a minute.

On the till, Settings › Hardware shows it under Till profile: Read batch and expiry from barcodes.

Scan a pack at the till

  1. On the Sell screen, scan the 2D code on the pack.
  2. The till finds the product by the barcode inside the code, and the line shows the batch and date from the code, for example "Batch FR1811 · best before 16/12/2026". The till doesn't ask Which batch?: the batch in the code wins.
  3. If the date has passed, the till's rules for expired items apply: past a use-by date it won't sell it; past best before it warns or asks for a manager, as your business set it. See Batches and use-by dates at the till.

A batch the business has stopped (a recall) can't be sold: the till says so when it's scanned.

The same 2D code can also carry a weight or a price (fresh food):

Price check shows the product for any of these codes and sells nothing.

Scan a pack in the back office

Every box that takes a barcode reads the same codes, with Scan with camera on a phone or tablet (Scan barcodes with your phone's camera) or with a USB or Bluetooth scanner. What a scan fills in:

Where What the 2D code fills in
Deliveries, and receiving a purchase order The batch and date. A code with only a date gives the line that date, and the batch is named automatically. A second date is a new line. The serial number for products that record them; the weight for products bought by weight
Stock adjustments, waste, transfers, stock requests, supplier returns The batch. A code with only a date picks the batch in stock with that date
Stock counts (scan to count) Counts that batch, or the batch with that date; a batch itsPOS doesn't know yet is a batch found in the count
Purchase orders, Print labels, gap scan, searches The product only. Stock › Batches searches the batch number
A product's barcodes, Add a product Only the barcode inside the code (the batch and date belong to the pack)

Batches and dates are filled only for products that record batches. For other products the scan just finds the product.

Everything a GS1 code can carry, where it works and a printable test sheet to try it: Scan GS1 barcodes (batch, use-by and weight).

A weighed pack's weight is the quantity on stock pages, for example "Added 0.454 kg of Loose Cheddar".

If something goes wrong

What happens What to do
The product is found, but the till asks Which batch? The till profile doesn't read batches (Read batch and expiry from barcodes is off), or the scanner sends no AIM code. Turn the setting on, and scan the scanner's setup barcodes again.
"Barcode … is not on file." with a long number starting 0 The barcode inside the 2D code isn't on any product. Add it to the product's barcodes in the back office.
Letters or brackets appear in the search box The scanner isn't set to UK keyboard, or sends a prefix. Scan its setup barcodes again.
The batch number has the date stuck on the end, for example "CR261317270131" The scanner doesn't send the separator between the parts of the code. itsPOS takes a date or weight off the end of a batch, but a batch and a serial number can't be told apart. Set the scanner to send the GS1 separator: see Any other USB scanner.
A normal barcode on the same pack sells without a batch Only the 2D code carries the batch. Scan the 2D code, or choose the batch when the till asks.

Still stuck?

The itsPOS support team is here 08:00 to 20:00 every day except Christmas Day.

Tell us your shop's name and what you were trying to do. A screenshot of the screen helps.

For a device, tell us its model and the till's name, and if you can, send a photo of the device's cables and of the till's Settings › Hardware screen.