Skip to main content

N1 — Name

Understand the X12 N1 segment: ship-to, bill-to, and vendor party IDs with qualifier codes — critical for 850, 856, and 810 routing.

N1 segment facts

  • N104 identification codes must match retailer DC enrollment — padded GLN or store IDs are a top 850 rejection cause.
  • N101 entity roles differ by document: ST on 856 asserts where cartons arrive; BT on 810 drives remittance routing.
  • SignalEDI partner profiles enforce required N1 loops so outbound documents fail validation before partner mailboxes.

What the N1 segment does

N1 identifies trading parties in a transaction — ship-to, bill-to, buyer, seller, remit-to. N101 entity identifier and N104 ID codes must match partner enrollment or documents reject before line items are evaluated.

Loop: N1 loop (often with N3/N4 address segments)

Common transaction sets: 850, 856, 810, 855

Key elements

ElementNameDescription
N101Entity identifier codeST=ship to, BT=bill to, VN=vendor, BY=buyer — partner guides specify required roles.
N102NameHuman-readable party name; may be omitted when N104 carries the authoritative ID.
N103Identification code qualifier92=assigned by buyer, 91=assigned by seller, ZZ=mutually defined.
N104Identification codeDC number, store ID, or GLN — must match retailer master data.

Example N1 segment

N1*ST*RetailMart DC 01*92*0001234567890~

Parse and validate samples with the free EDI validator or send JSON via the JSON→X12 mapping guide.

Common N1 errors

  • Ship-to ID not enrolled with retailer
  • Wrong N101 role for the partner's 856 spec
  • ZZ qualifier without mutual agreement

Related reference

Frequently asked questions

© 2026 SignalEDI Inc. All rights reserved.