Canadian Pacific
/
Rail Carrier Shipment Information (Intermodal)
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from Canadian Pacific. Contact Canadian Pacific for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Canadian Pacific logo

X12 404 Rail Carrier Shipment Information (Intermodal)

X12 Release 7010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/canadian-pacific/rail-carrier-shipment-information-intermodal/01H66FQXX7FV9BDDNVE4ZZNPK1
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
ZC1
0200
Beginning Segment for Data Correction or Change
Max use 1
Optional
BX
0300
General Shipment Information
Max use 1
Required
BNX
0400
Rail Shipment Information
Max use 1
Required
M3
0500
Release
Max use 1
Required
N9
0600
Extended Reference Information
Max use 30
Required
CM
0700
Cargo Manifest
Max use 2
Optional
DTM
0900
Requested for Delivery (After and Including)
Max use 5
Optional
DTM
0900
Requested for Delivery (Prior to and Including)
Max use 5
Optional
N7 Loop
N7
1000
Equipment Details
Max use 1
Required
M7
1300
Seal Numbers
Max use 5
Optional
M12
1700
In-bond Identifying Information
Max use 2
Optional
GA
1750
Canadian Grain Information
Max use 15
Optional
REF Loop
F9
1900
Origin Station
Max use 1
Required
D9
2000
Destination Station
Max use 1
Required
R2
4600
Route Information
Max use 13
Required
H3
5200
Special Handling Instructions
Max use 20
Optional
PS
5300
Protective Service Instructions
Max use 5
Optional
LS
6700
Loop Header
Max use 1
Optional
LE
7600
Loop Trailer
Max use 1
Optional
PER
7700
Administrative Communications Contact
Max use 5
Optional
LH2
7800
Hazardous Classification Information
Max use 6
Optional
LHR
7900
Hazardous Material Identifying Reference Numbers
Max use 1
Optional
LH6
8000
Hazardous Certification
Max use 5
Optional
XH
8100
Pro Forma - B13 Information
Max use 1
Optional
X7
8200
Customs Information
Max use 10
Optional
SE
8400
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 Code
Required
Identifier (ID)
00701
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2013
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested Code
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
2
Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors"
3
Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors" or "Accepted but Errors are Noted"
ISA-15
I14
Interchange Usage Indicator Code
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)
SR
Rail Carrier Shipment Information (404, 419)
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)
007010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2013

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
404
Rail Carrier Shipment Information
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
ZC1
0200
Heading > ZC1

Beginning Segment for Data Correction or Change

OptionalMax use 1
Usage notes
Example
ZC1-01
145
Shipment Identification Number
Required
String (AN)
Min 1Max 30
ZC1-02
206
Equipment Initial
Required
String (AN)
Min 1Max 4
Usage notes
ZC1-03
207
Equipment Number
Required
String (AN)
Min 1Max 15
Usage notes
ZC1-04
244
Transaction Reference Number
Required
String (AN)
Min 1Max 50
Usage notes
ZC1-05
243
Transaction Reference Date
Required
Date (DT)
CCYYMMDD format
Usage notes
ZC1-06
202
Correction Indicator Code
Required
Identifier (ID)
CA
Cancelled Bill
CO
Correction
ZC1-07
140
Standard Carrier Alpha Code
Required
Identifier (ID)
CPRS
Canadian Pacific Railway
ZC1-08
91
Transportation Method/Type Code
Required
Identifier (ID)
R
Rail
X
Intermodal (Piggyback)
ZC1-09
761
Equipment Number Check Digit
Optional
Numeric (N0)
Min 1Max 1
BX
0300
Heading > BX

General Shipment Information

RequiredMax use 1
Example
BX-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
BX-02
91
Transportation Method/Type Code
Required
Identifier (ID)
R
Rail
X
Intermodal (Piggyback)
BX-03
146
Shipment Method of Payment Code
Required
Identifier (ID)
11
Rule 11 Shipment
CC
Collect
NC
Service Freight, No Charge
NR
Non Revenue
PP
Prepaid (by Seller)
BX-04
145
Shipment Identification Number
Optional
String (AN)
Min 1Max 30
BX-05
140
Standard Carrier Alpha Code
Required
Identifier (ID)
CPRS
SCAC code for Canadian Pacific Railway
BX-06
188
Weight Unit Code
Required
Identifier (ID)
E
Metric Ton
K
Kilograms
L
Pounds
BX-07
147
Shipment Qualifier
Required
Identifier (ID)
B
Bill of Lading for Individual Shipment
E
Empty Equipment Billing (Non-Revenue)
M
Master Bill of Lading for Assembly, Distribution and Volume Shipment
S
Submaster Bill of Lading for Volume Shipment
W
Revenue Empty
BX-08
226
Section Seven Code
Optional
Identifier (ID)
N
Not in Effect
S
In Effect
BX-13
714
Goods and Services Tax Reason Code
Optional
Identifier (ID)
1
Inbound Goods and Services Tax Declaration
2
Outbound Goods and Services Tax Declaration
3
Goods and Services Tax Inbound/Outbound Declaration Documentary Evidence Filed at Origin
BNX
0400
Heading > BNX

Rail Shipment Information

RequiredMax use 1
Example
BNX-01
460
Shipment Weight Code
Required
Identifier (ID)
A
Shipper's Weight Agreement
M
Manifest Weight
N
No Wt. Req., Ship. Moving on Contract or per car rate
O
Official Weight
R
Carrier Scale Weight
S
Shipper Certified Scale Weights
T
Tariff Authorized Weight
BNX-03
11
Billing Code
Required
Identifier (ID)
E
Storage
S
Single Shipment Billing
M3
0500
Heading > M3

Release

RequiredMax use 1
Usage notes
Example
At least one of Date (M3-02) or Time (M3-03) is required
If Time Code (M3-04) is present, then Time (M3-03) is required
M3-01
132
Release Code
Required
Identifier (ID)
R
Released with Billing Data
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
M3-04
623
Time Code
Optional
Identifier (ID)
AT
Alaska Time
CT
Central Time
ET
Eastern Time
LT
Local Time
MT
Mountain Time
NT
Newfoundland Time
PT
Pacific Time
TT
Atlantic Time
N9
0600
Heading > N9

Extended Reference Information

RequiredMax use 30
Example
If Time Code (N9-06) is present, then Time (N9-05) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
2K
Food and Drug Administration (FDA) Product Type
09
Customs Bar Code Number
BL
Government Bill of Lading
BM
Bill of Lading Number
BN
Booking Number
CED
Canada Border Services Agency (CBSA) Export Declaration Number
CG
Consignee's Order Number
CN
Carrier's Reference Number (PRO/Invoice)
CO
Customer Order Number
CR
Customer Reference Number
CT
Contract Number
EB
Embargo Permit Number
ED
Export Declaration
EN
Embargo Number
EP
Export Permit Number
GB
Grain Block Number
GR
Grain Order Reference Number
GT
Goods and Service Tax Registration Number
HS
Harmonized Code System (Canada)
IB
In Bond Number
IL
Internal Order Number
ITN
Census Internal Transaction Number (ITN)
MB
Master Bill of Lading
OB
Ocean Bill of Lading
PN
Permit Number
PO
Purchase Order Number
SI
Shipper's Identifying Number for Shipment (SID)
SO
Shipper's Order (Invoice Number)
UT
Unit Train
WO
Work Order Number
ZZ
Mutually Defined
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
CM
0700
Heading > CM

Cargo Manifest

OptionalMax use 2
Example
If Date (CM-04) is present, then Port or Terminal Function Code (CM-02) is required
CM-01
55
Flight/Voyage Number
Optional
String (AN)
Min 2Max 30
CM-02
115
Port or Terminal Function Code
Optional
Identifier (ID)
1
Final Port of Discharge (Operational)
D
Port of Discharge (Operational)
L
Port of Loading (Operational)
CM-03
114
Port Name
Optional
String (AN)
Min 2Max 24
Optional
Date (DT)
CCYYMMDD format
Usage notes
CM-05
13
Booking Number
Optional
String (AN)
Min 1Max 17
CM-06
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
CM-07
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
Optional
Date (DT)
CCYYMMDD format
CM-09
182
Vessel Name
Optional
String (AN)
Min 2Max 28
CM-10
113
Pier Number
Optional
String (AN)
Min 1Max 4
CM-11
112
Pier Name
Optional
String (AN)
Min 2Max 14
CM-12
174
Terminal Name
Optional
String (AN)
Min 2Max 30
CM-13
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
CM-14
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
CM-15
127
Reference Identification
Optional
String (AN)
Min 1Max 80
DTM
0900
Heading > DTM

Requested for Delivery (After and Including)

OptionalMax use 5
Example
Variants (all may be used)
DTMRequested for Delivery (Prior to and Including)
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
Usage notes
071
Requested for Delivery (After and Including)
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
DTM
0900
Heading > DTM

Requested for Delivery (Prior to and Including)

OptionalMax use 5
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
Usage notes
074
Requested for Delivery (Prior to and Including)
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
N7 Loop
RequiredMax >1
N7
1000
Heading > N7 Loop > N7

Equipment Details

RequiredMax use 1
Example
If either Weight (N7-03) or Weight Qualifier (N7-04) is present, then the other is required
If either Tare Weight (N7-05) or Tare Qualifier Code (N7-16) is present, then the other is required
N7-01
206
Equipment Initial
Required
String (AN)
Min 1Max 4
N7-02
207
Equipment Number
Required
String (AN)
Min 1Max 15
N7-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10
N7-04
187
Weight Qualifier
Optional
Identifier (ID)
A3
Shippers Weight
E
Estimated Net Weight
G
Gross Weight
N
Actual Net Weight
N7-05
167
Tare Weight
Optional
Numeric (N0)
Min 3Max 8
N7-06
232
Weight Allowance
Optional
Numeric (N0)
Min 2Max 6
N7-10
102
Ownership Code
Optional
Identifier (ID)
T
Trip Leased
N7-11
40
Equipment Description Code
Optional
Identifier (ID)
Usage notes
CC
Container resting on a Chassis
CH
Chassis
CN
Container
CZ
Refrigerated Container
PL
Container, Platform
PT
Protected Trailer
RT
Controlled Temperature Trailer (Reefer)
TL
Trailer (not otherwise specified)
N7-12
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
CPRS
Canadian Pacific Railway
N7-14
219
Position
Optional
String (AN)
Min 1Max 3
N7-15
567
Equipment Length
Optional
Numeric (N0)
Min 4Max 5
N7-16
571
Tare Qualifier Code
Optional
Identifier (ID)
Min 1Max 1
N7-17
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1
N7-18
761
Equipment Number Check Digit
Optional
Numeric (N0)
Min 1Max 1
N7-20
65
Height
Optional
Decimal number (R)
Min 1Max 8
Optional
Decimal number (R)
Min 1Max 8
N7-22
24
Equipment Type Code
Optional
Identifier (ID)
Min 4Max 4
Usage notes
M7
1300
Heading > N7 Loop > M7

Seal Numbers

OptionalMax use 5
Usage notes
Example
M7-01
225
Seal Number
Required
String (AN)
Min 2Max 15
M7-02
225
Seal Number
Optional
String (AN)
Min 2Max 15
M7-03
225
Seal Number
Optional
String (AN)
Min 2Max 15
M7-04
225
Seal Number
Optional
String (AN)
Min 2Max 15
M12
1700
Heading > N7 Loop > M12

In-bond Identifying Information

OptionalMax use 2
Usage notes
Example
Only one of Customs Entry Number (M12-02) or In-bond Control Number (M12-06) may be present
If In-bond Control Number (M12-06) is present, then Reference Identification Qualifier (M12-08) is required
If either Reference Identification Qualifier (M12-08) or Reference Identification (M12-09) is present, then the other is required
If either Transportation Method/Type Code (M12-10) or Vessel Name (M12-11) is present, then the other is required
M12-01
581
Customs Entry Type Code
Required
Identifier (ID)
61
Immediate Transportation
62
Transportation Exportation
63
Immediate Exportation
69
Transit
70
Multi-Transit
A2
Rail In-bond - No Carrier Remanifest
A6
Ocean In-bond - No Carrier Remanifest
A8
Truck In-bond - Carrier Remanifest
DP
Duty Paid - Cleared Customs
M12-02
601
Customs Entry Number
Optional
String (AN)
Min 1Max 50
Usage notes
M12-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
M12-04
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
M12-05
602
Customs Shipment Value
Optional
String (AN)
Min 2Max 8
Usage notes
M12-06
603
In-bond Control Number
Optional
String (AN)
Min 9Max 9
Usage notes
M12-07
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
M12-08
128
Reference Identification Qualifier
Optional
Identifier (ID)
BI
Bonded Carrier Internal Revenue Service Identification Number
S4
Shippers Bond Number
XC
Cargo Control Number
M12-09
127
Reference Identification
Optional
String (AN)
Min 1Max 80
Usage notes
M12-10
91
Transportation Method/Type Code
Optional
Identifier (ID)
S
Ocean
M12-11
182
Vessel Name
Optional
String (AN)
Min 2Max 28
Usage notes
GA
1750
Heading > N7 Loop > GA

Canadian Grain Information

OptionalMax use 15
Usage notes
Example
If either Reference Identification Qualifier (GA-04) or Reference Identification (GA-05) is present, then the other is required
If either Location Identifier (GA-14) or State or Province Code (GA-15) is present, then the other is required
If either Percent Qualifier (GA-16) or Percentage as Decimal (GA-17) is present, then the other is required
GA-01
1275
Fumigated/Cleaned Indicator Code
Optional
Identifier (ID)
Min 1Max 1
Usage notes
GA-02
22
Commodity Code
Optional
String (AN)
Min 1Max 30
Usage notes
GA-03
1576
Inspected/Weighed Indicator Code
Optional
Identifier (ID)
Min 1Max 2
Usage notes
GA-04
128
Reference Identification Qualifier
Optional
Identifier (ID)
BO
Bin Location Number
CW
Canadian Wheat Board Permit Number
DK
Dock Number
EP
Export Permit Number
GB
Grain Block Number
GR
Grain Order Reference Number
OH
Origin House
PN
Permit Number
RB
Rate code number
RN
Run Number
XO
Sample Number
ZT
Milling in Transit
GA-05
127
Reference Identification
Optional
String (AN)
Min 1Max 80
Optional
Numeric (N0)
Min 6Max 6
GA-07
899
Unload Terminal Elevator Code
Optional
Identifier (ID)
Min 3Max 4
Usage notes
Optional
Date (DT)
CCYYMMDD format
GA-09
1470
Number
Optional
Numeric (N0)
Min 1Max 9
GA-10
1276
Machine Separable Indicator Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
GA-11
1277
Canadian Wheat Board (CWB) Marketing Class Code
Optional
Identifier (ID)
Min 1Max 1
GA-12
1278
Canadian Wheat Board (CWB) Marketing Class Type Code
Optional
Identifier (ID)
Min 1Max 1
GA-13
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1
GA-14
310
Location Identifier
Optional
String (AN)
Min 1Max 30
GA-15
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
GA-16
1004
Percent Qualifier
Optional
Identifier (ID)
SD
Moisture Content
SE
Protein Content
SF
Percent Dockage
SG
Test Weight
GA-17
954
Percentage as Decimal
Optional
Decimal number (R)
Min 1Max 10
REF Loop
OptionalMax >1
REF
1770
Heading > N7 Loop > REF Loop > REF

Reference Information

RequiredMax use 1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
REF-04
C040
Reference Identifier
OptionalMax use 1
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
C040-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
C040-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
N9
1775
Heading > N7 Loop > REF Loop > N9

Extended Reference Information

OptionalMax use 10
Example
If Time Code (N9-06) is present, then Time (N9-05) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
N9-06
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
N9-07
C040
Reference Identifier
OptionalMax use 1
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
C040-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
C040-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
REF Loop end
N7 Loop end
F9
1900
Heading > F9

Origin Station

RequiredMax use 1
Example
F9-01
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5
F9-02
19
City Name
Required
String (AN)
Min 2Max 30
Usage notes
F9-03
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
F9-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
F9-08
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9
Usage notes
D9
2000
Heading > D9

Destination Station

RequiredMax use 1
Example
D9-01
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5
D9-02
19
City Name
Required
String (AN)
Min 2Max 30
D9-03
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
D9-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
D9-08
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9
N1 Loop
RequiredMax >1
N1
2100
Heading > N1 Loop > N1

Party Identification

RequiredMax use 1
Usage notes
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
11
Party to be billed(AAR Accounting Rule 11)
BN
Beneficial Owner
C1
In Care Of Party no. 1
CN
Consignee
FW
Forwarder
IM
Importer
N1
Notify Party no. 1
PF
Party to Receive Freight Bill
PU
Party at Pickup Location
SH
Shipper
UC
Ultimate Consignee
XQ
Canadian Customs Broker
XR
Mexican Customs Broker
XU
United States Customs Broker
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
2200
Heading > N1 Loop > N3

Party Location

RequiredMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
2300
Heading > N1 Loop > N4

Geographic Location

RequiredMax use 1
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
REF
2350
Heading > N1 Loop > REF

Reference Information

OptionalMax use 2
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Min 2Max 3
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 80
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
PER
2400
Heading > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 2
Usage notes
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
Min 2Max 2
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 2048
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 2048
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 2048
BL
2520
Heading > N1 Loop > BL

Billing Information

OptionalMax use 12
Example
At least one of Freight Station Accounting Code (BL-02) or City Name (BL-05) is required
If State or Province Code (BL-06) is present, then City Name (BL-05) is required
At least one of Freight Station Accounting Code (BL-03) or City Name (BL-09) is required
If State or Province Code (BL-10) is present, then City Name (BL-09) is required
BL-01
747
Rebill Reason Code
Required
Identifier (ID)
RC
R11 Collect Beyond
RD
R11 Prepaid Beyond
BL-02
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5
BL-03
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5
BL-04
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9
BL-05
19
City Name
Optional
String (AN)
Min 2Max 30
BL-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
BL-09
19
City Name
Optional
String (AN)
Min 2Max 30
BL-10
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
BL-11
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
BL-12
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
BL-13
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
N1 Loop end
R2
4600
Heading > R2

Route Information

RequiredMax use 13
Usage notes
Example
R2-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
CPRS
Canadian Pacific Railway
R2-02
133
Routing Sequence Code
Required
Identifier (ID)
1
1st Carrier after Origin Carrier
2
2nd Carrier after Origin Carrier
3
3rd Carrier after Origin Carrier
4
4th Carrier after Origin Carrier
5
5th Carrier after Origin Carrier
6
6th Carrier after Origin Carrier
D
DELY (Delivery Switch Carrier)
I
Origin Switch Carrier
R
Origin Carrier, Rule 11 Shipment
S
Origin Carrier, Shipper's Routing (Rail)
R2-03
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
R2-04
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9
R2-05
177
Intermodal Service Code
Required
Identifier (ID)
15
Ramp to Ramp (Plan 100) Trucker Owned Unit
20
Door to Door (Plan 200) Railway Owned Unit
22
Door to Ramp (Plan 225) Railway Owned Unit
25
Ramp to Ramp (Plan 250) Railway Owned Unit
27
Ramp to Door (Plan 275) Railway Owned Unit
40
Domestic Door to Door (Plan 400) Steamship Owned Unit
42
Domestic Door to Ramp (Plan 425) Steamship Owned Unit
45
Domestic Ramp to Ramp (Plan 250) Steamship Owned Unit
47
Domestic Ramp to Door (Plan 475) Steamship Owned Unit
60
Door to Door (Plan 300) Customer Owned Unit
62
Door to Ramp (Plan 325) Customer Owned Unit
65
Ramp to Ramp (Plan 350) Customer Owned Unit
67
Ramp to Door (Plan 375) Customer Owned Unit
82
Imp/Exp. Door to Ramp (Plan 000) Steamship Owned Unit
85
Imp/Exp. Ramp to Ramp (Plan 000) Steamship Owned Unit
87
Imp/Exp. Ramp to Door (Plan 000) Steamship Owned Unit
R2-06
91
Transportation Method/Type Code
Optional
Identifier (ID)
X
Intermodal (Piggyback)
H3
5200
Heading > H3

Special Handling Instructions

OptionalMax use 20
Example
H3-01
152
Special Handling Code
Optional
Identifier (ID)
Usage notes
BLK
Blocking and Bracing
HR
Home for Repair
HW
High Wide Load
IB
In-bond
IP
Import Shipment
NH
Do Not Hump
OV
Overweight
SH
Shiftable Load
SR
Speed Restricted
SRG
Storage
XP
Export
PS
5300
Heading > PS

Protective Service Instructions

OptionalMax use 5
Example
If Temperature (PS-04) is present, then Unit or Basis for Measurement Code (PS-03) is required
PS-01
746
Protective Service Rule Code
Required
Identifier (ID)
510
Heating Code: Shipper's Protective Service
515
Heating Code: Carrier's Protective Service
705
Optimum Temperature of Zero Degrees or Less
710
Optimum Temperature Above Zero
711
Place Under Mod.MPS @1st Reg.INSP.STN after Car thermometer reading rises above Optimum Temperature
715
Optimum Temperature of Zero Degrees or Less (Car Owned/Leased by Shipper)
720
Do Not Operate Unit
765
Optimum Temperature Above Zero With Body Ice
805
VAN/Container Example: Optimum Temperature
810
VAN/Container Example: Ventilators opened at Origin
830
VAN/Container Example: Optimum Temperature of Zero Degrees or Less
PS-02
241
Protective Service Code
Required
Identifier (ID)
D
Discontinue Service
HDN
Do Not Heat
HDNC
Do Not Heat in Canada
HSC
Standard Heating In Canada
M
Standard Mechanical Protective Service
MN
Modified Mechanical Protective Service
MNU
Do Not Operate
PS-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
PS-04
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
Usage notes
LX Loop
RequiredMax >1
LX
5400
Heading > LX Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
L5
5500
Heading > LX Loop > L5

Description, Marks and Numbers

RequiredMax use 15
Example
If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
If either Commodity Code Qualifier (L5-08) or Commodity Code (L5-09) is present, then the other is required
L5-01
213
Lading Line Item Number
Required
Numeric (N0)
Min 1Max 6
L5-02
79
Lading Description
Optional
String (AN)
Min 1Max 50
Usage notes
L5-03
22
Commodity Code
Required
String (AN)
Min 1Max 30
Usage notes
L5-04
23
Commodity Code Qualifier
Optional
Identifier (ID)
3
Empty Non-hazardous Last Contained (HMRC) Code
L
Last Contained Contents STCC
T
Standard Transportation Commodity Code (STCC)
L5-08
23
Commodity Code Qualifier
Optional
Identifier (ID)
T
Standard Transportation Commodity Code (STCC)
L5-09
22
Commodity Code
Optional
String (AN)
Min 1Max 30
Usage notes
L5-10
595
Compartment ID Code
Optional
Identifier (ID)
Min 1Max 1
L0 Loop
RequiredMax >1
L0
5700
Heading > LX Loop > L0 Loop > L0

Line Item - Quantity and Weight

RequiredMax use 1
Example
If either Billed/Rated-as Quantity (L0-02) or Billed/Rated-as Qualifier (L0-03) is present, then the other is required
If either Weight (L0-04) or Weight Qualifier (L0-05) is present, then the other is required
If either Lading Quantity (L0-08) or Packaging Form Code (L0-09) is present, then the other is required
L0-01
213
Lading Line Item Number
Required
Numeric (N0)
Min 1Max 6
Usage notes
L0-02
220
Billed/Rated-as Quantity
Optional
Decimal number (R)
Min 1Max 11
Usage notes
L0-03
221
Billed/Rated-as Qualifier
Optional
Identifier (ID)
Usage notes
DM
Miles
GL
Gallon
ND
Cord
NP
Piece
NU
Unit
NV
Vehicle
L0-04
81
Weight
Optional
Decimal number (R)
Min 1Max 10
L0-05
187
Weight Qualifier
Optional
Identifier (ID)
Usage notes
A3
Shippers Weight
B
Billed Weight
C
Actual Net Repeated for Combination
E
Estimated Net Weight
G
Gross Weight
J
Light Weight
K
Clean Out
M
Minimum Weight (for rate)
N
Actual Net Weight
O
Excess Weight Over Maximum
X
Maximum Weight (for Rate)
L0-08
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
Usage notes
L0-09
211
Packaging Form Code
Optional
Identifier (ID)
Usage notes
BAG
Bag
BAL
Bale
BDL
Bundle
BLK
Bulk
CNT
Container
CTN
Carton
DRM
Drum
LIF
Lifts
PCS
Pieces
PKG
Package
PLT
Pallet
SKD
Skid
TNK
Tank
UNT
Unit
VEH
Vehicles
PI Loop
OptionalMax >1
PI
5900
Heading > LX Loop > L0 Loop > PI Loop > PI

Price Authority Identification

RequiredMax use 1
Example
PI-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CT
Contract Number
PR
Price Quote Number
TS
Tariff Number
PI-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
Usage notes
PI-03
436
Primary Publication Authority Code
Optional
Identifier (ID)
OP
Other Publication
TP
Tariff Publication
PI-04
930
Regulatory Agency Code
Optional
Identifier (ID)
Min 3Max 5
PI-05
168
Tariff Agency Code
Optional
Identifier (ID)
Min 1Max 4
PI-06
965
Issuing Carrier Identifier
Optional
String (AN)
Min 1Max 10
PI-07
660
Contract Suffix
Optional
String (AN)
Min 1Max 2
Usage notes
PI-08
169
Tariff Item Number
Optional
String (AN)
Min 1Max 16
Usage notes
PI-09
173
Tariff Supplement Identifier
Optional
String (AN)
Min 1Max 4
PI-10
172
Tariff Section Number
Optional
String (AN)
Min 1Max 2
PI-11
660
Contract Suffix
Optional
String (AN)
Min 1Max 2
Usage notes
PI Loop end
L0 Loop end
X1
6000
Heading > LX Loop > X1

Export License

OptionalMax use 6
Example
X1-01
83
Code For Licensing, Certification, Registration, or Accreditation Agency
Optional
Identifier (ID)
Min 1Max 2
X1-02
50
Export License Number
Optional
String (AN)
Min 6Max 35
X1-03
51
Export License Status Code
Optional
Identifier (ID)
Min 1Max 1
Optional
Date (DT)
CCYYMMDD format
X1-05
52
Export License Symbol Code
Optional
Identifier (ID)
Min 1Max 2
X1-06
48
Export License Control Code
Optional
Identifier (ID)
Min 1Max 1
X1-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
X1-08
141
Schedule B Code
Optional
Identifier (ID)
Min 7Max 10
X1-09
210
International/Domestic Code
Optional
Identifier (ID)
Min 1Max 1
X1-10
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
X1-11
148
Lading Value
Optional
Decimal number (R)
Min 2Max 9
X1-12
47
Export Filing Key Code
Optional
Identifier (ID)
Min 1Max 1
X1-13
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
X1-14
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
X1-15
1306
U.S. Government License Type
Optional
String (AN)
Min 1Max 1
X1-16
67
Identification Code
Optional
String (AN)
Min 2Max 80
X1-17
310
Location Identifier
Optional
String (AN)
Min 1Max 30
LX Loop end
LS
6700
Heading > LS

Loop Header

OptionalMax use 1
Example
LS-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
LH1 Loop
OptionalMax >1
LH1
6800
Heading > LH1 Loop > LH1

Hazardous Identification Information

RequiredMax use 1
Example
If either Unit or Basis for Measurement Code (LH1-06) or Quantity (LH1-07) is present, then the other is required
LH1-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Usage notes
1P
Tank Car
16
115 Kilogram Drum
17
100 Pound Drum
18
55 Gallon Drum
TK
Tank
LH1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
Usage notes
LH1-03
277
UN/NA Identification Code
Optional
Identifier (ID)
Min 6Max 6
Usage notes
LH1-04
200
Hazardous Materials Page
Optional
String (AN)
Min 1Max 6
LH1-05
22
Commodity Code
Optional
String (AN)
Min 7Max 7
Usage notes
LH1-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
LH1-07
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
LH1-08
595
Compartment ID Code
Optional
Identifier (ID)
1
Brake End
2
2nd from Brake End
3
3rd from Brake End
4
4th from Brake End
5
5th from Brake End
6
6th from Brake End
LH1-09
665
Residue Indicator Code
Optional
Identifier (ID)
G
Residue Last Contained Description (Small Means of Containment)
P
Residue Last Contained Description (Packages)
R
Residue Last Contained Description (Rail Car)
LH1-10
254
Packing Group Code
Optional
Identifier (ID)
Min 1Max 3
LH1-12
1271
Industry Code
Optional
String (AN)
Min 1Max 30
LH2
6900
Heading > LH1 Loop > LH2

Hazardous Classification Information

OptionalMax use 4
Example
If either Unit or Basis for Measurement Code (LH2-06) or Temperature (LH2-07) is present, then the other is required
If either Unit or Basis for Measurement Code (LH2-08) or Temperature (LH2-09) is present, then the other is required
If either Unit or Basis for Measurement Code (LH2-10) or Temperature (LH2-11) is present, then the other is required
If either Weight Unit Code (LH2-12) or Net Explosive Quantity (LH2-13) is present, then the other is required
LH2-01
215
Hazardous Classification Code
Optional
Identifier (ID)
Min 1Max 30
Usage notes
LH2-02
983
Hazardous Class Qualifier
Optional
Identifier (ID)
P
Primary
S
Secondary
LH2-03
218
Hazardous Placard Notation Code
Optional
Identifier (ID)
Min 14Max 40
Usage notes
LH2-05
759
Reportable Quantity Code
Optional
Identifier (ID)
RQ
Reportable Quantity
LH2-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CE
Centigrade, Celsius
FA
Fahrenheit
LH2-07
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
Usage notes
LH2-08
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CE
Centigrade, Celsius
FA
Fahrenheit
LH2-09
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
Usage notes
LH2-10
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CE
Centigrade, Celsius
FA
Fahrenheit
LH2-11
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
Usage notes
LH2-12
188
Weight Unit Code
Optional
Identifier (ID)
E
Metric Ton
K
Kilograms
L
Pounds
LH2-13
267
Net Explosive Quantity
Optional
Numeric (N0)
Min 1Max 10
Usage notes
LH3
7000
Heading > LH1 Loop > LH3

Hazardous Material Shipping Name Information

OptionalMax use 10
Example
If either Hazardous Material Shipping Name (LH3-01) or Hazardous Material Shipping Name Qualifier (LH3-02) is present, then the other is required
LH3-01
224
Hazardous Material Shipping Name
Optional
String (AN)
Min 1Max 25
Usage notes
LH3-02
984
Hazardous Material Shipping Name Qualifier
Optional
Identifier (ID)
C
Canadian Shipping Name
D
Domestic (United States) Shipping Name
I
International Shipping Name
LFH
7100
Heading > LH1 Loop > LFH

Free-form Hazardous Material Information

OptionalMax use 20
Example
If either Unit or Basis for Measurement Code (LFH-05) or Quantity (LFH-06) is present, then the other is required
LFH-01
808
Hazardous Material Shipment Information Qualifier
Required
Identifier (ID)
ADI
Additional Descriptive Information Not Required by Regulation but Desired to Accompany the Movement by the Shipper
CER
Hazardous Materials Certification
D13
"DOT - 113, Do Not Hump or Cut Off Car While in Motion" Declaration
D20
"AAR - 204, Do Not Hump or Cut Off Car While in Motion" Declaration
DRC
Damaged Car Number
EQP
Conveyed Equipment Identification
FUM
Fumigation Declaration
HOT
Identifies Products in a Heated Molten State
HZC
Hazardous Substance Constituents
INH
Inhalation Hazard
LQY
"Limited Quantity" Declaration
MOS
Maximum Operating Speed
MPI
Marine Pollutant
NOD
Not Odorized Declaration
PIH
"Poison - Inhalation Hazard" Declaration
POI
"Poison" Declaration
RAM
Radioactive Material Data
TEC
Technical or Chemical Group Name
TNM
Trade Name
WST
Waste Declaration
LFH-02
809
Hazardous Material Shipment Information
Required
String (AN)
Min 1Max 25
LFH-03
809
Hazardous Material Shipment Information
Optional
String (AN)
Min 1Max 25
Usage notes
LFH-04
1023
Hazard Zone Code
Optional
Identifier (ID)
Usage notes
A
Hazard Zone A
B
Hazard Zone B
C
Hazard Zone C
D
Hazard Zone D
LFH-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
1T
Terabecquerel
4N
Megabecquerel
G4
Gigabecquerel
R2
Becquerel
LFH-06
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
LFH-07
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
Optional
Date (DT)
CCYYMMDD format
Usage notes
LEP
7200
Heading > LH1 Loop > LEP

EPA Required Data

OptionalMax use 3
Example
LEP-01
806
EPA Waste Stream Number Code
Optional
Identifier (ID)
Min 4Max 6
Usage notes
LH4
7300
Heading > LH1 Loop > LH4

Canadian Dangerous Requirements

OptionalMax use 4
Example
If either Emergency Response Plan Number (LH4-01) or Communication Number (LH4-02) is present, then the other is required
LH4-01
238
Emergency Response Plan Number
Optional
String (AN)
Min 1Max 12
Usage notes
LH4-02
364
Communication Number
Optional
String (AN)
Min 1Max 2048
Usage notes
LHT
7400
Heading > LH1 Loop > LHT

Transborder Hazardous Requirements

OptionalMax use 3
Example
LHT-01
215
Hazardous Classification Code
Optional
Identifier (ID)
Min 1Max 30
LHR
7500
Heading > LH1 Loop > LHR

Hazardous Material Identifying Reference Numbers

OptionalMax use 5
Example
LHR-01
128
Reference Identification Qualifier
Required
Identifier (ID)
AH
Agreement Number
F3
Submission Number
HA
Competent Authority
HD
Department of Transportation Hazardous Number
HE
Hazardous Exemption Number
MA
Ship Notice/Manifest Number
MDN
Hazardous Waste Manifest Document Number
PN
Permit Number
S0
Special Approval
LHR-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
Optional
Date (DT)
CCYYMMDD format
Usage notes
PER
7550
Heading > LH1 Loop > PER

Administrative Communications Contact

OptionalMax use 5
Usage notes
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
CN
General Contact
HM
Hazardous Material Contact
MX
Mexican Hazardous Information Contact
Optional
String (AN)
Min 1Max 60
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 2048
Usage notes
N1 Loop
OptionalMax >1
N1
7560
Heading > LH1 Loop > N1 Loop > N1

Party Identification

RequiredMax use 1
Usage notes
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
CN
Consignee
CT
Country of Origin
HW
Designated Hazardous Waste Facility
HX
Transporter of Hazardous Waste
HZ
Hazardous Waste Generator
SH
Shipper
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
38
Country Code
AB
US Environmental Protection Agency (EPA) Identification Number
C5
Customer Identification File
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N3
7570
Heading > LH1 Loop > N1 Loop > N3

Party Location

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

Geographic Location

OptionalMax use 1
Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
PER
7590
Heading > LH1 Loop > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 2
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
RP
Responsible Person
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 2048
Usage notes
N1 Loop end
LH1 Loop end
LE
7600
Heading > LE

Loop Trailer

OptionalMax use 1
Example
LE-01
447
Loop Identifier Code
Required
String (AN)
Min 1Max 6
PER
7700
Heading > PER

Administrative Communications Contact

OptionalMax use 5
Usage notes
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
CN
General Contact
HM
Hazardous Material Contact
MX
Mexican Hazardous Information Contact
Optional
String (AN)
Min 1Max 60
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 2048
Usage notes
LH2
7800
Heading > LH2

Hazardous Classification Information

OptionalMax use 6
Example
LH2-03
218
Hazardous Placard Notation Code
Optional
Identifier (ID)
Min 14Max 40
Usage notes
LHR
7900
Heading > LHR

Hazardous Material Identifying Reference Numbers

OptionalMax use 1
Example
LHR-01
128
Reference Identification Qualifier
Required
Identifier (ID)
AH
Agreement Number
HE
Hazardous Exemption Number
PN
Permit Number
LHR-02
127
Reference Identification
Required
String (AN)
Min 1Max 80
Optional
Date (DT)
CCYYMMDD format
Usage notes
LH6
8000
Heading > LH6

Hazardous Certification

OptionalMax use 5
Example
Optional
String (AN)
Min 1Max 60
Usage notes
XH
8100
Heading > XH

Pro Forma - B13 Information

OptionalMax use 1
Example
XH-01
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
MXP
Mexican Peso
USD
US Dollar
XH-02
645
Related Company Indication Code
Optional
Identifier (ID)
Min 1Max 1
XH-03
150
Special Charge or Allowance Code
Optional
Identifier (ID)
595
Proforma Invoice
FCB
Freight Charges to Border
FCD
Freight Charges to Destination
XH-04
610
Amount
Optional
Numeric (N2)
Min 1Max 15
Usage notes
XH-05
503
Block 20 Code
Optional
Identifier (ID)
Min 1Max 1
XH-06
504
Chemical Analysis Percentage
Optional
Numeric (N2)
Min 2Max 9
XH-07
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
X7
8200
Heading > X7

Customs Information

OptionalMax use 10
Example
X7-01
61
Free-form Information
Required
String (AN)
Min 1Max 30
X7-02
61
Free-form Information
Optional
String (AN)
Min 1Max 30
SE
8400
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
EDI Samples

Sample

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0347*^*00701*000000001*0*T*>
GS*SR*SENDERGS*RECEIVERGS*20231102*034753*000000001*X*007010
ST*404*987000001
BX*00*X*PP**CPRS*L*B
BNX*N**S
M3*R*20181106*1730
N9*BM*000076543*CPRS*20181106*1630
N7*CPPU*230011*35000*N*******CN****5300
F9**BRAMPTON*ON
D9**VANCOUVER IMS*BC
N1*CN*CONSIGNEE
N3*1234 AIRWAY DR
N4*MISSISSAUGA*ON*L4V1Y6*CA
N1*PF*PAYER OF FREIGHT
N3*7550 OGDEN DALE RD SE
N4*CALGARY*AB*T2C4X9*CA
N1*N1*NOTIFY PARTY
N3*123456 PORTSIDE RD
N4*RICHMOND*BC*V6W 1M1*CA
PER*NT**TE*8883338111
N1*UC*ULTIMATE CONSIGNEE
N3*123456 PORTSIDE RD
N4*RICHMOND*BC*V6W1M1*CA
PER*NT**TE*8883338111
N1*SH*SHIPPER NAME
N3*11 WEST DRIVE
N4*BRAMPTON*ON*L6T 4A1*CA
R2*CPRS*S***20
LX*1
L5*1*FAK*4611110*T
L0*1***35000*N***654*PCS
SE*30*987000001
GE*1*000000001
IEA*1*000000001

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.