X4 Customs Release Information

To identify items for release

Position
Element
Name
Type
Requirement
Min
Max
Repeat
X4-01
Bill of Lading/Waybill Number
String (AN)
Optional
1
25
1
Identification number assigned to the shipment by the carrier or consolidator
X401 is the unique bill of lading number.
X4-02
Quantity
Decimal number (R)
Optional
1
15
1
Numeric value of quantity
X402 is used for quantity released.
X4-03
Customs Entry Type Code
Identifier (ID)
Conditional
2
2
1
Code defining the type of entry assigned by U.S. Customs
P0304: If either X4-03 or X4-04 is present, then the other is required
X4-04
Customs Entry Number
String (AN)
Conditional
1
15
1
Automated Commercial System Code Furnished by U.S. Customs Service
X4-05
Date
Date (DT)
Mandatory
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
X405 is the date the authority for release of parts or material is issued.
X4-06
Time
Time (TM)
Conditional
4
8
1
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)
X406 is the time for the disposition specified in X407.
X4-07
Bill of Lading Disposition Code
Identifier (ID)
Mandatory
2
2
1
Code advising the carrier or port authority about postings to a bill of lading
X4-08
Bill of Lading/Waybill Number
String (AN)
Conditional
1
25
1
Identification number assigned to the shipment by the carrier or consolidator
P0810: If either X4-08 or X4-10 is present, then the other is required
X408 is the unique bill of lading number for consolidated shipments.
X4-09
Standard Carrier Alpha Code
Identifier (ID)
Mandatory
2
4
1
Standard Carrier Alpha Code
X409 is the unique bill of lading issuer code.
X4-10
Standard Carrier Alpha Code
Identifier (ID)
Conditional
2
4
1
Standard Carrier Alpha Code
X410 is the issuer code for the consolidated shipment.
X4-11
Equipment Initial
String (AN)
Optional
1
4
1
Prefix or alphabetic part of an equipment unit's identifying number
X4-12
Equipment Number
String (AN)
Optional
1
15
1
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
X4-13
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
X413 is the U.S. Customs district port of transaction. Use Census Schedule D.
X4-14
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
X414 is the U.S. Customs Facilities Information and Resources Management System (FIRMS) code.
X4-15
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code qualifying the Reference Identification
P1516: If either X4-15 or X4-16 is present, then the other is required
X4-16
Reference Identification
String (AN)
Conditional
1
80
1
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
X4-17
Time Code
Identifier (ID)
Optional
2
2
1
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
C1706: If X4-17 is present, then X4-06 is required
X417 reflects the time zone which the time reflects.
X4-18
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
C1803: If X4-18 is present, then X4-03 is required
X418 is the U.S. Customs port of final destination.
X418 is a 4 digit numeric Census Schedule D. It is the port of destination if X403 is 61. It is the port of export if X403 is 62 or 63.
X4-19
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
C1903: If X4-19 is present, then X4-03 is required
X419 is the first foreign port of destination.
X419 is a 5 digit numeric Census Schedule K if X403 is 62 or 63.

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.