X4 Customs Release Information

To identify items for release

Position
Element
Name
Type
Requirement
Min
Max
Repeat
X401
Bill of Lading/Waybill Number
String (AN)
Optional
1
50
1
Identification number assigned to the shipment by the carrier or consolidator
X401 is the unique bill of lading number.
X402
Quantity
Decimal number (R)
Optional
1
15
1
Numeric value of quantity
X402 is used for quantity released.
X403
Customs Entry Type Code
Identifier (ID)
Conditional
2
3
1
Code specifying the type of entry assigned by U.S. Customs and Border Protection (CBP)
P0304: If either X4-03 or X4-04 is present, then the other is required
X404
Customs Entry Number
String (AN)
Conditional
1
50
1
Automated Commercial System Code Furnished by U.S. Customs Service and Border Protection (CBP)
X405
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 that the disposition code was posted to Customs file.
X406
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.
X407
Bill of Lading Disposition Code
Identifier (ID)
Mandatory
2
3
1
Code indicating to a carrier or port authority about postings to a bill of lading
X408
Bill of Lading/Waybill Number
String (AN)
Conditional
1
50
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.
X409
Standard Carrier Alpha Code
Identifier (ID)
Mandatory
2
4
1
Code identifying the Standard Carrier Alpha Code
X409 is the unique bill of lading issuer code.
X410
Standard Carrier Alpha Code
Identifier (ID)
Conditional
2
4
1
Code identifying the Standard Carrier Alpha Code
X410 is the issuer code for the consolidated shipment.
X411
Equipment Initial
String (AN)
Optional
1
4
1
Prefix or alphabetic part of an equipment unit's identifying number
X412
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)
X413
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
X413 is the Customs district port of transaction.
X414
Location Identifier
String (AN)
Optional
1
30
1
Code which identifies a specific location
X414 is the U.S. Customs and Border Protection (CBP) Facilities Information and Resource Management System (FIRMS) code or the Canadian Customs Sub-Location code.
X415
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code identifying the Reference Identification
P1516: If either X4-15 or X4-16 is present, then the other is required
X416
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
X417
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.
X418
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 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.
X419
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.
X420
Yes/No Condition or Response Code
Identifier (ID)
Optional
1
1
1
Code indicating a Yes or No condition or response
X420 is the disposition code re-sent indicator. A 'Y' value indicates the disposition code is being resent due to a Port of Discharge or Vessel Name change. An 'N' value indicates there was no disposition code re-send required.

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.