Product: X12 EDI
Segment: N4
N4 - Geographic Location
To specify the geographic place of the named party
Schema
Element | Name | Min/Max |
City Name | 2/1 | |
State or Province Code | 2/2 | |
Postal Code | 3/15 | |
Country Code | 2/3 | |
Location Qualifier | 1/2 | |
Location Identifier | 1/30 | |
Country Subdivision Code | 1/3 |
N401 - City Name
TYPE=AN MIN=2 MAX=30
Free-form text for city name
N402 - State or Province Code
TYPE=ID MIN=2 MAX=2
Code (Standard State/Province) as defined by appropriate government agency
N403 - Postal Code
TYPE=ID MIN=3 MAX=15
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
N404 - Country Code
TYPE=ID MIN=2 MAX=3
Code identifying the country
N405 - Location Qualifier
TYPE=ID MIN=1 MAX=2
Code identifying type of location
Code | Description |
A | Jurisdiction to Receive Credit for Uniform Commercial Code Filing |
B | Transmitting Utility |
C | Consignor |
D | Census Schedule D |
E | Uniform Commercial Code Filing Office |
F | Current Address |
G | Census Block Group |
H | Home Address |
I | Home Base Address |
J | Census Tract |
K | Census Schedule K |
L | Local Address |
M | Mailing Address |
O | Office Address |
P | Permanent Address |
Q | Birthplace |
W | Worldwide Geographic Location Code |
10 | Nearest Cross Street |
11 | Secondary Cross Street |
12 | Range |
13 | Section |
14 | Quarter Section |
18 | Marker Identifier Location |
19 | Route |
20 | Route Subdivision |
21 | Grid Location |
22 | Page |
27 | Marker Type |
28 | Latitude-Longitude Source |
29 | Map Source |
30 | Map Reference |
31 | Grid Source |
32 | Aliquot |
33 | Block |
34 | District |
35 | Drainhole Number |
36 | City Block |
38 | Footage Call Direction |
39 | Location Direction |
40 | Outer Continental Lease Location |
41 | Lot |
42 | Map Quadrangle |
43 | Principal Meridian |
44 | Outer Continental Shelf Area |
45 | Outer Continental Shelf Block |
46 | Official Protraction Diagram |
47 | Quarter Quarter Quarter Section |
48 | Quarter Quarter Section |
49 | Section Type |
50 | Abstract |
52 | Labor |
53 | League |
54 | Survey |
55 | Tier |
57 | Tract |
58 | Universal Transverse Mercator Quadrant |
59 | Course Direction |
60 | Area |
93 | Sender's Location Code |
94 | Receiver's Location Code |
A1 | Office |
AA | Annual Statements Mailing Address |
AC | City and State |
AP | All Points |
AR | Armed Services Location Designation |
B1 | Branch |
BE | Business Economic Area (BEA) Region Code |
BL | Government Bill of Lading Office Code (GBLOC) |
BS | Place of Business |
C2 | Geopolitical Name Code |
CA | Country of Origin |
CB | Confirmation Mailing Address |
CC | Country |
CD | Canada Customs Office Code |
CE | Correspondence Mailing Address |
CG | Congressional District |
CI | City |
CL | National Rate Basis (NRB) |
CM | Consolidated Metropolitan Statistical Area (CMSA) |
CO | County/Parish and State |
CR | In Tank Car |
CS | Canadian SPLC |
CY | County/Parish |
DC | Distribution Center Number |
DE | Destination (Shipping) |
DL | Delivery Location |
DO | District Office |
DP | Department |
DR | District of Residence |
DT | Domicile Type Code |
EA | Event Location |
EB | Borough |
EL | Employer Location |
FA | Factory |
FE | Freight Equalization Point |
FF | Foreign Freight Forwarder Location |
FI | Federal Information Processing Standards (FIPS) 55 (Named Populated Places) |
FR | U.S. Custom's Facilities Information and Resource Management Systems (FIRMS) |
FS | Freight Station Accounting Code |
FT | Foreign Trade Zone |
FV | Free Alongside Vessel (Free On Board [F.O.B.] Point) |
GL | Freight Station Geographic Location |
IA | International Air Transport Association (IATA) Location Qualifier |
IB | Issue Location |
IM | Military Standard Movement Procedures (MILSTAMP) |
IP | Postal |
IS | In Store |
IT | Intermediate FOB Point |
KE | Port of Embarkation |
KL | Port of Loading |
KP | Government Furnished Property FOB Point |
LO | Local Office |
MI | Mill |
MO | Main Campus |
MS | Metropolitan Sampling Area (MSA) Region Code |
MZ | Mexican Postal Code |
NS | City/State from Points |
OA | Origin (After Loading on Equipment) |
OF | Other Unlisted Free On Board (FOB) Point |
OL | Open and Prepay Station List Code(SCAC & Number) |
OP | Other Unlisted Acceptance Point |
OR | Origin (Shipping Point) |
OV | On Vessel (Free On Board [FOB] point) |
PA | Port of Arrival |
PB | Port of Discharge |
PC | Policy Mailing Address |
PD | Place of Delivery |
PE | Port of Entry |
PF | Parents Address |
PG | Primary |
PH | Prior Business |
PL | Plant |
PM | Primary Metropolitan Statistical Area (PMSA) |
PO | Principal Servicing Office |
PP | Pool Point |
PQ | 3 Digit U.S. ZIP |
PR | 4 Digit U.S. ZIP |
PS | 5 Digit U.S. ZIP |
PT | 3 Digit Canadian Postal Code |
PU | 6 Digit Canadian Postal Code |
PV | 9 DIGIT U.S. ZIP |
PZ | 11 DIGIT U.S. ZIP |
RA | Rate Area Code |
RC | In Rail Car |
RE | Regional Education Service Agency |
RG | Region Code |
RJ | Region |
RL | Rural |
RS | Standard Carrier Alpha Code |
RT | Route Administrative Message To |
SA | Secondary |
SB | Suburban |
SC | City/State and Points Within |
SD | School District |
SE | Summer |
SG | Storage |
SH | School Campus Code |
SL | U.S. SPLC |
SN | Store Number |
SP | State/Province |
SS | School |
ST | In Storage Tank |
SW | Switching District |
TA | Tank |
TC | Transcontinental Freight Bureau |
TI | Tribal Land |
TL | Terminal Cargo Location |
TM | Terminal |
TN | Township |
TP | Temporary |
TR | Rail Territory |
TX | Taxing District |
UN | United Nations Location Code (UNLOCODE) |
UR | Urban |
UT | Business Unit |
VA | Vacation |
VI | Village |
VS | Vessel Stowage Location |
WF | Wharf |
WH | Warehouse |
WI | Winter |
X1 | National Center for Education Statistics Locale Code |
ZN | Zone Code |
ZZ | Mutually Defined |
N406 - Location Identifier
TYPE=AN MIN=1 MAX=30
Code which identifies a specific location
N407 - Country Subdivision Code
TYPE=ID MIN=1 MAX=3
Code identifying the country subdivision
Comments
Syntax Notes |
|
02 | E0207 - Only one of N402 or N407 may be present. |
06 | C0605 - If N406 is present, then N405 is required. |
07 | C0704 - If N407 is present, then N404 is required. |
Comments |
|
01 | A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location. |
rev 11/8/2024