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

R4 Port or Terminal

Contractual or operational port or point relevant to the movement of the cargo
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
115
Port or Terminal Function Code
Identifier (ID)
Mandatory
1
1
1
Code defining function performed at the port or terminal with respect to a shipment
Codes (33)
02
Location Qualifier
Identifier (ID)
Conditional
1
2
1
Code identifying type of location
P0203
Codes (176)
03
Location Identifier
String (AN)
Conditional
1
30
1
Code which identifies a specific location
04
Port Name
String (AN)
Optional
2
24
1
Free-form name for the place at which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property
05
Country Code
Identifier (ID)
Optional
2
3
1
Code identifying the country
06
Terminal Name
String (AN)
Optional
2
30
1
Free-form field for terminal name
07
Pier Number
String (AN)
Optional
1
4
1
Identifying number for the pier
08
State or Province Code
Identifier (ID)
Optional
2
2
1
Code (Standard State/Province) as defined by appropriate government agency
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.