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.

Loop (X12)

X12 structural construct every translator must recognize to iterate.

Definition

An X12 loop groups segments that repeat together, introduced by a starting segment (often an LS / delimited by LS-LE for bounded loops). The translator must detect the start of each occurrence and map every iteration to a repeating target structure (order line, address, etc.).

Origin

Structural concept defined by ASC X12 (Accredited Standards Committee chartered by ANSI) in standard X12.6, which describes transaction-set structure.

Example in context

N1 (Name) loop: N1*ST*... repeated per party; each iteration mapped to a Party entity.

  • Mapping — loop iteration is a core mapping case.

Last updated: June 20, 2026