EDI
API DocsTerminal

M21 Supplementary In-Bond Information

To transmit data relating to a U.S. Customs and Border Protection (CBP) in-bond movement

Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
581
Customs Entry Type Code
Identifier (ID)
Mandatory
2
3
1
Code specifying the type of entry assigned by U.S. Customs and Border Protection (CBP)
M2101 is the existing In-Bond Type Code.
02
Location Identifier
String (AN)
Mandatory
1
30
1
Code which identifies a specific location
M2102 is the new port of destination code.
03
Standard Carrier Alpha Code
Identifier (ID)
Mandatory
2
4
1
Code identifying the Standard Carrier Alpha Code
M2103 is the unique bill of lading issuer code.
04
Bill of Lading/Waybill Number
String (AN)
Mandatory
1
50
1
Identification number assigned to the shipment by the carrier or consolidator
M2104 is the unique bill of lading number.
05
Master In-bond Type Code
Identifier (ID)
Mandatory
1
1
1
Code identifying a type of Master In-bond
Codes (2)
06
In-bond Control Number
String (AN)
Mandatory
1
50
1
Currently assigned control number for in-bond movement
07
Standard Carrier Alpha Code
Identifier (ID)
Conditional
2
4
1
Code identifying the Standard Carrier Alpha Code
P0708: If either M21-07 or M21-08 is present, then the other is required
M2107 is the issuer code for the house bill of lading.
08
Bill of Lading/Waybill Number
String (AN)
Conditional
1
50
1
Identification number assigned to the shipment by the carrier or consolidator
M2108 is the bill of lading number for the house bill of lading.
09
Standard Carrier Alpha Code
Identifier (ID)
Conditional
2
4
1
Code identifying the Standard Carrier Alpha Code
P0910: If either M21-09 or M21-10 is present, then the other is required
M2109 is the issuer code for the sub-house bill of lading.
10
Bill of Lading/Waybill Number
String (AN)
Conditional
1
50
1
Identification number assigned to the shipment by the carrier or consolidator
M2110 is the bill of the lading number for the sub-house bill of lading number.
11
Standard Carrier Alpha Code
Identifier (ID)
Optional
2
4
1
Code identifying the Standard Carrier Alpha Code
M2111 is the first secondary notify party.
12
Standard Carrier Alpha Code
Identifier (ID)
Optional
2
4
1
Code identifying the Standard Carrier Alpha Code
M2112 is the second secondary notify party.
13
Quantity
Decimal number (R)
Optional
1
15
1
Numeric value of quantity
M2113 is the manifest quantity involved in the in-bond movement.
14
Reference Identification Qualifier
Identifier (ID)
Conditional
2
3
1
Code identifying the Reference Identification
P1415: If either M21-14 or M21-15 is present, then the other is required
M2114 carries the additional bonded carrier information for a subsequent bonded cargo movement, beyond the intended destination of the first in-bond movement.
Codes (1904)
15
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

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.