P4 U.S. Port Information

To transmit identifying information for a U.S. port

Position
Element
Name
Type
Requirement
Min
Max
Repeat
P4-01
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).
P4-02
Date
Date (DT)
Mandatory
6
6
-
Date (YYMMDD)
P4-03
Quantity
Decimal number (R)
Optional
1
15
-
Numeric value of quantity
P403 is used for number of bills of lading.
P4-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.
P4-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.
P4-06
Century
Numeric (N0)
Optional
2
2
-
The first two characters in the designation of the year (CCYY)

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.