ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

LIN

Line Item. The segment that opens each product line in an EDIFACT message: number, item identifier, configuration.

Definition

The LIN segment, per UN/EDIFACT D.96A, is used "to identify a line item and configuration". Six elements:

  1. 010 — 1082 Line item number (n..6, C) — line number within the message.
  2. 020 — 1229 Action request/notification, coded (an..3, C) — UNCL 1229: 3 change, 4 remove, 5 add.
  3. 030 — C212 (ITEM NUMBER IDENTIFICATION), conditional: 7140 item number, 7143 type (UNCL 7143: EN EAN/GTIN, SA supplier article number, BP buyer's part number), 1131/3055 code-list authority.
  4. 040 — C829 (SUB-LINE INFORMATION), conditional: 5495 sub-line indicator, 1082 parent line number.
  5. 050 — 1222 Configuration level (n..2, C) — product configuration level.
  6. 060 — 1083 Configuration, coded (an..3, C) — configuration code (UNCL 7083).

Origin

LIN is one of the most central EDIFACT segments: the LIN/UNT ratio gives a direct measure of an order's size. Present since version 1 (1987), the current structure has been frozen since D.93A. ediverse.io archives the D.96A specification at trsdlin.htm.

Example in context

Line 1 of an order, item identified by GTIN-13:

Reads as: line 1, no action code, item 3520000001234 identified by code EN (EAN/GTIN).

  • GTIN — the identifier carried by LIN in retail.
  • QTY — LIN's immediate companion segment.
  • IMD — companion segment that describes the item.
  • ORDERS — message where LIN opens each order line.

Last updated: May 13, 2026