Gs1MessageBuilder
Receiver of Gs1Message.Companion.build.
Functions
Adds any AI with its value, e.g. add(Gs1Ai.GTIN, "09501101020917") or add("7003", "2612311430").
(390n / 391n) Amount payable, as a decimal string, optionally with an ISO 4217 numeric currency.
(10) Batch or lot number.
(15) Best before date. day 0 means the last day of the month.
(02) GTIN of the contained trade items (use with count).
(37) Count of trade items contained in a logistic unit.
(17) Expiration date. day 0 means the last day of the month.
(7003) Expiration date and time.
(330n) Logistic gross weight in kilograms, as a decimal string (see netWeightKg).
(330n) Logistic gross weight in kilograms rounded to decimals decimal places.
(01) GTIN. GTIN-8, GTIN-12 and GTIN-13 are padded to 14 digits with leading zeros. The check digit must be included (see Gs1CheckDigit.append).
(313n) Height in metres, as a decimal string.
(311n) Length in metres, as a decimal string (see netWeightKg).
(414) Location GLN, 13 digits.
(315n) Net volume in litres, as a decimal string (see netWeightKg).
(315n) Net volume in litres rounded to decimals decimal places.
(310n) Net weight in kilograms, as a decimal string: the decimals written choose the AI, so "1.250" gives (3103)001250 and "12.5" gives (3101)000125.
(310n) Net weight in kilograms rounded to decimals decimal places.
(400) Customer's purchase order number.
(422) Country of origin, ISO 3166 numeric code (e.g. 724 for Spain).
(13) Packaging date.
(11) Production date. day 0 means the last day of the month.
(16) Sell by date.
(21) Serial number.
(410) Ship to GLN, 13 digits.
(00) SSCC, 18 digits including the check digit.
(30) Variable count.
(312n) Width in metres, as a decimal string.