EAN 13 (Number part)

images/download/attachments/27689396/image2018-11-27_15-42-30-version-1-modificationdate-1543329753000-api-v2.png

A type 'EAN 13' number part creates a check digit according to specifications for 13-digit European Article Numbers (EAN), which are officially referred to as Global Trade Item Numbers or GTIN) since 2009.

The Repeatable element Selected part accepts references to other number parts, which are concatenated as input to the checksum calculation.

►IMPORTANT◄ The algorithm accepts decimal digits (0-9) exclusively. All other characters (letters or special characters) are omitted from the concatenation of values provided by Selected parts. Effectively, this makes the checksum calculation robust against non-numeric fill characters or separators. On the other hand dynamic number parts (Dynamic (Number part)) should not specify base values > 10.

After omitting all non-numeric characters at least 12 decimal digits must remain as input for the checksum calculation.

Components in example:

Since the preview (right in picture) does not feature a data context for the Wert über Resolver (Nummernteil), the company code resolves as '0000'.

►NOTE◄ For obvious reasons it does not make sense to include the number part for the checksum as a Selected part.