X12 segment reference
N3 — Address Information
X12 N3 segment reference: street address lines that pair with N1 party and N4 geographic segments for ship-to and remit-to routing.
N3 segment facts
- N3 only has meaning inside an N1 loop — it describes the street address of the party the preceding N1 identified.
- N3/N4 address blocks must match retailer master data when the program validates literal addresses instead of coded IDs.
- SignalEDI normalizes N1/N3/N4 blocks into structured address objects on inbound documents for downstream systems.
What the N3 segment does
N3 carries the street address lines for a party identified by the preceding N1 segment. It pairs with N4 (city/state/postal) to complete ship-to, bill-to, and remit-to addresses.
Loop: N1 loop (after N1, before N4)
Key elements
| Element | Name | Description |
|---|---|---|
| N301 | Address line 1 | Primary street address for the party in the current N1 loop. |
| N302 | Address line 2 | Optional suite, dock, or secondary address line. |
Example N3 segment
N3*100 Distribution Way*Dock 7~
Parse and validate samples with the free EDI validator or send JSON via the JSON→X12 mapping guide.
Common N3 errors
- N3 present without a preceding N1 party loop
- Address exceeding partner max length or charset rules
- Ship-to address not matching retailer master data for the N1 ID
Related reference
FAQ
Frequently asked questions
Many programs validate party IDs (N1/N104) rather than free-text addresses, but N3/N4 are required when partners need a literal ship-to or remit-to address.