EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 004040

D9 Destination Station

To identify the rail destination of the shipment
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
573
Freight Station Accounting Code
Identifier (ID)
Optional
1
5
1
Code (Freight Station Accounting) (AAR Managed Code for Locations)
02
City Name
String (AN)
Mandatory
2
30
1
Free-form text for city name
D902 is the destination station of movement.
03
State or Province Code
Identifier (ID)
Mandatory
2
2
1
Code (Standard State/Province) as defined by appropriate government agency
04
Country Code
Identifier (ID)
Optional
2
3
1
Code identifying the country
D904 is the country code for the city named in the D902.
05
Freight Station Accounting Code
Identifier (ID)
Optional
1
5
1
Code (Freight Station Accounting) (AAR Managed Code for Locations)
D905 is the freight station accounting code of the destination junction settlement carrier.
D905 is the freight station accounting code of the city name in D906.
06
City Name
String (AN)
Optional
2
30
1
Free-form text for city name
07
State or Province Code
Identifier (ID)
Optional
2
2
1
Code (Standard State/Province) as defined by appropriate government agency
08
Standard Point Location Code
Identifier (ID)
Optional
6
9
1
Code (Standard Point Location) defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city
D908 is the Standard Point Location Code (SPLC) for the city named in the D902.
09
Postal Code
Identifier (ID)
Optional
3
15
1
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
D909 is the postal code for the city names in the D902.
10
Standard Point Location Code
Identifier (ID)
Optional
6
9
1
Code (Standard Point Location) defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city
D910 is the Standard Point Location Code (SPLC) for the city named in the D906.
11
Postal Code
Identifier (ID)
Optional
3
15
1
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
D911 is the postal code for the city named in the D906.
12
Country Code
Identifier (ID)
Optional
2
3
1
Code identifying the country
D912 is the country code for the city named in the D906.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.