Automated Commercial
Environment
309 Manifest Rail Import
January 7, 2015
309RAIL (004040) 0.1.0 January 2015
309 Customs Manifest
Functional Group ID=AQ
Introduction:
This X12 Transaction Set contains the format and establishes the data contents of the U.S. Customs and
Border Protection (CBP) Manifest Transaction Set (309) for use within the context of an Electronic Data
Interchange (EDI) environment. The transaction set can be used by carriers, terminal operators, port
authorities, or service centers to provide Customs with manifest data on cargo arriving in or departing from
oceangoing vessels, railroad trains, or other types of conveyances. The transaction set can be also used by
carriers to provide terminal operators, port authorities, or service centers with manifest data on cargo
arriving at their facilities via the conveyances mentioned above.
This Implementation Guideline uses the ASC X12 4040 Standards Version/Release as its base. The
transaction structure has been altered to accommodate U.S. Customs and Border Protection implementation
requirements.
Notes:
ABI ENTRY FILERS:
U.S. Customs and Border Protection (CBP) will send a copy of the TS309 to the Filer identified in the N1 if
requested via the Automated Manifest System Broker Download functionality. The Filers will transmit individual
releases for each TS309. Releases will be consolidated at time of summary filing. Status notifications in a TS350
will go to the carrier and the Filer via ABI as entries are filed and releases obtained.
T-TRAIN:
Used for US-CAN-US traffic where it is not consisted on the outbound move. Only the Customs Entry Type Code
of '69' in the M1201 data element is allowed.
SPECIAL MESSAGING CONSTRAINTS:
- Limit one Interchange (ISA-IEA) per message transmission.
- Limit one message Group (GS-GE) per message transmission.
- Limit one transaction sets (ST-SE) of the same Transaction Set (TS) Identifier Code (i.e., 309). Only one is
allowed per message transmission.
- Element delimiters used in this transaction must be ' * ' (asterisk). No blanks between delimiters if element is null.
- Segment delimiters used in this transaction must be one byte with a value of hex '15'.
- A segment delimiter must be the last byte of data in the message transmission data stream.
- Only transmit uppercase AMERICAN ENGLISH alphabetic data.
- Transmit ONLY displayable characters found on a standard American English keyboard. Low-values, carriage
return characters, or other non-standard characters must NOT be transmitted.
- 'Not Used' in the left column indicates that a composite or data element will not be used by CBP.
- 'Dep' in the left column indicates that CBP usage of a particular segment or element is - Dependent (Conditional)
within the CBP application.
- Per the ASC X12 Standard, an 'M' indicates a Mandatory use, ‘O’ indicates Optional use, and an 'X' indicates a
Conditional use. CBP requirements may override ASC X12 Standard Mandatory or Conditional usages.
- Maximum allowable message transmission size is 12 megabytes (12,582,912 bytes) of data.
(Last Update: January 2015) ACE v 1.0.1
309RAIL (004040) 0.1.0 January 2015
Pos. Seg. Req. Loop
No. ID Name Des. Max.Use Repeat
M
0050
ISA
Interchange Control Header
M
1
M
0075
GS
Functional Group Header
M
1
M
0100
ST
Transaction Set Header
M
1
M
0200
M10
Manifest Identifying Information
M
1
LOOP ID - P4
M
0400
P4
Port Information
M
1
LOOP ID - LX
M
0600
LX
Assigned Number
M
1
0700
M13
Manifest Amendment Details
O
1
Dep
0800
M11
Manifest Bill of Lading Details
O
1
0850
N9
Reference Identification
O
999
LOOP ID - N1
Dep
1000
N1
Name
O
1
Dep
1100
N3
Address Information
O
2
1200
N4
Geographic Location
O
1
Not Used
1230
DTM
Date/Time Reference
O
1
1250
PER
Administrative Communications Contact
O
1
Not Used
1260
X1
Export License
O
1
LOOP ID - M12
1300
M12
In-bond Identifying Information
O
1
Not Used
1350
R4
Port or Terminal
O
10
LOOP ID - VID
Dep
1500
VID
Conveyance Identification
O
1
Not Used
1570
M7
Seal Numbers
O
5
LOOP ID - N10
Dep
1600
N10
Quantity and Description
O
1
1550
VC
Motor Vehicle Control
O
999
LOOP ID - H1
1650
H1
Hazardous Material
O
1
1660
H2
Additional Hazardous Material Description
O
2
M
2000
SE
Transaction Set Trailer
M
1
M
2340
GE
Functional Group Trailer
M
1
M
2680
IEA
Interchange Control Trailer
M
1
309RAIL (004040) 0.1.0 January 2015
Segment: ISA Interchange Control Header
Position: 0050
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To start and identify an interchange of zero or more functional groups and
interchange-related control segments
Syntax Notes:
Semantic Notes:
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
ISA01
I01
Authorization Information Qualifier
M
1
ID 2/2
Code identifying the type of information in the Authorization Information
Always '04'
04
Rail Communications ID
M
ISA02
I02
Authorization Information
M
1
AN 10/10
Information used for additional identification or authorization of the
interchange sender or the data in the interchange; the type of information is set
by the Authorization Information Qualifier (I01)
Always 'SW309' plus 5 spaces.
M
ISA03
I03
Security Information Qualifier
M
1
ID 2/2
Code identifying the type of information in the Security Information
Always '00'
00
No Security Information Present (No Meaningful
Information in I04)
M
ISA04
I04
Security Information
M
1
AN 10/10
This is used for identifying the security information about the interchange
sender or the data in the interchange; the type of information is set by the
Security Information Qualifier (I03)
Always 10 spaces.
M
ISA05
I05
Interchange ID Qualifier
M
1
ID 2/2
Code indicating the system/method of code structure used to designate the
sender or receiver ID element being qualified
Always '02'
02
SCAC (Standard Carrier Alpha Code)
M
ISA06
I06
Interchange Sender ID
M
1
AN 15/15
Identification code published by the sender for other parties to use as the
receiver ID to route data to them; the sender always codes this value in the
sender ID element
Sender Identifier. May be identical to that of GS02.
M
ISA07
I05
Interchange ID Qualifier
M
1
ID 2/2
Code indicating the system/method of code structure used to designate the
sender or receiver ID element being qualified
Always '02'
02
SCAC (Standard Carrier Alpha Code)
M
ISA08
I07
Interchange Receiver ID
M
1
AN 15/15
Identification code published by the receiver of the data; When sending, it is
309RAIL (004040) 0.1.0 January 2015
used by the sender as their sending ID, thus other parties sending to them will
use this as a receiving ID to route data to them
'USCT' - Testing
'USCP' - Production
309RAIL (004040) 0.1.0 January 2015
M
ISA09
I08
Interchange Date
M
1
DT 6/6
Date of the interchange
Date as YYMMDD where:
YY - Year
MM - Month
DD - Day
M
ISA10
I09
Interchange Time
M
1
TM 4/4
Time of the interchange
Time as HHMM where:
HH - Hours
MM - Minutes
M
ISA11
I10
Interchange Control Standards Identifier
M
1
ID 1/1
Code to identify the agency responsible for the control standard used by the
message that is enclosed by the interchange header and trailer
Preferred 'U'
U
U.S. EDI Community of ASC X12, TDCC, and UCS
M
ISA12
I11
Interchange Control Version Number
M
1
ID 5/5
Code specifying the version number of the interchange control segments
Always '00404'
00404
Standards Approved for Publication by ASC X12
Procedures Review Board through October 2000
M
ISA13
I12
Interchange Control Number
M
1
N0 9/9
A control number assigned by the interchange sender
M
ISA14
I13
Acknowledgment Requested
M
1
ID 1/1
Code indicating sender's request for an interchange acknowledgment
Always '0'
0
No Acknowledgment Requested
M
ISA15
I14
Usage Indicator
M
1
ID 1/1
Code indicating whether data enclosed by this interchange envelope is test,
production or information
Preferred 'P'
P
Production Data
T
Test Data
M
ISA16
I15
Component Element Separator
M
1
AN 1/1
Type is not applicable; the component element separator is a delimiter and not
a data element; this field provides the delimiter used to separate component
data elements within a composite data structure; this value must be different
than the data element separator and the segment terminator
Always ' : ' (colon)
309RAIL (004040) 0.1.0 January 2015
Segment: GS Functional Group Header
Position: 0075
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To indicate the beginning of a functional group and to provide control
information
Syntax Notes:
Semantic Notes: 1 GS04 is the group date.
2 GS05 is the group time.
3 The data interchange control number GS06 in this header must be identical
to the same data element in the associated functional group trailer, GE02.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
GS01
479
Functional Identifier Code
M
1
ID 2/2
Code identifying a group of application related transaction sets
Always 'AQ'
AQ
U.S. Customs Manifest (309)
M
GS02
142
Application Sender's Code
M
1
AN 2/15
Code identifying party sending transmission; codes agreed to by trading
partners
Sender Identifier. May be identical to that of ISA06.
M
GS03
124
Application Receiver's Code
M
1
AN 2/15
Code identifying party receiving transmission; codes agreed to by trading
partners
'USCT' - Testing
'USCP' - Production
M
GS04
373
Date
M
1
DT 8/8
Date expressed as CCYYMMDD where CC represents the first two digits of
the calendar year
Date as CCYYMMDD where:
CC - Century
YY - Year
MM - Month of Year
DD - Day of Month
M
GS05
337
Time
M
1
TM 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)
Use Eastern Standard/Daylight Time.
Time as HHMM where:
HH - Hours
MM - Minutes
M
GS06
28
Group Control Number
M
1
N0 1/9
Assigned number originated and maintained by the sender
M
GS07
455
Responsible Agency Code
M
1
ID 1/2
Code identifying the issuer of the standard; this code is used in conjunction
with Data Element 480
309RAIL (004040) 0.1.0 January 2015
Always 'X'
X
Accredited Standards Committee X12
M
GS08
480
Version / Release / Industry Identifier Code
M
1
AN 1/12
Code indicating the version, release, subrelease, and industry identifier of the
EDI standard being used, including the GS and GE segments; if code in DE455
in GS segment is X, then in DE 480 positions 1-3 are the version number;
positions 4-6 are the release and subrelease, level of the version; and positions
7-12 are the industry or trade association identifiers (optionally assigned by
user); if code in DE455 in GS segment is T, then other formats are allowed
Always '004040'
004040
Standards Approved for Publication by ASC X12
Procedures Review Board through October 2000
309RAIL (004040) 0.1.0 January 2015
Segment: ST Transaction Set Header
Position: 0100
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To indicate the start of a transaction set and to assign a control number
Syntax Notes:
Semantic Notes: 1 The transaction set identifier (ST01) is used by the translation routines of
the interchange partners to select the appropriate transaction set definition
(e.g., 810 selects the Invoice Transaction Set).
2 The implementation convention reference (ST03) is used by the translation
routines of the interchange partners to select the appropriate implementation
convention to match the transaction set definition.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
ST01
143
Transaction Set Identifier Code
M
1
ID 3/3
Code uniquely identifying a Transaction Set
Always '309'
309
Customs Manifest
M
ST02
329
Transaction Set Control Number
M
1
AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
Not Used
ST03
1705
Implementation Convention Reference
O
1
AN 1/35
309RAIL (004040) 0.1.0 January 2015
Segment: M10 Manifest Identifying Information
Position: 0200
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To transmit manifest identifying information
Syntax Notes: 1 If either M1004 or M1010 is present, then the other is required.
2 At least one of M1005 or M1004 is required.
Semantic Notes: 1 M1004 International Maritime Organization (IMO) Code issued by Lloyds.
2 M1007 is used for the six-digit Numeric Manifest Sequence Number.
3 M1011 indicates if the transmission involves an in-bond participant. A "Y"
indicates it does; an "N" indicates it does not.
4 M1012 is a unique identification number for the manifest assigned by the
originator of the manifest with a maximum length of 15.
Notes:
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
M1001
140
Standard Carrier Alpha Code
M
1
ID 2/4
Standard Carrier Alpha Code
SCAC of Carrier initiating this manifest.
M
M1002
91
Transportation Method/Type Code
M
1
ID 1/2
Code specifying the method or type of transportation for the shipment
Always 'R'
R
Rail
M
M1003
26
Country Code
M
1
ID 2/3
Code identifying the country
ISO 2 alpha Country Code. Country of rail origin for land border crossings.
Must be CA, MX, or US.
Not Used
M1004
597
Vessel Code
X
1
ID 1/8
Must Use
M1005
182
Vessel Name
X
1
AN 2/28
Name of conveyance
Required by CBP. Will contain Train ID of 'TRAIN' for preliminary manifest.
All other updates will contain the Train ID as sent on the CBP TS358.
- CBP will accept up to 23 alpha/numeric American English keyboard
characters in this element.
M
M1006
55
Flight/Voyage Number
M
1
AN 2/10
Identifying designator for the particular flight or voyage on which the cargo
travels
Must contain the Julian date (YYDDD) if a land border crossing.
- CBP accepts up to 5 alpha/numeric characters for this element.
309RAIL (004040) 0.1.0 January 2015
M1007
127
Reference Identification
O
1
AN 1/50
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Unique carrier number which will be returned from CBP in the response. If
not provided, CBP will return '000001' in the response message.
Important to note, when this data element is provided all subsequent
transmissions relative to this manifest (i.e., TS309, TS358 or TS353) must
include this exact sequence number.
- CBP accepts up to 6 numeric characters in this element.
M1008
380
Quantity
O
1
R 1/15
M1009
256
Manifest Type Code
O
1
ID 1/1
Code identifying the type of manifest transmitted
Required by CBP. Values accepted by CBP.
P
Preliminary Manifest from Carrier to U.S. Customs
T
Transit
Used for US-CAN-US traffic where it is not consisted
on the outbound move.
Y
Amendment to Manifest from Carrier to US Customs
Used to add or delete a bill after sending a 358 Consist,
or when deleting a preliminary manifest.
When used, the M13 segment is required.
M1010
897
Vessel Code Qualifier
X
1
ID 1/1
M1011
1073
Yes/No Condition or Response Code
O
1
ID 1/1
M1012
127
Reference Identification
O
1
AN 1/50
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Carrier-assigned reference number that will be returned in the response
message.
- CBP accepts up to 30 alpha/numeric characters in this element.
M1013
353
Transaction Set Purpose Code
O
1
ID 2/2
M1014
346
Application Type
O
1
ID 2/2
309RAIL (004040) 0.1.0 January 2015
Segment: P4 Port Information
Position: 0400
Loop: P4 Mandatory
Level:
Usage: Mandatory
Max Use: 1
Purpose: To transmit identifying information for a port
Syntax Notes:
Semantic Notes: 1 P401 is used for customs district and port code (census schedule D).
2 P402 is the estimated date of arrival.
3 P403 is used for number of bills of lading.
4 P404 is the Facilities Information and Resources Management System
(FIRMS) Code.
5 P405 is the estimated time of arrival for P402.
Notes:
Port of Discharge information. CBP only accepts one P4 segment per transaction for
RAIL applications.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
P401
310
Location Identifier
M
1
AN 1/30
Code which identifies a specific location
Port of Arrival of the train in the U.S. Refer to Census Schedule D in CAMIR
Appendix E for valid codes.
- CBP only accepts 4 numeric characters in this field.
M
P402
373
Date
M
1
DT 8/8
Date expressed as CCYYMMDD where CC represents the first two digits of
the calendar year
Estimate Date of Arrival. Match EDA of original manifest submission when
Amending BOL.
Date as CCYYMMDD where:
CC - Century
YY - Year
MM - Month of Year
DD - Day of Month
Not Used
P403
380
Quantity
O
1
R 1/15
Not Used
P404
310
Location Identifier
O
1
AN 1/30
Not Used
P405
337
Time
O
1
TM 4/8
309RAIL (004040) 0.1.0 January 2015
Segment: LX Assigned Number
Position: 0600
Loop: LX Mandatory
Level:
Usage: Mandatory
Max Use: 1
Purpose: To reference a line number in a transaction set
Syntax Notes:
Semantic Notes:
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
LX01
554
Assigned Number
M
1
N0 1/6
Number assigned for differentiation within a transaction set
One LX segment per bill in the 309 transaction set. Increment this element by
+1 for each BOL reported in subsequent segments.
309RAIL (004040) 0.1.0 January 2015
Segment: M13 Manifest Amendment Details
Position: 0700
Loop: LX Mandatory
Level:
Usage: Optional
Max Use: 1
Purpose: To correct a manifest record prior to conveyance arrival or to amend a manifest
record after conveyance arrival
Syntax Notes: 1 If either M1308 or M1310 is present, then the other is required.
Semantic Notes: 1 M1301 is the bill of lading issuer code.
2 M1302 is used for discharge port (four-digit numeric census schedule D).
3 M1305 is new manifest quantity and is used if M1303 equals "R".
4 M1308 is used to report individual portions of a consolidated shipment.
5 M1309 is the conveyance operator's Standard Carrier Alpha Code (SCAC).
6 M1310 is the issuer code for the consolidated shipment.
Notes:
1. Used to reflect any change to previous submissions. Required if M1009 is 'Y'.
2. Not used when M1009 is 'P' or 'T'.
3. M1301 + M1304 comprise the unique bill of lading number.
4. When a manifest is arrived the M13 segment is required to add a new Bill of Lading or
amend an existing Bill of Lading.
5. If the M1303 is ‘A’, the Bill of Lading must be transmitted using the M11 through H2
segments.
6. If the M1303 is ‘D’ or ‘R’, do not include the Bill of Lading segments M11 through H2
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
M1301
140
Standard Carrier Alpha Code
M
1
ID 2/4
Standard Carrier Alpha Code
SCAC of Bill Issuer. M1301 + M1304 comprise the unique bill of lading
number.
- Required by CBP when M1303 is ‘D’ or ‘R’.
- If M1303 = A then only ANSI X.12 syntax validations will be performed on
M1304.
M
M1302
310
Location Identifier
M
1
AN 1/30
Code which identifies a specific location
The Port of Arrival of the train in the U.S. Same value as identified in P401.
Refer to Census Schedule D in CAMIR Appendix E for valid codes.
- CBP accepts accept 4 numeric characters in this element.
M
M1303
580
Amendment Type Code
M
1
ID 1/1
Code identifying type of manifest amendment
Required by CBP. Values accepted by CBP.
A
Add a Bill of Lading
D
Delete a Bill of Lading
R
Replace a Bill Quantity, Either an Increase or Decrease in
the Original Quantity
M
M1304
598
Bill of Lading/Waybill Number
M
1
AN 1/25
Identification number assigned to the shipment by the carrier or consolidator
Bill Issuer Sequence Number. M1301 + M1304 comprise the unique bill of
lading number. It must be unique for three years. Customs brokers must
obtain this number to file an entry.
309RAIL (004040) 0.1.0 January 2015
- Required by CBP when M1303 is ‘D’ or ‘R’.
- If M1303 = A then only ANSI X.12 syntax validations will be performed on
M1304.
- CBP accepts up to 12 alpha/numeric characters in this element.
-If Bill of Lading number different than Bill of Lading Number in M1101 Bill
of Lading Sequence Number, then Bill of Lading number in M1304.Bill of
Lading Sequence Number used."
M1305
380
Quantity
O
1
R 1/15
Numeric value of quantity
New Quantity if amendment code in M1303 is 'R'.
- CBP accepts up to 10 numeric characters in this element.
309RAIL (004040) 0.1.0 January 2015
Must Use
M1306
393
Amendment Code
O
1
ID 2/2
Code giving the reasons for the amendment of the manifest record
- CBP accepts 2 numeric characters in this field. Required by CBP.
01
Not laden aboard per evidence from foreign shipper, or
amended bill of lading
02
Error in manifesting, not laden on this carrier. Laden on
subsequent carrier for transportation to United States, per
evidence in files
03
Clerical error in manifesting per bill of lading in files
04
Pilfered or prematurely landed prior to arrival in United
States per signed statement of master or his agent or
vessel log extract in our file
05
Erroneously duplicated by another bill of lading on the
same manifest
06
Prematurely landed or overcarried to another United
States port where proper disposition was made per
evidence in our files
07
Inadvertently retained on board and taken foreign per
master's or his agent's statement, amended bill of lading,
landing certificate, in our files
08
Container stripped under Customs supervision; Foreign
seals affixed abroad were intact, as per evidence in our
files
09
Merchandise apparently pilfered on dock while in custody
of carrier
10
Inadvertently delivered without customs release; Goods
will be redelivered intact or duty and taxes will be paid by
carrier
11
Overage - Omitted from manifest through clerical error
12
Overage - Manifested for discharge at another port and
inadvertently discharged at this port
13
Proper entry filed or place in general order per entry or
general order number
14
Merchandise inadvertently delivered to consignee without
customs release; Merchandise will be redelivered intact or
liquidated damages paid
15
Merchandise cannot be located and has apparently been
lost; Liquidated damages will be paid
16
Error in quantity manifested at port of origin; Customs
form 5931 will be filed at origin to correct in-bond entry;
A copy will be delivered to this port within 90 days or
duty and taxes will be paid
17
Merchandise removed from original container and re-
stuffed prior to moving in-bond
Not Used
M1307
306
Action Code
O
1
ID 1/2
Not Used
M1308
598
Bill of Lading/Waybill Number
X
1
AN 1/25
M
M1309
140
Standard Carrier Alpha Code
M
1
ID 2/4
Standard Carrier Alpha Code
SCAC identifying the Carrier's conveyance code.
- Only ANSI X.12 syntax validations will be performed on M1309.
Not Used
M1310
140
Standard Carrier Alpha Code
X
1
ID 2/4
309RAIL (004040) 0.1.0 January 2015
Segment: M11 Manifest Bill of Lading Details
Position: 0800
Loop: LX Mandatory
Level:
Usage: Optional (Dependent)
Max Use: 1
Purpose: To transmit bill of lading detail information for a manifest
Syntax Notes: 1 If either M1107 or M1108 is present, then the other is required.
2 If either M1111 or M1113 is present, then the other is required.
3 If M1115 is present, then M1114 is required.
4 If M1118 is present, then M1115 is required.
5 If M1119 is present, then M1118 is required.
Semantic Notes: 1 M1101 is the unique bill of lading number.
2 M1102 is used for port of lading (five-digit numeric census schedule K).
3 M1103 is used for total number of pieces on a bill of lading using the
smallest package unit (maximum eight-digits).
4 M1104 is the smallest package unit code.
5 M1111 is the house bill number for consolidation.
6 M1112 is the unique bill of lading issuer code.
7 M1113 is the issuer code of the consolidated shipment.
8 M1114 is the code of the secondary party nominated to receive bill of
lading status notifications.
9 M1115 is the code of the second secondary party nominated to receive bill
of lading status notifications.
10 M1118 is the Standard Carrier Alpha Code (SCAC) of an additional second
notify carrier.
11 M1119 is the Standard Carrier Alpha Code (SCAC) of an additional second
notify carrier.
Notes:
1. The Unique Bill of Lading number is comprised of the SCAC from M1112 and the
issuer sequence number in the M1101. Customs brokers must obtain this number to file
an entry.
2. The segment is not used if M1303 is 'D' or 'R'.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
M1101
598
Bill of Lading/Waybill Number
M
1
AN 1/25
Identification number assigned to the shipment by the carrier or consolidator
Bill Issuer Sequence Number. M1112 + M1101 comprise the unique bill of
lading number. It must be unique for three years.
- CBP accepts up to12 alpha/numeric characters in this element
- If Bill of Lading number different than Bill of Lading Number in
M1101.Bill of Lading Sequence Number, then Bill of Lading number
in M1304.Bill of Lading Sequence Number used..
-
M
M1102
310
Location Identifier
M
1
AN 1/30
Code which identifies a specific location
Foreign Port of Lading. Refer to Census Schedule K in CAMIR Appendix F
for valid codes. If not specified in Schedule K, use a generic Schedule K code
for all Canadian provinces and Mexican states.
309RAIL (004040) 0.1.0 January 2015
- CBP only accepts 5 numeric characters in this element.
M
M1103
380
Quantity
M
1
R 1/15
Numeric value of quantity
Piece count units are given in the N1001. The total number of N1001 piece
counts for the bill of lading must equal the amount in the manifest quantity data
field. This value must be greater than zero. No decimals.
- CBP accepts up to10 numeric characters in this element.
M
M1104
599
Manifest Unit Code
M
1
ID 1/3
Code defining the smallest package unit for the bill of lading
Refer to CAMIR Appendix N for valid codes.
M
M1105
81
Weight
M
1
R 1/10
Numeric value of weight
The total weight of the merchandise in the bill in Whole numbers only. The
value must be greater than zero. No decimals. Will contain the tare weight for
empty cars.
If the Bill Type in M1109 is ‘23’ this will be the estimated residue weight.
M
M1106
188
Weight Unit Code
M
1
ID 1/1
Code specifying the weight unit
Values accepted by CBP.
E
Metric Ton
K
Kilograms
L
Pounds
M
Measurement Ton
S
Short Ton
T
Long Ton
Not Used
M1107
183
Volume
X
1
R 1/8
Not Used
M1108
184
Volume Unit Qualifier
X
1
ID 1/1
Must Use
M1109
582
Bill of Lading Type Code
O
1
ID 1/2
Code identifying the type of bill of lading
Required by CBP. Values accepted by CBP.
00
Neither Space Charter nor Master In-bond
Regular Bill
10
Master In-Bond
12
Empty Equipment
If provided, VID10 will be 'E'.
The empty container bill type can only be used
for carrier-owned/leased instruments of
international traffic.
In accordance with the CBP regulations at 19
CFR 10.41a and 19 CFR 113.66, entities
requesting release (without entry) for
instruments of international traffic must have a
Type 3a Instruments of International Traffic
bond and must have an application approved by
the CBP Port Director. In order to transmit the
empty container bill type and request release
without entry for IIT, the IMPORTER must
309RAIL (004040) 0.1.0 January 2015
comply with the CBP regulations at 19 CFR
10.41a and 19 CFR 113.66. Where the IIT is
completely empty and the carrier is requesting
release under the CBP regulations at 19 CFR
10.41a, the principal on the type 3A CBP bond
must be the applicant for release of the holder or
container designated as IIT. In cases where the
empty container bill type is used, the carrier
transmitting the information is the importer.
Advance electronic cargo information for
carrier-owned/leased IIT must be received by
CBP via Vessel AMS no later than 24 hours
prior to vessel arrival at the first U.S. port.
Advance electronic cargo information for
shipper/consignee-owned or shipper/consignee-
leased IIT must be transmitted in the same
manner as information for any other revenue
shipment and the transmission time frames (no
later than 24 hours prior to loading in the
foreign port) for revenue shipments apply.
15
Non-Automated In-Transit
18
Goods Astray
23
Section 321 Release for Residue Cargo
24
One Entry per C4 for Line Release
Broker code must be the same and must match
N101='CB'.
25
Multiple C4 per Entry for Line Release
All Broker codes must be the same and must match
N101='CB'.
26
Unit Train for Line Release
All Broker codes must be the same and must match
N101='CB'.
Must Use
M1110
600
Place of Receipt by Pre-carrier
O
1
AN 1/17
The city or country in which the pre-carrier took possession of the cargo
Required by CBP. A city or country name in which the carrier took possession
of the cargo destined for the U.S..
If the Bill Type in M1109 is ‘23’ this will be origin city or country of the
shipment
Not Used
M1111
598
Bill of Lading/Waybill Number
X
1
AN 1/25
M
M1112
140
Standard Carrier Alpha Code
M
1
ID 2/4
Standard Carrier Alpha Code
SCAC of the Bill Issuer. M1112 + M1101 comprise the unique bill of lading
identifier.
- CBP only accepts 4 characters in this element.
Not Used
M1113
140
Standard Carrier Alpha Code
X
1
ID 2/4
Dep
M1114
140
Standard Carrier Alpha Code
X
1
ID 2/4
Standard Carrier Alpha Code
309RAIL (004040) 0.1.0 January 2015
Designation of a Secondary Notify Party nominated to receive BOL status
notifications. (This can either be a SCAC or FIRMS code.)
If M1115 is present, then M1114 is required.
M1115
140
Standard Carrier Alpha Code
X
1
ID 2/4
Standard Carrier Alpha Code
Designation of a Secondary Notify Party. (This can either be a SCAC or
FIRMS code.) If M1115 is present, then M1114 is required.
Not Used
M1116
1302
Shipper's Export Declaration Requirements
O
1
AN 1/2
Not Used
M1117
1578
Export Exception Code
O
1
ID 1/2
Not Used
M1118
140
Standard Carrier Alpha Code
X
1
ID 2/4
Not Used
M1119
140
Standard Carrier Alpha Code
O
1
ID 2/4
309RAIL (004040) 0.1.0 January 2015
Segment: N9 Reference Identification
Position: 0850
Loop: LX Mandatory
Level:
Usage: Optional
Max Use: 999
Purpose: To transmit identifying information as specified by the Reference Identification
Qualifier
Syntax Notes: 1 At least one of N902 or N903 is required.
2 If N906 is present, then N905 is required.
3 If either C04003 or C04004 is present, then the other is required.
4 If either C04005 or C04006 is present, then the other is required.
Semantic Notes: 1 N906 reflects the time zone which the time reflects.
2 N907 contains data relating to the value cited in N902.
Notes:
N901 and N902 are required by CBP when this segment is provided.
Data Element Summary
Ref. Data
Des. Element Name Attributes
M
N901
128
Reference Identification Qualifier
M
1
ID 2/3 1.
Code qualifying the Reference Identification
- The 'FEN' qualifier in the N901 is used by carriers to report the Mexican
Pedimento Number.
The ‘MXC’ qualifier in the N901 is used by carriers to report the Mexican
CAAT number. This is required for Mexican transactions and usage and is not
used for U.S. imports from Mexico.
The ‘MXE’ qualifier in the N901 is used by carriers to report the Mexican
export bonded warehouse number. This is required for Mexican transactions
and usage and is not used for U.S. imports from Mexico. Refer to the Schedule
located in http://www.gob.mx/ref.5x12appendix for valid codes.
The ‘MXI’ qualifier in the N901 is used by carriers to report the Mexican
import bonded warehouse number. This is required for Mexican transactions
and usage and is not used for U.S. imports from Mexico. Refer to the Schedule
located in http://www.gob.mx/ref.5x12appendix for valid codes.
- The 'OB' qualifier in the N901 is used to report the Bill of Lading number of
the original ACE M1 waterborne carrier (OB) who initially imported the cargo
into Canada or Mexico.
- The ‘ZF’ qualifier in the N901 is used to report the bill of lading number for
residue cargo claiming release under Section 321 of the Tariff
Must Use
N902
127
Reference Identification
X
1
AN 1/50
Reference information as defined for a particular Transaction Set or as specified
by the Reference Identification Qualifier
Required by CBP when segment is provided..
- When N901 is 'FEN', N902 contains the Mexican Pedimento Number of 15
numeric characters. There should be no embedded hyphens, dashes or other
special characters. The required format for a Mexican Pedimento Number is as
follows:
309RAIL (004040) 0.1.0 January 2015
yyppbbbbddddddd where
yy - the last two digits of a year
pp - the Mexican customs port code.
bbbb - the Mexican broker code
ddddddd - the document number
- When N901 is ‘MXC’ N902 contains the Mexican CAAT code
- When N901 is “MXE’ N902 is the Mexican Export Warehouse Number
- When N901 is “MXI’ N902 is the Mexican import Warehouse Number
- When N901 is 'OB', N902 contains the Bill of Lading number of the original
ACE M1 waterborne carrier who initially imported the cargo into Canada or
Mexico.
- When N901 is ‘ZF’ cargo is residue up to and including 7%
Not Used
N903
369
Free-form Description
X
1
AN 1/45
Not Used
N904
373
Date
O
1
DT 8/8
Not Used
N905
337
Time
X
1
TM 4/8
Not Used
N906
623
Time Code
O
1
ID 1/2
Not Used
N907
C040
Reference Identifier
O
1
To identify one or more reference numbers or identification numbers as
specified by the Reference Qualifier
Not Used
C04001
128
Reference Identification Qualifier
M
ID 2/3
Code qualifying the Reference Identification
Not Used
C04002
127
Reference Identification
M
AN 1/50
Reference information as defined for a particular Transaction Set or as specified
by the Reference Identification Qualifier
Not Used
C04003
128
Reference Identification Qualifier
X
ID 2/3
Code qualifying the Reference Identification
Not Used
C04004
127
Reference Identification
X
AN 1/50
Reference information as defined for a particular Transaction Set or as specified
by the Reference Identification Qualifier
Not Used
C04005
128
Reference Identification Qualifier
X
ID 2/3
Code qualifying the Reference Identification
Not Used
C04006
127
Reference Identification
X
AN 1/50
Reference information as defined for a particular Transaction Set or as specified
by the Reference Identification Qualifier
Note 1:
Valid qualifier codes are:
Code Description
09 Customs bar code number
2K Food and Drug Administration (FDA) Product Type
8S Broker Identification (used to pass the broker filer code)
B House Bill of Lading
BJ Unknown
BL Government Bill of Lading
309RAIL (004040) 0.1.0 January 2015
BM Bill of Lading Number
BN Booking Number
CCO CSD-Country-Origin
CEN Census Exception number
CER Canada Border Service Agency (CBSA) Exemption Reference ID
CES Canada Border Service Agency (CBSA) Export Summary Reporting ID
CHS CSD-HSA
CG Consignee’s Order Number
CN Carrier’s Reference Number (PRO/Invoice)
CO Customer Order Number
CR Customer Reference Number
CSK Census Schedule K (Importer Security Filing Requirement)
CT Contract Number
CUB CBP Bill of Lading Number
CX Consignment Classification ID
ED Export Declaration
EEN Express Entry Number
EP Export Permit Number
FEN Foreign Entry Number
FN Forwarder’s/Agent’s Reference Number
FP Forestry Permit Number
FPL Foreign Port Landing
GB Grain Block Number
GR Grain order Reference Number
H House Transaction (Export Transaction Number)
HS Harmonized Code System (Used when the shipment is not an IE or T&E
movement, or if the HS code received from the shipper is greater than 6
digits)
HW High/Wide File Number
ICC Input Carrier Code (air)
IFN Input Flight Number (air)
IN Consignee’s Invoice Number
IWB Input Waybill Number (air)
LT Lot Number
M Master Transaction (Export Transaction Number)
MA Ship Notice/Manifest Number (Used for the Automotive ASN Number)
MB Master Bill of Lading
MXC Mexican CAAT code
MXE Mexican Export Warehouse Number
MXI Mexican Import Warehouse Number
OB Ocean Bill of Lading
OL Identifies the original bill when the bill of lading has been split after
initial loading. (Ocean only - does not apply to Rail)
OM Ocean Manifest
OW Service Order Number
PK Packing List Number
309RAIL (004040) 0.1.0 January 2015
PN Permit Number
PO Purchase Order Number
RC Rail Routing Code
Used by Automotive Manufacturers and Brokers
RP Unknown
S7 Stack Train Identification
SI Shipper’s Identifying Number for Shipment (SID)
SNP Secondary Notify Party
SO Shipper’s Order (Invoice Number)
ST Store Number
SW Seller’s Sale Number
TJ Federal Taxpayer’s Identification Number
ULC UNLOCode (Importer Security Filing Requirement)
UT Unit Train
VA Vessel Agent Number
WU Vessel
WY Rail Waybill Number
XC Cargo Control Number
XE Unknown
XP Previous Cargo Control Number
ZE Coal Authority Number
ZZ Mutually Defined
309RAIL (004040) 0.1.0 January 2015
Segment: N1 Name
Position: 1000
Loop: N1 Optional (Dependent)
Level:
Usage: Optional (Dependent)
Max Use: 1
Purpose: To identify a party by type of organization, name, and code
Syntax Notes: 1 At least one of N102 or N103 is required.
2 If either N103 or N104 is present, then the other is required.
Semantic Notes:
Notes:
1. There must be at least two occurrences of the N1 loop. One must contain an N101 of
'SH', 'SF', 'PF' or 'FW' to designate Shipper with the name of the party tendering the
shipment to the rail carrier in N102. The second occurrence must contain an N101 of
'CD', 'CN', or 'OO' to designate Consignee with the party's name in N102.
2. N103 and N104 are used to identify a Secondary Notify Party or the ABI routing code.
3. For stack train shipments, the stack train operator is both shipper "SH' and consignee
'CN' unless the load is in-bond.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
N101
98
Entity Identifier Code
M
1
ID 2/3
Code identifying an organizational entity, a physical location, property or an
individual
Values accepted by CBP.
11
Party to be billed(AAR Accounting Rule 11)
AD
Party to be advised (Written orders)
AEB
Airport Authority
AEE
Port Authority
AP
Account of (Origin Party)
AQ
Account of (Destination Party)
B5
Affiliated Company
BK
Bank
BN
Beneficial Owner
CBP will map to a notify party.
BO
Broker or Sales Office
BS
Bill and Ship To
BT
Bill-to-Party
BY
Buying Party (Purchaser)
C1
In Care Of Party no. 1
CBP will map to a notify party.
C2
In Care Of Party no. 2
CBP will map to a notify party.
CA
Carrier
CB
Customs Broker
If used, N103 and N104 are required.
CD
Consignee (To Receive Mail and Small Parcels)
CBP will map to a consignee.
CE
Consignee (To receive large parcels and freight)
309RAIL (004040) 0.1.0 January 2015
CBP will map to a consignee.
CF
Subsidiary/Division
CG
Carnet Issuer
CI
Consignor
CJ
Automated Data Processing (ADP) Point
CL
Container Location
CN
Consignee
CBP will map to a consignee.
CP
Party to Receive Cert. of Compliance
CQ
Corporate Office
CR
Container Return Company
CS
Consolidator
CV
Converter
D8
Dispatcher
DA
Delivery Address
DB
Distributor Branch
DC
Destination Carrier
DF
Material Disposition Authorization Location
DH
Doing Business As
DM
Destination Mail Facility
DR
Destination Drayman
DS
Distributor
DT
Destination Terminal
DU
Resale Dealer
DV
Division
DW
Downstream Party
DX
Distiller
EH
Exhibitor
EV
Selling Agent
EW
Servicing Broker
EX
Exporter
FN
Filer Name
FQ
Pier Name
FS
Final Scheduled Destination
FW
Forwarder
CBP will map to a shipper.
HW
Designated Hazardous Waste Facility
HX
Transporter of Hazardous Waste
I1
Interested Party
IAV
Other Related Party
IC
Intermediate Consignee
IF
International Freight Forwarder
IK
Intermediate Carrier
IM
Importer
J3
Broker's Assistant
J6
Power of Attorney
309RAIL (004040) 0.1.0 January 2015
JV
Joint Owner
JW
Joint Venture
LA
Attorney
LL
Location of Load Exchange (Export)
MA
Party for whom Item is Ultimately Intended
MC
Motor Carrier
MF
Manufacturer of Goods
MO
Release Drayman
MQ
Delivery Location
N1
Notify Party no. 1
CBP will map to a Notify Party.
N2
Notify Party no. 2
CBP will map to a Notify Party.
NC
Cross-Town Switch
NP
Notify Party for Shipper's Order
OB
Ordered By
OM
Origin Mail Facility
OO
Order Of (Shippers Orders) - (Transportation)
CBP will map to a consignee.
OP
Operator of property or unit
OR
Origin Drayman
OW
Owner of Property or Unit
OY
Owner of Vehicle
PE
Payee
PF
Party to Receive Freight Bill
CBP will map to a shipper.
PJ
Party to Receive Correspondence
PK
Party to Receive Copy
PL
Party to Receive Purchase Order
PM
Party to receive paper Memo of Invoice
PN
Party to Receive Shipping Notice
PO
Party to Receive Invoice for Goods or Services
PR
Payer
PU
Party at Pick-up Location
PV
Party performing certification
PW
Pick Up Address
R1
Party to Receive Scale Ticket
RD
Destination Intermodal Ramp
RO
Original Intermodal Ramp
SD
Sold To and Ship To
SE
Selling Party
SF
Ship From
CBP will map to a shipper.
SH
Shipper
CBP will map to a shipper.
SM
Party to Receive Shipping Manifest
309RAIL (004040) 0.1.0 January 2015
SNP
Secondary Notify Party
If used, N103 and N104 are required.
SO
Sold To If Different From Bill To
SP
Party filling Shipper's Order
SQ
Service Bureau
SS
Steamship Company
ST
Ship To
SU
Supplier/Manufacturer
T3
Terminal Location
T4
Transfer Point
T6
Terminal Operator
TR
Terminal
TT
Transfer To
UC
Ultimate Consignee
CBP will map to a notify party.
V1
Surety
WH
Warehouse
XR
Mexican Customs Broker
XU
United States Customs Broker
YE
Third Party
ZF
Break Bulk Point
Dep
N102
93
Name
X
1
AN 1/60
Free-form name
Required by CBP for N101 codes other than CB or SNP.
If N103 is ‘TIN’ this is required.
- CBP accepts up to 35 alpha/numeric characters in this element.
Dep
N103
66
Identification Code Qualifier
X
1
ID 1/2
Code designating the system/method of code structure used for Identification
Code (67)
Required if N101 is CB or SNP.
- Should be '2' or '17' if N101 is Secondary Notify Party (SNP)
- Should be '17' if N101 is Customs Broker (CB)
2
Standard Carrier Alpha Code (SCAC) or FIRMS code
Used to support CBP requirements for secondary notify
party.
17
TIN
Automated Broker Interface (ABI) Routing Code
Mexican Taxpayer’s Identification Number
N104
67
Identification Code
X
1
AN 2/80
Code identifying a party or other code
- Should be SCAC, FIRMS, or Broker Routing code if N101 is Secondary
Notify Party (SNP).
- CBP accepts 4 alpha/numeric characters in this element for theses qualifiers.
- Should be Broker Routing Code if N101 is Customs Broker (CB).
- If N103 is ‘TIN’ this is the Mexican Taxpayer’s Identification Number
Formula is: TINX000000XXX
Not Used
N105
706
Entity Relationship Code
O
1
ID 2/2
Not Used
N106
98
Entity Identifier Code
O
1
ID 2/3
309RAIL (004040) 0.1.0 January 2015
Segment: N3 Address Information
Position: 1100
Loop: N1 Optional (Dependent)
Level:
Usage: Optional (Dependent)
Max Use: 2
Purpose: To specify the location of the named party
Syntax Notes:
Semantic Notes:
Notes:
1. N3 is required for all N101 Values except for ‘CB’ and ‘SNP’.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
N301
166
Address Information
M
1
AN 1/55
Address information
Address/contact data.
- CBP accepts up to 35 alpha/numeric characters for this element.
N302
166
Address Information
O
1
AN 1/55
Address information
Additional address/contact data.
- CBP accepts up to 35 alpha/numeric characters for this element.
309RAIL (004040) 0.1.0 January 2015
Segment: N4 Geographic Location
Position: 1200
Loop: N1 Optional
Level:
Usage: Optional
Max Use: 1
Purpose: To specify the geographic place of the named party
Syntax Notes: 1 Only one of N402 or N407 may be present.
2 If N406 is present, then N405 is required.
3 If N407 is present, then N404 is required.
Semantic Notes:
Notes:
1. N401 is required when N4 segment submitted.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
Must Use
N401
19
City Name
O
1
AN 2/30
Free-form text for city name
- CBP accepts up to 19 alpha/numeric characters in this element.
N402
156
State or Province Code
X
1
ID 1/2
Code (Standard State/Province) as defined by appropriate government agency
N403
116
Postal Code
O
1
ID 3/15
Code defining international postal zone code excluding punctuation and blanks
(zip code for United States)
N404
26
Country Code
X
1
ID 2/3
Code identifying the country
Not Used
N405
309
Location Qualifier
X
1
ID 1/2
Not Used
N406
310
Location Identifier
O
1
AN 1/30
Not Used
N407
1715
Country Subdivision Code
X
1
ID 1/3
309RAIL (004040) 0.1.0 January 2015
Segment: PER Administrative Communications Contact
Position: 1250
Loop: N1 Optional
Level:
Usage: Optional
Max Use: 1
Purpose: To identify a person or office to whom administrative communications should
be directed
Syntax Notes: 1 If either PER03 or PER04 is present, then the other is required.
2 If either PER05 or PER06 is present, then the other is required.
3 If either PER07 or PER08 is present, then the other is required.
Semantic Notes:
Notes:
When used to convey a telephone or facsimile number, the alpha representation of the
number should not be used (i.e., 1-800-BE-ALERT).
If used, either PER02 or PER03 is required.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
PER01
366
Contact Function Code
M
1
ID 1/2
Code identifying the major duty or responsibility of the person or group named
Value accepted by CBP.
IC
Information Contact
Dep
PER02
93
Name
O
1
AN 1/60
Free-form name
- CBP accepts up to 23 alpha/numeric characters in this element.
- Either PER02 or PER03 is required by CBP.
Dep
PER03
365
Communication Number Qualifier
X
1
ID 1/2
Code identifying the type of communication number
Values accepted by CBP.
Either PER02 or PER03 is required by CBP.
If either PER03 or PER04 is present, then the other is required.
AU
Defense Switched Network
CP
Cellular Phone
ED
Electronic Data Interchange Access Number
EM
Electronic Mail
EX
Telephone Extension
FT
Federal Telecommunications System (FTS)
FX
Facsimile
HP
Home Phone Number
IT
International Telephone
PS
Packet Switching
TE
Telephone
TL
Telex
TM
Telemail
TX
TWX
WP
Work Phone Number
PER04
364
Communication Number
X
1
AN 1/256
309RAIL (004040) 0.1.0 January 2015
Complete communications number including country or area code when
applicable
- CBP accepts up to 25 alpha/numeric characters in this element.
- If either PER03 or PER04 is present, then the other is required.
Not Used
PER05
365
Communication Number Qualifier
X
1
ID 1/2
Not Used
PER06
364
Communication Number
X
1
AN 1/256
Not Used
PER07
365
Communication Number Qualifier
X
1
ID 1/2
Not Used
PER08
364
Communication Number
X
1
AN 1/256
Not Used
PER09
443
Contact Inquiry Reference
O
1
AN 1/20
309RAIL (004040) 0.1.0 January 2015
Segment: M12 In-bond Identifying Information
Position: 1300
Loop: M12 Optional
Level:
Usage: Optional
Max Use: 1
Purpose: To transmit in-bond information
Syntax Notes: 1 Only one of M1202 or M1206 may be present.
2 If M1206 is present, then M1208 is required.
3 If either M1208 or M1209 is present, then the other is required.
4 If either M1210 or M1211 is present, then the other is required.
Semantic Notes: 1 M1203 is a four-digit numeric census schedule D when identifying a U.S.
port, and a three-digit numeric memorandum D when identifying a
Canadian port. It is the port of destination if M1201 is "61". It is the port of
export if M1201 is "62" or "63".
2 M1204 is five-digit numeric census schedule K. It is the foreign port of
destination if M1201 is "62" or "63".
3 M1207 identifies the carrier to whom liability is transferred.
4 M1212 is the Food and Drug Administration prior notification requirement
indicator. A "Y" indicates that the shipper has advised the commodity is
subject to the prior notification requirement. An "N" indicates the
commodity is not subject to the prior notification requirement. If blank the
default value is "N".
Notes:
This segment will not be used if M1109 is code ‘23’
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
M1201
581
Customs Entry Type Code
M
1
ID 2/3
Code defining the type of entry assigned by U.S. Customs
Values accepted by CBP.
61
Immediate Transportation [IT]
62
Transportation and Exportation [T&E]
63
Immediate Exportation [IE]
69
Transit (USA-Canada-USA)
70
Transit (Canada-USA-Canada)
Dep
M1202
601
Customs Entry Number
X
1
AN 1/15
Automated Commercial Environment Code Furnished by U.S. Customs
Service
Carriers authorized to participate in Paperless in-bond will be assigned a 3-
position filer identification code beginning with 'V'. This code is used with a
check digit routine to create a paperless in-bond number. Check digit routine is
defined in the CAMIR 'Paperless' Master In-bond Program chapter.
Either M1202 or M1206 must be provided.
- CBP accepts 11 alpha/numeric characters in this element.
Must Use
M1203
310
Location Identifier
O
1
AN 1/30
Code which identifies a specific location
Required by CBP. U.S. port of in-bond destination. Refer to Census Schedule
D CAMIR Appendix E for valid codes.
309RAIL (004040) 0.1.0 January 2015
- CBP only accepts 4 numeric characters in this element.
Dep
M1204
310
Location Identifier
O
1
AN 1/30
Code which identifies a specific location
Required when M1201 is T&E '62' or IE '63'.
Foreign Port of Destination - See Census Schedule K in CAMIR Appendix F
for valid codes.
- CBP accepts 5 numeric characters in this element.
Must Use
M1205
602
Customs Shipment Value
O
1
AN 2/8
Customs value in whole dollars
Required by CBP. Value must be greater than zero. Twenty dollars US$ (20)
per kilo may be used if the value is unknown. No decimals.
- CBP accepts 8 numeric characters in this element.
Dep
M1206
603
In-bond Control Number
X
1
AN 1/25
Currently assigned control number for in-bond movement
Either M1202 or M1206 must be provided.
If M1206 is present, then M1208 is required.
- CBP only accepts 9 numeric characters in this element.
Not Used
M1207
140
Standard Carrier Alpha Code
O
1
ID 2/4
Dep
M1208
128
Reference Identification Qualifier
X
1
ID 2/3
Code qualifying the Reference Identification
Bonded Carrier ID Qualifier.
If M1206 is present, then M1208 is required.
If either M1208 or M1209 is present, then the other is required.
BI
Bonded Carrier Identification Number
Dep
M1209
127
Reference Identification
X
1
AN 1/50
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Required for Conventional (M1206) and Paperless (M1202) in-bonds. Bonded
Carrier ID Number. The system will validate the ID is on file and has a valid
Bond type.
Values accepted by CBP are:
NN-NNNNNNNXX Internal Revenue Service (IRS) Number
NNN-NN-NNNN Social Security Number
YYDDPP-NNNNN CBP Assigned Number
If either M1208 or M1209 is present, then the other is required.
- CBP will accept up to 12 alpha/numeric characters including embedded
hyphens.
Dep
M1210
91
Transportation Method/Type Code
X
1
ID 1/2
Code specifying the method or type of transportation for the shipment
May be sent via EDI in lieu of CR7513. Can be populated in the TS309 or
TS357 transactions if M1201 is T&E '62' or IE '63', the method of export is
waterborne, and M1211 is supplied. Can also be reported in the TS353
M1515.If either M1210 or M1211 is present, then the other is required.
S
Ocean
Dep
M1211
182
Vessel Name
X
1
AN 2/28
Name of ship as documented in "Lloyd's Register of Ships"
May be sent via EDI in lieu of CR7513. Can be populated in the TS309 or
TS357 transactions if M1201 is T&E '62' or IE '63', the method of export is
309RAIL (004040) 0.1.0 January 2015
waterborne, and M1210 is supplied. Can also be reported in the TS353
M1516.
If either M1210 or M1211 is present, then the other is required.
- CBP accepts up to 23 alpha/numeric characters in this element.
309RAIL (004040) 0.1.0 January 2015
Dep
M1212
1073
Yes/No Condition or Response Code
O
1
ID 1/1
Code indicating a Yes or No condition or response
Required if M1201 is T&E '62'. Indicator must be set to 'Y' or 'N' to indicate
whether cargo is subject to U.S. Food and Drug Administration Bioterrorism
Act of 2002 reporting requirements.
N
No
Y
Yes
Not Used
M1213
373
Date
M
1
DT 8/8
Not Used
M1214
310
Location Identifier
O
1
AN 1/30
309RAIL (004040) 0.1.0 January 2015
Segment: VID Conveyance Identification
Position: 1500
Loop: VID Optional (Dependent)
Level:
Usage: Optional (Dependent)
Max Use: 1
Purpose: To identify a conveyance and its attributes
Syntax Notes:
Semantic Notes: 1 VID12 is the Census Schedule K code for the foreign port of loading on a
vessel.
2 VID13 is the Standard Carrier Alpha Code (SCAC) of the Haulage Rights
Carrier.
Notes:
1. The segment is not used if M1303 is 'D' or 'R'.
2. The combination of the VID02 and VID03 elements comprise the container number.
3. There must be at least one N10 segment if the VID segment is used.
4. A specific container or 'NC' for non-containerized may be reported only once within
the same bill of lading.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
VID01
40
Equipment Description Code
M
1
ID 1/2
Code identifying type of equipment used for shipment
Refer to CAMIR Appendix I for valid codes.
Dep
VID02
206
Equipment Initial
O
1
AN 1/4
Prefix or alphabetic part of an equipment unit's identifying number
For containers without initials use 'NONU'.
M
VID03
207
Equipment Number
M
1
AN 1/15
Sequencing or serial part of an equipment unit's identifying number (pure
numeric form for equipment number is preferred)
CBP requires a minimum of 1 character and a maximum of 10 characters when
VID02 is used. This data element can be a maximum of 14 characters if
VID02 is not used.
Dep
VID04
225
Seal Number
O
1
AN 2/15
Unique number on seal used to close a shipment
- A valid exporter/carrier seal number associated with this shipment. If a seal
number is present, it must be provided. Cannot include special characters ( '.'
or '-' or '/', etc.).
- Required by CBP for rail usage if seals are applied.
VID05
225
Seal Number
O
1
AN 2/15
Unique number on seal used to close a shipment
A valid exporter/carrier seal number associated with this shipment. Cannot
include " . " or " - ". Required by CBP for rail usage if additional seals are
applied.
- CBP accepts a minimum of 2 non-blank characters and up to 15
alpha/numeric characters in this element.
Not Used
VID06
567
Equipment Length
O
1
N0 4/5
Not Used
VID07
65
Height
O
1
R 1/8
309RAIL (004040) 0.1.0 January 2015
Not Used
VID08
189
Width
O
1
R 1/8
Not Used
VID09
24
Equipment Type
O
1
ID 1/4
309RAIL (004040) 0.1.0 January 2015
VID10
322
Load/Empty Status Code
O
1
ID 1/1
Code which specifies the loaded condition of transportation equipment
This field is required when M1109 is '12’ for Empty Equipment. In this case
the value must be equal to ‘E’. Other values accepted by CBP are:
E
Empty
F
Empty Requiring Census Reporting
L
Loaded
IF M1109 is code ‘23’ this element and code are required
M
Load Requiring Census Reporting
T
Total
Not Used
VID11
56
Type of Service Code
O
1
ID ½
Not Used
VID12
310
Location Identifier
O
1
AN 1/30
Not Used
VID13
140
Standard Carrier Alpha Code
O
1
ID 2/4
309RAIL (004040) 0.1.0 January 2015
Segment: N10 Quantity and Description
Position: 1600
Loop: N10 Optional (Dependent)
Level:
Usage: Optional (Dependent)
Max Use: 1
Purpose: To indicate line item quantity, description, marks and numbers, commodity
code, weight, and customs value
Syntax Notes: 1 If either N1004 or N1005 is present, then the other is required.
2 If either N1006 or N1013 is present, then the other is required.
3 If either N1007 or N1008 is present, then the other is required.
Semantic Notes: 1 N1009 is the U.S. Customs bar code number for line release.
2 N1011 is the country of the manufacturer of the goods.
3 N1012 is the country of the final destination of the goods.
4 N1013 is the currency of the value of N1006.
Notes:
1. There must be at least one N10 segment if a VID segment is used. If container is
empty, send ‘1’ in element N1001, ‘EMPTY’ in element N1002 and 'NO
MARKS' in N1003.
2. Do not use character selected to serve as Subelement Separator (ISA16) in Description
or Marks and Numbers elements.
3. Do not exceed 999 repetitions of the N10 loop.
4. Tariff data (HTS) must be included on all bills designated for export (T&E, IE).
5. For every N10 segment sent, Marks and Numbers must be included.
Example: If more description is available than Marks and Numbers, add "." to Marks
and Numbers field.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
Dep
N1001
380
Quantity
O
1
R 1/15
Numeric value of quantity
Required for each new commodity. Full bill quantity or breakdown quantity
may be reported as long as all N1001 elements equal the quantity listed in
M1103.
When N10 is used to report continued Description and/or Marks and Numbers,
the N1001 may be '0' or blank.
- CBP will only accept up to 10 numeric characters in this element.
Must Use
N1002
369
Free-form Description
O
1
AN 1/45
Free-form descriptive text
Required by CBP. If the N10 is used to provide additional Marks and
Numbers in the N1003 and additional Description does not exist or is not
available, value should be ‘.’ in this element.
Must Use
N1003
87
Marks and Numbers
O
1
AN 1/48
Marks and numbers used to identify a shipment or parts of a shipment
Required by CBP. The written description of the symbols and markings on the
outside of the packages. If Marks and Numbers do not exist or are not
available, value should be ‘NO MARKS’ in this element.
If the N10 is used to provide additional Description in the N1002 and Marks
and Numbers do not exist or are not available, value should be ‘.’ in this
element.
309RAIL (004040) 0.1.0 January 2015
- CBP accepts up to 45 alpha/numeric characters in this element.
309RAIL (004040) 0.1.0 January 2015
Dep
N1004
23
Commodity Code Qualifier
X
1
ID 1/1
Code identifying the commodity coding system used for Commodity Code
Required if M1201 is T&E '62' or IE '63' type Bill of Lading.
J
Harmonized Tariff Schedule
CBP will use a six digit Harmonized code.
Dep
N1005
22
Commodity Code
X
1
AN 1/30
Code describing a commodity or group of commodities
Harmonized Tariff Schedule code. Required if M1201 Entry Type T&E '62' or
IE '63'.
- CBP will only accept up to 10 numeric characters in this field. CBP will only
validate the first 6 bytes and return the associated description when necessary.
Dep
N1006
602
Customs Shipment Value
X
1
AN 2/8
Customs value in whole dollars
Required if M1201 is T&E '62' or IE '63'. Value in whole U.S. dollars. No
decimals.
Required if M1109 is ‘23’. If value is greater than $200 a reject will occur
Syntax Note 2 is not validated by CBP during electronic data exchange.
Dep
N1007
188
Weight Unit Code
X
1
ID 1/1
Code specifying the weight unit
Required if M1201 is T&E '62' or IE '63'. Required if data found in N1008.
E
Metric Ton
K
Kilograms
L
Pounds
M
Measurement Ton
S
Short Ton
T
Long Ton
Dep
N1008
81
Weight
X
1
R 1/10
Numeric value of weight
Required if M1201 is T&E '62' or IE '63'. Value in whole numbers. No
decimals. Required if data found in N1007.
Dep
N1009
127
Reference Identification
O
1
AN 1/50
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Used for CBP C4 Number for Line Release.
When provided, the C4 code must be active for the Port in the P401.
When provided, the Broker/Filer in the C4 code must have a Customs Broker
in the N1 segment and must match the value in the N104.
When Multiple N10’s are provided to report additional Description and/or
Marks and Numbers, the C4 code is not repeated.
N1010
599
Manifest Unit Code
O
1
ID 1/3
Code defining the smallest package unit for the bill of lading
Refer to CAMIR Appendix N for valid codes.
If M1109 is ‘23’ this code is ‘CLD’
N1011
26
Country Code
O
1
ID 2/3
309RAIL (004040) 0.1.0 January 2015
Code identifying the country
Used for Country Code or Canadian Province Code. Canadian Codes accepted
by CBP for Softwood Lumber.
XA
ALBERTA
XB
NEW BRUNSWICK
XD
BRITISH COLUMBIA (COASTAL)
XE
BRITISH COLUMBIA (INLAND)
XM
MANITOBA
XN
NOVA SCOTIA
XO
ONTARIO
XP
PRINCE EDWARD ISLAND
XQ
QUEBEC
XS
SASKATCHEWAN
XT
NORTHWEST TERRITORIES
XV
NUNAVUT
XW
NEWFOUNDLAND
XY
YUKON
Not Used
N1012
26
Country Code
O
1
ID 2/3
Not Used
N1013
100
Currency Code
X
1
ID 3/3
309RAIL (004040) 0.1.0 January 2015
Segment: VC Motor Vehicle Control
Position: 1550
Loop: N10 Optional (Dependent)
Level:
Usage: Optional
Max Use: 999
Purpose: To define motor vehicle identification and logistics
Syntax Notes:
Semantic Notes: 1 VC05 is the automotive manufacturer route code.
2 VC12 is the direction the headlights of the vehicle point.
3 VC13 is the final destination ramp location as assigned by the
manufacturer.
Notes:
CBP accepts Vehicle Identification Numbers (VINs) in this segment.
If M1109 is code ‘23’ this segment will not be used.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
VC01
539
Vehicle Identification Number
M
1
AN 1/30
Unique identification number stamped on the vehicle by the manufacturer
Not Used
VC02
836
Vehicle Deck Position Code
O
1
ID 1/2
Not Used
VC03
837
Vehicle Type Code
O
1
ID 1/1
Not Used
VC04
838
Dealer Code
O
1
AN 2/9
Not Used
VC05
1
Route Code
O
1
AN 1/13
Not Used
VC06
839
Bay Location
O
1
AN 1/6
Not Used
VC07
833
Automotive Manufacturers Code
O
1
ID 1/2
Not Used
VC08
308
Damage Exception Indicator
O
1
ID 1/1
Not Used
VC09
835
Supplemental Inspection Code
O
1
ID 1/1
VC10
583
Factory Car Order Number
O
1
AN 6/10
This number to be supplied by the shipper for Canadian customer requirements
at border points for all finished motor vehicles exported to the United States
from Canada
Not Used
VC11
877
Vessel Stowage Location
O
1
AN 1/12
Not Used
VC12
1543
Equipment Orientation Code
O
1
ID 1/1
Not Used
VC13
310
Location Identifier
O
1
AN 1/30
309RAIL (004040) 0.1.0 January 2015
Segment: H1 Hazardous Material
Position: 1650
Loop: H1 Optional
Level:
Usage: Optional
Max Use: 1
Purpose: To specify information relative to hazardous material
Syntax Notes: 1 If either H107 or H108 is present, then the other is required.
Semantic Notes:
Notes:
1. CBP usage of the H1 segment is Conditional - If hazardous cargo is being carried it
must be reported. If M1109 is code ‘23’ and the residue is hazardous material this
segment is required
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
H101
62
Hazardous Material Code
M
1
AN 4/10
Code relating to hazardous material code qualifier for regulated hazardous
materials
CBP requires a valid value from the UN/NA (United Nations/North American
Hazardous Materials Code) List.
Not Used
H102
209
Hazardous Material Class Code
O
1
AN 1/4
Not Used
H103
208
Hazardous Material Code Qualifier
O
1
ID 1/1
H104
64
Hazardous Material Description
O
1
AN 2/30
Material name, special instructions, and phone number if any
First 30 alpha/numeric characters of the Proper Shipping Name, next 30
alpha/numeric characters will be placed in H201.
H105
63
Hazardous Material Contact
O
1
AN 1/24
Phone number and name of person or department to contact in case of
emergency
This is the free-form name and phone number for the HAZMAT contact.
Not Used
H106
200
Hazardous Materials Page
O
1
AN 1/6
Not Used
H107
77
Flashpoint Temperature
X
1
N 1/3
Not Used
H108
355
Unit or Basis for Measurement Code
X
1
ID 1/2
Not Used
H109
254
Packing Group Code
O
1
ID 1/3
309RAIL (004040) 0.1.0 January 2015
Segment: H2 Additional Hazardous Material Description
Position: 1660
Loop: H1 Optional
Level:
Usage: Optional
Max Use: 2
Purpose: To specify free-form hazardous material descriptive data in addition to the
information provided in the H1 segment
Syntax Notes:
Semantic Notes:
Notes:
Up to 2 H2 segments may be sent for each H1 segment.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
H201
64
Hazardous Material Description
M
1
AN 2/30
Material name, special instructions, and phone number if any
Additional 30 alpha/numeric characters of the Proper Shipping Name.
Not Used
H202
274
Hazardous Material Classification
O
1
AN 1/30
309RAIL (004040) 0.1.0 January 2015
Segment: SE Transaction Set Trailer
Position: 2000
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To indicate the end of the transaction set and provide the count of the
transmitted segments (including the beginning (ST) and ending (SE) segments)
Syntax Notes:
Semantic Notes:
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
SE01
96
Number of Included Segments
M
1
N0 1/10
Total number of segments included in a transaction set including ST and SE
segments
M
SE02
329
Transaction Set Control Number
M
1
AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
309RAIL (004040) 0.1.0 January 2015
Segment: GE Functional Group Trailer
Position: 2340
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To indicate the end of a functional group and to provide control information
Syntax Notes:
Semantic Notes: 1 The data interchange control number GE02 in this trailer must be identical
to the same data element in the associated functional group header, GS06.
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
GE01
97
Number of Transaction Sets Included
M
1
N0 1/6
Total number of transaction sets included in the functional group or
interchange (transmission) group terminated by the trailer containing this data
element
M
GE02
28
Group Control Number
M
1
N0 1/9
Assigned number originated and maintained by the sender
309RAIL (004040) 0.1.0 January 2015
Segment: IEA Interchange Control Trailer
Position: 2680
Loop:
Level:
Usage: Mandatory
Max Use: 1
Purpose: To define the end of an interchange of zero or more functional groups and
interchange-related control segments
Syntax Notes:
Semantic Notes:
Data Element Summary
Ref. Data
Des. Element Name
Attributes
M
IEA01
I16
Number of Included Functional Groups
M
1
N0 1/5
A count of the number of functional groups included in an interchange
M
IEA02
I12
Interchange Control Number
M
1
N0 9/9
A control number assigned by the interchange sender