U.S. Customs and Border Protection (CBP)
/
U.S. Customs Export Shipment Information
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from U.S. Customs and Border Protection (CBP). Contact U.S. Customs and Border Protection (CBP) for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
U.S. Customs and Border Protection (CBP) logo

X12 601 U.S. Customs Export Shipment Information

X12 Release 4050
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/cbp/us-customs-export-shipment-information/01HNBAKWDR2YDR39FWR5Z6X7E7
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
0100
Transaction Set Header
Max use 1
Required
BA1 Loop
BA1
0200
Export Shipment Identifying Information
Max use 1
Required
YNQ
0250
Yes/No Question
Max use 10
Optional
DTM
0400
Date/Time Reference
Max use 1
Optional
P5
0500
Port Function
Max use 2
Optional
REF
0600
Reference Information
Max use 9
Optional
M12
0700
In-bond Identifying Information
Max use 1
Optional
VID
0800
Conveyance Identification
Max use 999
Optional
L13 Loop
SE
2000
Transaction Set Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00405
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2001
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
SE
Shipper's Export Declaration (601)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
004050
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2001

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
601
U.S. Customs Export Shipment Information
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BA1 Loop
RequiredMax >1
BA1
0200
Heading > BA1 Loop > BA1

Export Shipment Identifying Information

RequiredMax use 1
Example
BA1-01
645
Related Company Indication Code
Required
Identifier (ID)
Usage notes
N
Transaction Between Unrelated Companies
Y
Transaction Between Related Companies
BA1-02
306
Action Code
Required
Identifier (ID)
Usage notes
1
Add
2
Change (Update)
C
Cancelled
RX
Replace
BA1-03
91
Transportation Method/Type Code
Required
Identifier (ID)
Min 1Max 2
Usage notes
BA1-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
Usage notes
BA1-05
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
BA1-07
26
Country Code
Required
Identifier (ID)
Usage notes
NO
Norway
YES
BA1-08
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
BA1-09
151
Authority
Optional
String (AN)
Min 1Max 20
Usage notes
BA1-10
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4
Usage notes
BA1-11
310
Location Identifier
Optional
String (AN)
Usage notes
E
EIN (Employer's Identification Number)
S
SSN (Social Security Number)
BA1-12
182
Vessel Name
Optional
String (AN)
Min 2Max 28
Usage notes
YNQ
0250
Heading > BA1 Loop > YNQ

Yes/No Question

OptionalMax use 10
Example
YNQ-01
1321
Condition Indicator
Required
Identifier (ID)
Usage notes
QQ
Item is a Hazardous Item
R3F
Advance Export Information complete commodity shipment filing.
R3P
Advance Export Information partial commodity shipment filing
RX
Postdeparture. Authorized USPPI, full post-departure commodity shipment filing.
RZ
Predeparture. Full pre-departure commodity shipment filing.
YNQ-02
1073
Yes/No Condition or Response Code
Required
Identifier (ID)
Usage notes
N
No
Y
Yes
DTM
0400
Heading > BA1 Loop > DTM

Date/Time Reference

OptionalMax use 1
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
274
Requested Departure Date
Required
Date (DT)
CCYYMMDD format
Usage notes
P5
0500
Heading > BA1 Loop > P5

Port Function

OptionalMax use 2
Example
P5-01
115
Port or Terminal Function Code
Required
Identifier (ID)
D
Port of unlading
L
Port of exportation
P5-02
309
Location Qualifier
Required
Identifier (ID)
D
Census Schedule D
K
Census Schedule K
P5-03
310
Location Identifier
Required
String (AN)
Min 1Max 30
Usage notes
REF
0600
Heading > BA1 Loop > REF

Reference Information

OptionalMax use 9
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
BN
Transportation Reference Number
F8
Original ITN
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
M12
0700
Heading > BA1 Loop > M12

In-bond Identifying Information

OptionalMax use 1
Example
M12-01
581
Customs Entry Type Code
Required
Identifier (ID)
Usage notes
36
Warehouse withdrawal for IE
37
Warehouse withdrawal for T&E
67
Foreign Trade Zone withdrawal for IE
68
Foreign Trade Zone withdrawal for T&E
70
Merchandise NOT shipped inbond
M12-02
601
Customs Entry Number
Optional
String (AN)
Min 1Max 15
Usage notes
M12-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
M12-04
310
Location Identifier
Required
String (AN)
Usage notes
N
NO - Shipment is NOT a routed transaction
Y
YES - Shipment is a routed transaction
VID
0800
Heading > BA1 Loop > VID

Conveyance Identification

OptionalMax use 999
Example
VID-01
40
Equipment Description Code
Required
Identifier (ID)
CN
Container
VID-02
206
Equipment Initial
Required
String (AN)
Min 1Max 4
Usage notes
VID-03
207
Equipment Number
Required
String (AN)
Min 1Max 15
Usage notes
VID-04
225
Seal Number
Optional
String (AN)
Min 2Max 15
Usage notes
N1 Loop
RequiredMax >1
N1
1000
Heading > BA1 Loop > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Usage notes
CN
Consignee
EX
US Principle Party in Interest (USPPI)
FW
Forwarder
IC
Intermediate Consignee
Optional
String (AN)
Min 1Max 60
Usage notes
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Usage notes
1
D-U-N-S Number, Dun & Bradstreet
24
Employer's Identification Number
34
Social Security Number
ZZ
Foreign Entity
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Usage notes
01
NO - Ultimate consignee known and reported
02
YES - Cargo to be sold en route. Ultimate consignee name and address to be reported within 4 days of export
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Usage notes
B2
Other Unlisted Type of Organizational Entity
DU
Resale Dealer
QW
Government
XT
Final Customer Organization
N2
1100
Heading > BA1 Loop > N1 Loop > N2

Additional Name Information

OptionalMax use 2
Example
Required
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
1150
Heading > BA1 Loop > N1 Loop > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
1200
Heading > BA1 Loop > N1 Loop > N4

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
N1 Loop end
L13 Loop
OptionalMax >1
L13
1300
Heading > BA1 Loop > L13 Loop > L13

Commodity Details

RequiredMax use 1
Example
If either Unit or Basis for Measurement Code (L13-08) or Quantity (L13-09) is present, then the other is required
If either Weight Unit Code (L13-10) or Weight (L13-11) is present, then the other is required
L13-01
23
Commodity Code Qualifier
Required
Identifier (ID)
Usage notes
A
U.S. International Trade Commission, HTS number
B
U.S. Census Bureau, Schedule B number
L13-02
22
Commodity Code
Required
String (AN)
Min 1Max 30
Usage notes
L13-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
L13-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
Usage notes
L13-05
522
Amount Qualifier Code
Required
Identifier (ID)
Usage notes
10
Shipment Value in U.S. Dollars
L13-06
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
Usage notes
L13-07
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
Usage notes
L13-08
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
L13-09
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
L13-10
188
Weight Unit Code
Optional
Identifier (ID)
K
Kilograms
L13-11
81
Weight
Optional
Decimal number (R)
Min 1Max 10
Usage notes
L13-12
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Usage notes
L13-13
1578
Export Exception Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
L13-14
306
Action Code
Required
Identifier (ID)
Usage notes
1
Add
2
Change (Update)
3
Delete
MAN
1400
Heading > BA1 Loop > L13 Loop > MAN

Marks and Numbers

OptionalMax use 999
Example
If either Marks and Numbers Qualifier (MAN-04) or Marks and Numbers (MAN-05) is present, then the other is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
Min 1Max 2
Usage notes
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
X1
1500
Heading > BA1 Loop > L13 Loop > X1

Export License

OptionalMax use 1
Example
X1-01
83
Code For Licensing, Certification, Registration, or Accreditation Agency
Optional
Identifier (ID)
Min 1Max 2
Usage notes
X1-02
50
Export License Number
Optional
String (AN)
Min 6Max 35
Usage notes
X1-03
51
Export License Status Code
Optional
Identifier (ID)
Usage notes
1
Export License Number/CFR Citation/Authorization Symbol/KPC#
2
DDTC ITAR Exemption Number
3
DDTC ITAR Exemption Number and Approved Community Member #
X1-05
52
Export License Symbol Code
Optional
Identifier (ID)
Min 1Max 2
Usage notes
X1-06
48
Export License Control Code
Optional
Identifier (ID)
Usage notes
N
NO - The exporter has not both self-certified for the exemption and is an eligible party.
Y
YES - The exporter has both self-certified for the exemption and is an eligible party
X1-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
X1-08
141
Schedule B Code
Optional
Identifier (ID)
Min 7Max 10
Usage notes
X1-09
210
International/Domestic Code
Optional
Identifier (ID)
Usage notes
D
Domestic origin
F
Foreign origin
X1-10
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
Usage notes
X1-13
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
X1-14
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
Usage notes
X1-15
1306
U.S. Government License Type
Optional
String (AN)
Usage notes
N
NO - Articles do not warrant special export controls.
Y
YES - Articles do warrant special export controls.
X1-16
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
X1-17
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
VEH
1600
Heading > BA1 Loop > L13 Loop > VEH

Vehicle Information

OptionalMax use 9999
Example
VEH-02
539
Vehicle Identification Number
Required
String (AN)
Min 1Max 30
Usage notes
VEH-05
127
Reference Identification
Required
String (AN)
Usage notes
P
Product ID
V
VIN
VEH-09
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
VEH-10
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
L13 Loop end
BA1 Loop end
SE
2000
Heading > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Heading end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page 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. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.