
Canadian Pacific 404 Rail Carrier Shipment Information (Intermodal)
Canadian Pacific · X12 007010
Canadian Pacific’s published 404 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
51 of 51 segments
HEADING
ST
Transaction Set Header ST
pos 0100
Optional
max —
ZC1
Beginning Segment For Data Correction Or Change ZC1
This segment is required when submitting EDI 404 correctors or cancellations to CP.
pos 0200
Optional
max —
BX
General Shipment Information BX
pos 0300
Required
max —
BNX
Rail Shipment Information BNX
pos 0400
Required
max —
M3
Release M3
CP uses the information provided in this segment for billing purposes only. The date and time indicated in this segment is not used for release of equipment(s).
pos 0500
Required
max —
N9
Extended Reference Information N9
pos 0600
Required
max 30
CM
Cargo Manifest CM
pos 0700
Optional
max 2
DTM
Requested for Delivery (After and Including)variant 1 of 2
pos 0900
Optional
max 5
DTM
Requested for Delivery (Prior to and Including)variant 2 of 2
pos 0900
Optional
max 5
N7 Looprequired
N7
Equipment Details N7
pos 1000
Required
max —
M7
Seal Numbers M7
A 'Cone Seal' is indicated by "HV" in the IM02. A 'Red Ball' customs seal is indicated by the presence of an M12 segment.
For Seal Numbers that exceed the 15 character field length, the last 15 characters of the seal number will be used.
pos 1300
Optional
max 5
M12
In Bond Identifying Information M12
This segment is mandatory for all rail in-bond shipments. If while the shipment is still in transit the carrier handling the shipment receives notification of customs release and the cargo is no longer in-bond that carrier should generate a waybill correction without the M12 segment.
M1206 contains the conventional In-bond number.
pos 1700
Optional
max 2
GA
Canadian Grain Information GA
At least one occurrence of GA04 is required with the code value GR.
pos 1750
Optional
max 15
REF Loop
REF
Reference Information REF
pos 1770
Required
max —
N9
Extended Reference Information N9
pos 1775
Optional
max 10
F9
Origin Station F9
pos 1900
Required
max —
D9
Destination Station D9
pos 2000
Required
max —
N1 Looprequired
N1
Party Identification N1
Shipper, consignee and payer of freight parties are mandatory on revenue moves. Shipper and consignee are mandatory on non-revenue moves. Provide Legal Entity names (Railinc/DUN & BRADSTREET)
pos 2100
Required
max —
N3
Party Location N3
pos 2200
Required
max 2
N4
Geographic Location N4
pos 2300
Required
max —
REF
Reference Information REF
pos 2350
Optional
max 2
PER
Administrative Communications Contact PER
If PER05 or PER06 is present, then PER03 or PER04 is required.
pos 2400
Optional
max 2
BL
Billing Information BL
pos 2520
Optional
max 12
R2
Route Information R2
Each set of shipment information must include at least one R2 segment (route information).
Where more than one R2 segment is applicable, each iteration of the R2 segment must be sent in the order in which they occur in the transportation process.
When including interline city names, the AAR Rule 260 abbreviations should be used. At least one occurrence of the R2 is required with a value of 'S', or 'R' in the R202.
pos 4600
Required
max 13
H3
Special Handling Instructions H3
pos 5200
Optional
max 20
PS
Protective Service Instructions PS
pos 5300
Optional
max 5
LX Looprequired
LX
Transaction Set Line Number LX
pos 5400
Required
max —
L5
Description Marks And Numbers L5
pos 5500
Required
max 15
L0 Looprequired
L0
Line Item Quantity And Weight L0
pos 5700
Required
max —
PI Loop
PI
Price Authority Identification PI
pos 5900
Required
max —
X1
Export License X1
pos 6000
Optional
max 6
LH1 Loop
LH1
Hazardous Identification Information LH1
pos 6800
Required
max —
LH2
Hazardous Classification Information LH2
pos 6900
Optional
max 4
LH3
Hazardous Material Shipping Name Information LH3
pos 7000
Optional
max 10
LFH
Free Form Hazardous Material Information LFH
pos 7100
Optional
max 20
LEP
Epa Required Data LEP
pos 7200
Optional
max 3
LH4
Canadian Dangerous Requirements LH4
pos 7300
Optional
max 4
LHT
Transborder Hazardous Requirements LHT
pos 7400
Optional
max 3
LHR
Hazardous Material Identifying Reference Numbers LHR
pos 7500
Optional
max 5
PER
Administrative Communications Contact PER
If PER05 or PER06 is present, then PER03 or PER04 is required.
pos 7550
Optional
max 5
N1 Loop
N1
Party Identification N1
Legal Entity names (Railinc/DUN & BRADSTREET) must be provided.
pos 7560
Required
max —
N3
Party Location N3
pos 7570
Optional
max 2
N4
Geographic Location N4
pos 7580
Optional
max —
PER
Administrative Communications Contact PER
pos 7590
Optional
max 2
PER
Administrative Communications Contact PER
This PER segment should only be used in loop iterations where N101= 'HZ' or 'HW'.
This contact is for informational purposes only. Hazardous Materials contacts should be conveyed in the applicable PER segments in the LH1 loop.
When used to convey a telephone or facsimile number the alpha representation of the number should not be used (i.e. 1-800-AAR-HELP).
pos 7700
Optional
max 5
LH2
Hazardous Classification Information LH2
pos 7800
Optional
max 6
LHR
Hazardous Material Identifying Reference Numbers LHR
pos 7900
Optional
max —
LH6
Hazardous Certification LH6
pos 8000
Optional
max 5
XH
Pro Forma B13 Information XH
pos 8100
Optional
max —
X7
Customs Information X7
pos 8200
Optional
max 10
SE
Transaction Set Trailer SE
pos 8400
Optional
max —
Validate your 404
Paste or upload a document and check it against Canadian Pacific’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Canadian Pacific’s 404 in days, not months
Connect this guide to your accounting system and test with Canadian Pacific yourself, or leave the mapping and the test cycle to us, at no extra charge.