N4 Geographic Location

To specify the geographic place of the named party

Position
Element
Name
Type
Requirement
Min
Max
Repeat
N4-01
City Name
String (AN)
Conditional
2
30
-
Free-form text for city name.
R0105: At least one of N4-01 or N4-05 is required
A combination of either N401 through N404 (or N405 and N406) may be adequate to specify a location.
N4-02
State or Province Code
Identifier (ID)
Optional
2
2
-
Code (Standard State/Province) as defined by appropriate government agency.
N402 is required only if city name (N401) is in the USA or Canada.
N4-03
Postal Code
Identifier (ID)
Optional
3
9
-
Code defining international postal zone code excluding punctuation and blanks (zip code for United States).
N4-04
Country Code
Identifier (ID)
Optional
2
3
-
Code identifying the country.
N4-05
Location Qualifier
Identifier (ID)
Conditional
1
2
-
Code identifying type of location.
P0506: If either N4-05 or N4-06 is present, then the other is required
N4-06
Location Identifier
String (AN)
Conditional
1
25
-
Code which identifies a specific location.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.