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.

N4 (X12)

ASC X12 geographic address segment inside the N1 loop.

Definition

N4 (Geographic Location) carries the city (N401), state/subdivision code (N402), postal code (N403) and country code (N404). It follows N1 (and optionally N3) in the party identification loop. All its elements are optional, which makes it flexible but a frequent target of completeness validation.

Origin

Defined in the ASC X12 EDI Standard (segment dictionary, N4 segment), maintained by the Accredited Standards Committee X12 (ANSI ASC X12). Country codes draw on ISO 3166.

Example in context

N4*ATLANTA*GA*30301*US~ — city Atlanta, state GA, postal code 30301, country US.

  • N1 loop — the loop that contains N4.
  • N3 — the street address preceding N4.

Last updated: June 20, 2026