GS1 QR codes for snack and bar brands: allergen recalls, lot codes and Sunrise 2027
Undeclared allergens are a common reason for food recalls, and a recall without lot data reaches every bar on the shelf. This guide puts the lot and best-by date in a GS1 Digital Link QR code, so one wrong wrapper means one recalled lot.
DLCode · Updated · 7 min read
Why allergens matter for snack and bar brands
The US has nine major food allergens: milk, eggs, fish, crustacean shellfish, tree nuts, peanuts, wheat, soybeans and sesame. Sesame became the ninth on January 1, 2023, under the FASTER Act.
FDA requires each allergen source to be named on the label at least once. It goes in parentheses after the ingredient, such as whey (milk), or in a Contains statement next to the ingredient list. The type of tree nut must be named.
FDA reports that milk is the most common cause of recalls for undeclared allergens. From September 2009 to September 2014, about one-third of the foods reported to FDA's Reportable Food Registry as serious health risks involved undeclared allergens.
Under 21 CFR 117.135(c)(2), food allergen controls include labeling the finished food so it is not misbranded. A wrong wrapper on one production run is a lot problem. If you can find that lot fast, you can act on that lot only.
What the rules say about lot codes and recall plans
The FDA records rule in 21 CFR 1.345 asks manufacturers to record the lot or code number of food they ship, to the extent this information exists.
For food with a hazard that needs a preventive control, 21 CFR 117.139 requires a written recall plan. The plan must describe how you notify direct consignees, notify the public when appropriate, check that the recall worked and dispose of the recalled food.
A lot code on every wrapper and case makes each of those steps smaller. Your retailers and your co-packer can match the same number in their records.
FSMA 204, the Food Traceability Rule, applies to foods on the Food Traceability List. Nut butters are on the list in all forms, including shelf-stable products. Soy and seed butters are not.
A food that contains a listed food as an ingredient is covered only if that ingredient stays in the same form as on the list. If you sell nut butter or nut butter packs, plan for the rule now. If nut butter is one ingredient in a baked bar, ask your co-packer how the rule reads for your process.
Congress set July 20, 2028 as the earliest date FDA can enforce the Food Traceability Rule, and FDA says it intends to comply. Wrappers you print this year can still be in the channel then. For the record-keeping side, see Lot-level traceability and recalls under FSMA 204.
What the QR code adds to the wrapper
21 CFR 101.9(a)(1) says that for food in package form, the required nutrition information shall appear on the label. The allergen declaration also goes on the label, in the ingredient list or the Contains statement.
Keep the Nutrition Facts panel, the allergen statement, the ingredient list and the printed best-by date. The QR code adds what a wrapper cannot hold: the lot, a page for that lot and a recall notice for that lot.
The page a scan opens is part of your label story, so write it with the same care as the wrapper. See Can I put a QR code on my food label? What US rules allow.
How the lot and best-by date go into the QR code
A GS1 Digital Link QR code is a web address that contains your GTIN. GS1 Application Identifier 10 is the batch or lot number, up to 20 characters. Application Identifier 17 is the expiration date, in YYMMDD form.
DLCode puts the lot in the path after /10/ and the expiry in the query after ?17=.
https://qr.yourbrand.com/01/00850012345695/10/B1127?17=270331Use the same lot text that your co-packer already prints next to the best-by date. Lot codes and expiry dates in the code need a paid pack or the 30-day trial.
If the product has no link, the code opens a hosted product page. That page shows the lot and the best-by date from the code, or from the lot record if you saved one.
Send each lot to the right ingredient page
DLCode does not build a Nutrition Facts or allergen page for you. Keep that page on your own site, where you already list ingredients for each flavor, and set it as the product's main link.
When a recipe changes, such as a new supplier or an added allergen, wrappers from older and newer lots stay on shelves side by side. A lot link sends each lot to the page that matches its wrapper.
- Publish the new ingredient page on your site at its own URL, and keep the old page live.
- Open the product in DLCode and add a link limited to the first lot of the new recipe, with the new page as the target.
- Repeat for each new lot, or change the main link to the new page once the old lots have sold through.
- Scan a proof of the new lot and an old wrapper to check that each opens the right page.
A lot match ranks above a country match and a language match. Lot links need a paid pack or the trial. You can change any link at any time, and the change applies from the next scan with no reprint.
Recall one lot from the scan
In DLCode, you can mark a whole product as recalled. You can also mark only listed lots, or every lot that expires on or before a date.
Scans of an affected lot open the hosted page with your recall notice. Scans of other lots open your normal link. The GS1 linkset for the product also reports the recall status, and every change goes into the product's recall history.
Starting a recall needs a paid pack or the trial. Ending a recall works on every plan. A recall by expiry date needs the date in the code or a saved expiry on the lot record.
Pair the scan notice with the notices your recall plan already sends to your direct consignees and the public. For the full steps, see How to tell customers which batch is recalled.
Amazon and retail shelves
Amazon has its own rules for expiration-dated products sent to its fulfillment centers. A summary by eComEngine, updated April 22, 2024, lists a printed date in MM-DD-YYYY or MM-YYYY form, in a font size of 36 or larger. It also lists more than 90 days of remaining shelf life at check-in, and disposal of units within 50 days of expiry.
Confirm Amazon's current expiration date rules in Seller Central before you ship. The expiry inside a QR code is in a format for machines, so keep the printed date that Amazon reads. For listings, see How to make GS1 QR codes for your Amazon Seller Central products.
For store shelves, the date to plan for is Sunrise 2027. GS1 US describes it as a transition from 1D UPC barcodes to 2D barcodes such as QR codes, and advises brands to add 2D barcodes that include their GTIN to existing packaging. Wrappers you print today can still be on shelves then. See Sunrise 2027 for sizes and placement.
Put the codes on your own domain
A wrapper run can sit in a warehouse and on shelves for months. Codes on a domain you own, such as qr.yourbrand.com, point where you choose for as long as you own that domain.
Every paid pack includes one free domain registered to your company, with renewals paid through December 31, 2030. You can also connect a subdomain you already own with one TXT record and one CNAME record. See Use your own domain for GS1 QR codes.
Cost for a 40-SKU snack brand
Each flavor and pack size has its own GTIN, so 40 SKUs need 40 product codes. Lots do not count toward the product limit, so the 100-product pack covers this catalog.
| DLCode 100 pack | Subscription at $80 per month | |
|---|---|---|
| Price | $499 one time | $960 per year |
| Products | 100 | Varies by tool |
| Cost through 2030 | $499 | $3,840 for 2027 to 2030 |
| After 2030 | $29 per year for hosting | $960 per year |
The 100 pack includes 5 domains, 10 seats, lot links, lot recalls and up to 100,000 serial numbers. Hosting and unlimited scans are included through December 31, 2030. See pricing.
What to do this month
- List every flavor and pack size, and confirm each has a GTIN licensed to your company by GS1.
- Ask your co-packer for the lot format they print, and how they print variable data on the wrapper or case.
- Check that each product page on your site shows the full ingredient list and allergen statement for the current recipe.
- Add your products to DLCode and set each main link to its product page.
- Make a QR code for one lot with its best-by date, and print a proof next to your UPC.
- Scan the proof with an iPhone and an Android phone, and check the lot and date on the page.
- Write your recall notice text now, and test a recall on one lot before you need it.
- Connect your own domain before the first print run.
For print sizes and quiet zones, see Print specs for a QR code next to your UPC or EAN. For other food categories, see DLCode for food brands.
Have a one-lot recall ready before your next run
Set up one flavor, put the lot and best-by date in its code, and test a recall on one lot before you ever need it.
- Each production run gets its own QR code, with the lot your co-packer already prints.
- Recall listed lots, or every lot that expires on or before a date.
- Send each lot to the ingredient page that matches its wrapper after a recipe change.
- Change any link at any time, with no reprint.
- Use your own domain so every code carries your brand.
Start free for 10 products, with no card. When you need more, pay once from $249 for 25 products. Hosting and unlimited scans are included through December 31, 2030, with no subscription. Lots do not count toward the product limit. New accounts get lot codes, lot links and recalls free for 30 days on up to 25 products.
Make the code for your next run today. Start free or See pricing.
Sources
- Food Allergies · U.S. Food and Drug Administration
- 21 CFR 117.135: Preventive controls · Legal Information Institute, Cornell Law School
- 21 CFR 117.139: Recall plan · Legal Information Institute, Cornell Law School
- 21 CFR 1.345: What information must nontransporters establish and maintain to identify the nontransporter and transporter immediate subsequent recipients of food? · Legal Information Institute, Cornell Law School
- 21 CFR 101.9: Nutrition labeling of food · Legal Information Institute, Cornell Law School
- Food Traceability List · U.S. Food and Drug Administration
- FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods · U.S. Food and Drug Administration
- The FBA Seller's Guide to Amazon Expiration Dates · eComEngine
- Transitioning to 2D Barcodes: Sunrise 2027 · GS1 US
- GS1 Application Identifiers · GS1
- GS1 Digital Link URI syntax · GS1
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.