Skip to content
Beta
All guides

Scanning barcodes and QR codes

Scan with your phone or computer camera, a hand scanner that types, or by typing the code.

After reading this guide, you'll know:

  • How to scan with the camera in your browser, and what to do when it can't start.
  • How hand scanners that type like a keyboard work in Magpie.
  • What a scan does on each screen, from looking up an item to counting and picking.
  • Which barcode formats Magpie reads, and why a UPC-A and an EAN-13 can be the same code.
  • What happens when Magpie doesn't recognize a code.
On this page

Magpie reads barcodes and QR codes with the camera of your phone, tablet or computer, with a hand scanner that types like a keyboard, or from a code you type. In the iPhone and Android apps, the same scan buttons open the app's own scanner (Using Magpie on your devices).

1 Scan with the camera

Open the scanner from any scan button: the round button in the middle of the tab bar on a phone, Scan on Home, the scan button on Search, Scan to count on a count, Scan to pick on a pick list, or Scan it and Scan an item on the stock screens.

The Scan sheet opens with the camera. Hold the code inside the box. When Magpie reads it, the phone vibrates (where it can), plays a short tone and opens what it found.

The sheet also has:

  • A camera picker, when the device has more than one camera.
  • A flashlight button, when the camera has a light.
  • Or type a code and Go, for a label that won't scan.
  • Scan from a photo, to pick a picture of the code instead. This works without camera permission.

Holding the camera on one code doesn't scan it over and over: the same code is ignored for about a second and a half. To scan the same thing again, wait a moment or point away and back.

The camera turns off when you close the sheet, go to another page or leave the app.

Enlarge screenshot: The Scan sheet on a phone, with the camera preview, the Or type a code box and Scan from a photo
The scanner

1.1 When the camera can't start

The sheet says why, and puts the cursor in the code box so you can type instead:

  • "Camera access is blocked": allow the camera for this site in your browser settings.
  • "The camera needs a secure (https) connection": the camera only works on a secure address.
  • "No camera was found": type the code, or use Scan from a photo.

More fixes are in The camera won't scan.

Note Looking up a scan needs a connection. Offline, the scanner says so. Counting is different: counts keep working offline and send when you're back (Counting without a connection).

2 Use a hand scanner

USB and Bluetooth scanners that act as a keyboard work on any screen, with nothing to set up in Magpie. The scanner needs to send Enter (or Tab) after each code, which most do out of the box, and codes need at least four characters.

  • When the cursor is in a text box (a search box, Add a barcode, a quantity), the scanner types into it like a keyboard. On Search, the cursor starts in the box, so a scan searches for the code.
  • Anywhere else, Magpie treats it as a scan for the screen you're on, the same as that screen's own scan button: on a count you're counting, it counts; on a pick list you're picking, it picks; where a screen asks for an item (Scan an item, Log waste, Use on a job), it chooses the item; when receiving an order, it adds a serial number. On other screens it looks the code up and opens the item or place.

Each trigger pull is one scan, so scanning five identical items counts five.

Tip On the receiving screen, a scan goes into the Serial numbers, one per line box you last clicked in or chose Scan beside, or the only one on the order. Each scan adds one serial number on its own line, and Magpie stays on the receiving screen.

3 What a scan does

What happens depends on where you scan. On the screens below that have their own scan button, the tab bar's scan button and a hand scanner work like it.

Where you scanWhat happens
Home, Search, the item list, the tab barOpens the item or place. A serial number opens its item.
Update stock (Scan an item)Opens Update stock for the item. A place label starts it at that place.
Move stock (Scan an item)Opens Move stock for the item. A place label moves stock from that place.
Check out (Scan an item)Opens the check-out for that item.
A count you're counting (Scan to count)Counts the item where you're counting. A place label switches where you're counting. The camera stays open.
A pick list you're picking (Scan to pick)Picks the item. The camera stays open.
Receiving, beside an item with serial numbers (Scan)Adds each serial number to that line. The camera stays open.
The scan button next to a barcode boxFills in the box with the code.
Crew buttons such as Log waste, Use on a job or Add what came inOpens that form with the item chosen.

See Counting your inventory, Pick lists and Crew screens.

4 What a code can match

Magpie looks for a code in this order, only in the organization you're in:

  1. An item's or place's own label code, the one printed on Magpie labels (shown as Label code on an item and Location code on a place). A QR label's link counts as its code.
  2. A barcode added to an item. A barcode added for a pack (a case of 12, say) counts the whole pack on a count.
  3. A serial number.
  4. An item's SKU.

Serial numbers and SKUs match whatever the capitals. Other barcodes must match exactly, because QR and Code 128 contents can tell capitals apart. Archived items aren't found, and nor are places you haven't been given.

To give an item more barcodes, open it and use Add a barcode under Barcodes: type the code or tap the scan button beside the box, then Add. A barcode can belong to only one item. See Adding and editing items.

5 Barcode formats

The camera reads QR codes, Data Matrix, Aztec, PDF417, Code 128, Code 39, Code 93, ITF, EAN-13, EAN-8, UPC-A and UPC-E. Some browsers also read Codabar. A hand scanner reads whatever it was built for, since it types the code.

5.1 UPC-A and EAN-13

A UPC-A barcode is an EAN-13 with a leading zero, and shop scanners often report one as the other. Magpie treats product barcodes (UPC-A, EAN-13, EAN-8 and GTIN-14) with a valid check digit as the same number however many leading zeros they have. So 012345678905 and 0012345678905 find the same item, whichever one you saved. Because they're the same code, you can't give those two forms to different items.

A UPC-E barcode (the short one on small packages) is matched to its full UPC-A form when the scanner says it's UPC-E. An eight-digit code with no format is tried both ways.

Enlarge screenshot: An item page opened by scanning a 12-digit UPC-A code, with the item's 13-digit EAN barcode listed under Barcodes
UPC-A and EAN-13 match

6 When a code isn't recognized

Nothing changes. The scanner says "We don't recognize" and the code, and offers Scan again. People who can add items also get Create item, which opens a new item with that barcode filled in. To give the code to an item you already have, open the item and add it under Barcodes.

On a count, unrecognized codes are kept with what was counted so you can name them later. See Counting your inventory.

Enlarge screenshot: The Scan sheet on a phone after a code that matched nothing, saying nothing was changed, with Create item and Scan again
An unknown code

7 QR labels and phone cameras

Magpie's QR labels hold a short link ending in /s/ and the label code. Any phone's camera app can open it: Magpie asks the person to sign in if they need to, then opens the item or place. The link only works for people in that organization, and a place only for people allowed there. Inside Magpie's own scanner the link is read as the label code, so it never leaves the organization you're in.

Barcode labels hold the label code itself, in Code 128, for hand scanners. See Printing labels.

Still stuck?

Email support with what you were trying to do and any message you saw.

Contact support