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

P4 Port Information

To transmit identifying information for a port
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
310
Location Identifier
String (AN)
Mandatory
1
30
-
Code which identifies a specific location
P401 is used for customs district and port code (census schedule D).
02
Date
Date (DT)
Mandatory
8
8
-
Date expressed as CCYYMMDD
P402 is the estimated date of arrival.
03
Quantity
Decimal number (R)
Optional
1
15
-
Numeric value of quantity
P403 is used for number of bills of lading.
04
Location Identifier
String (AN)
Optional
1
30
-
Code which identifies a specific location
P404 is the Facilities Information and Resources Management System (FIRMS) Code.
05
Time
Time (TM)
Optional
4
8
-
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
P405 is the estimated time of arrival for P402.
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.