MS1 Equipment, Shipment, or Real Property Location

To specify the location of a piece of equipment, a shipment, or real property in terms of city and state or longitude and latitude or postal code

Position
Element
Name
Type
Requirement
Min
Max
Repeat
MS1-01
City Name
String (AN)
Conditional
2
30
1
Free-form text for city name
L010203: If MS1-01 is present, then at least one of MS1-02 or MS1-03 is required
E0104: Only one of MS1-01 or MS1-04 may be present
MS1-02
State or Province Code
Identifier (ID)
Conditional
2
2
1
Code (Standard State/Province) as defined by appropriate government agency
C0201: If MS1-02 is present, then MS1-01 is required
MS1-03
Country Code
Identifier (ID)
Conditional
2
3
1
Code identifying the country
C0301: If MS1-03 is present, then MS1-01 is required
MS1-04
Longitude Code
Identifier (ID)
Conditional
7
7
1
Code indicating the longitude in degrees (3 positions), minutes (2 positions), and seconds (2 positions)
P0405: If either MS1-04 or MS1-05 is present, then the other is required
MS104 is the longitude expressed in Degrees, Minutes, and Seconds.
MS1-05
Latitude Code
Identifier (ID)
Conditional
7
7
1
Code indicating the latitude in degrees (3 positions), minutes (2 positions), seconds (2 positions)
MS105 is the latitude expressed in Degrees, Minutes, and Seconds.
MS1-06
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
C0604: If MS1-06 is present, then MS1-04 is required
MS106 may only be 'E' or 'W'.
MS1-07
Direction Identifier Code
Identifier (ID)
Optional
1
1
1
Code identifying geographic direction
C0705: If MS1-07 is present, then MS1-05 is required
MS107 may only be 'N' or 'S'.
MS1-08
Postal Code
Identifier (ID)
Optional
3
15
1
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
C0801: If MS1-08 is present, then MS1-01 is required

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.