Catalog raises $3M to build the product data layer for AI commerce. Read the announcement.
All posts
Product Data

GS1 DataMatrix can carry product and traceability data

Learn what GS1 DataMatrix encodes, how it differs from standard Data Matrix and GS1 identifiers, and why clean records matter before encoding or syndication.

Retail and ecommerce teams use GS1 DataMatrix when one compact barcode needs to carry a trade-item identifier plus selected batch, date, or serial data. Each value needs the right owner and format before it reaches an encoder, while stable product facts also need to stay aligned across channels. At Catalog, we structure and synchronize product data for AI shopping; teams responsible for GS1 identifiers and production records own GTIN, lot, and serial values.

What a GS1 DataMatrix carries

GS1 DataMatrix is a two-dimensional barcode carrier built on Data Matrix ECC 200, not a product identifier. Its cells form a square or rectangle that an image-based scanner reads. The GS1 format adds a structured data string. Application Identifiers (AIs) label the values so receiving software can tell a GTIN from a lot number, date, weight, or serial. The GS1 DataMatrix guideline defines the symbol, its GS1 data format, and how the Function 1 symbol character (FNC1) works.

An AI is a numeric prefix that tells software what the next value means and which format it uses. Common product AIs include:

AIData it identifiesTypical use
(01)Global Trade Item Number (GTIN)Identifies the trade item or pack
(10)Batch or lot numberConnects an item to a production lot
(11), (15), (17)Production, best-before, or expiration dateDate-based handling, using YYMMDD formats
(21)Serial numberIdentifies an individual item instance
(310n)Net weight in kilograms; the last digit sets decimal precisionAdds measured weight for a variable-measure item

These are selected examples. A GS1 DataMatrix can carry other GS1 data elements, depending on the product and workflow. The current GS1 AI list defines the available identifiers and formats.

The parentheses in printed text such as (01) help people read the code. They are not encoded in the symbol. FNC1 appears first in the encoded data to signal GS1 formatting. When a variable-length value such as a lot number is followed by another element, an FNC1 separator marks where one value ends and the next begins. A scanner may also send the symbology identifier ]d2 with the decoded data. These markers let software parse fields reliably when the data is encoded correctly.

The code, the identifier, and the data syntax

GS1 DataMatrix, GTIN, GLN, and SSCC belong to different layers of the GS1 system. A data carrier holds encoded values. An identifier names the product, location, or logistics unit those values refer to. An Application Identifier tells software how to interpret the next value.

TermWhat it isExample
Data MatrixA two-dimensional barcode symbologyCan encode data in other formats; its contents use GS1 meanings only when encoded with GS1 rules
GS1 DataMatrixGS1's Data Matrix ECC 200 format, using FNC1 and GS1 AIsCarries a GTIN with batch, expiry, or serial data
GTINGS1 key for a trade itemAI (01) marks the GTIN field
GLNGS1 key for a location or partyIdentifies a business or physical location
SSCCGS1 key for a logistics unitIdentifies a case, pallet, or parcel
EAN/UPC and GS1-128Other barcode carriersEAN/UPC typically carries a GTIN; GS1-128 can carry multiple AI fields

The GTIN identifies a trade item. When a symbol marks a trade item, GS1 DataMatrix can carry its GTIN and any other fields needed by the scanning workflow. Our guide to product identifiers compares GTINs with merchant-specific keys. The current GS1 General Specifications define the relationship between GS1 keys, AIs, and data carriers.

GS1 Digital Link is another data syntax. It expresses GS1 keys in a web-compatible URI that can connect a scan to online product information. QR Code or a standard Data Matrix can carry a GS1 Digital Link URI. GS1 DataMatrix uses GS1 element-string syntax instead. The marks may look similar on a package, while their encoded data leads to different software behavior. GS1's 2D barcode guidance explains the distinction.

A person uses a smartphone to scan a QR code on a package.

Where retail and ecommerce teams use it

GS1 DataMatrix is useful when a supply-chain workflow needs several structured facts in a small area. A GS1 healthcare example combines product identity, batch, expiry, and serial data on a pharmaceutical item. In practice, those values can support a recall or date-based stock rotation when warehouse, point-of-sale, or inventory software maps the scan to its workflow.

Retail acceptance is a separate capability from printing a two-dimensional code. GS1 US frames the industry's broader transition as Sunrise 2027; its barcode options FAQ says not all retail systems can yet scan and process 2D codes. A product may still need a 1D barcode for point-of-sale during the transition. In practical terms, a smartphone reading a code does not guarantee a retailer's checkout can process it.

The code also has a limited job in ecommerce. It carries selected product or production data; it does not update a retailer listing, marketplace feed, or product detail page by itself. Those digital destinations need their own mapped product records. A scan can point software to a record, but the barcode does not replace the record.

Clean the product record before encoding or syndicating

A GS1 DataMatrix carries the values supplied to its encoder. If AI (01) in your source data points to the wrong pack size, or a lot number has been copied from another batch, the scan can still return a parseable result with incorrect facts. The source record must be accurate at the level the code identifies.

Product teams often manage two related data layers. The product master holds stable facts such as brand, product name, GTIN, variant, dimensions, ingredients, and approved attributes. Production or warehouse records hold changing details such as lot, expiry date, and serial values. Putting a batch value on the generic product record can make the same lot number appear on unrelated production runs.

GS1 key allocation, symbol generation, and production-level values stay with their designated owners. We keep the surrounding digital product record structured and synchronized for AI shopping, with product facts aligned to the identifiers and batch records they support.

A reliable data workflow separates these jobs:

  1. Resolve the product identity. Link each GTIN to the right trade item or pack level. A merchant SKU may map to a GTIN. The SKU is an organization-specific identifier; the GTIN is the GS1 trade-item key. GS1's GTIN definition says each distinct trade item receives its own GTIN.
  2. Keep master and batch data apart. Brand, title, variant, and attributes describe a product. AI (10), AI (17), and AI (21) describe a lot, expiry date, or item instance. These dynamic values belong to the production or inventory record that owns them.
  3. Normalize facts before syndication. Standardize categories, units, variant relationships, names, and approved product attributes in the canonical record. Then map fields to each storefront, retailer, marketplace, or AI shopping surface. Our guides to product data quality and product data syndication cover those digital workflows.
  4. Validate data and the printed symbol separately. A release gate covers GTIN and field formats, AI sequence, separators, and data completeness. A symbol gate covers print quality and whether the receiving scanner can process the format. GS1's guideline treats encoded-data conformance and symbol quality as separate controls.

The product master can supply stable fields such as GTIN and product attributes to both an on-pack code and channel feeds. Production records supply lot, expiry, or serial values for a specific unit or batch. The outputs still have distinct schemas: a DataMatrix payload serves a scan workflow, while a retailer or AI shopping feed needs a mapped product record with its own attributes, media, and commercial fields.

When your product data needs a structured, synchronized layer for AI commerce, Catalog can help.