
Canadian National Railway (CN Rail) 301 Confirmation (Ocean)
Canadian National Railway (CN Rail) · X12 004010
The Canadian National Railway (CN Rail) 301 is the ocean booking confirmation a carrier sends back to a 300 request.
Canadian National Railway (CN Rail)’s published 301 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
22 of 22 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
B1
Beginning Segment For Booking Or Pick Up Delivery B1
Example: B1*ABCD*RRRR95400500*20180619*R
pos 020
Required
max —
Y3
Space Confirmation Y3
Example: Y3*RRRR95400500*ONEY*20180626****20180626
pos 040
Required
max —
Y4 Loop
Y4
Container Release Y4
Example: Y4*RRRR95400500*RRRR95400500***1*2200*ABCD
pos 050
Required
max —
N9
Reference Identification N9
Example: N9*BN*RRRR95400500
pos 054
Optional
max 100
N1 LoopConsigneevariant 1 of 3
N1
Name N1
pos 060
Required
max —
N3
Address Information N3
Example: N3*123 MAIN ST
pos 080
Optional
max 2
N4
Geographic Location N4
Example: N4*MADISON*NJ
pos 090
Optional
max —
N1 LoopPayervariant 2 of 3
N1
Name N1
pos 060
Required
max —
N3
Address Information N3
Example: N3*123 MAIN ST
pos 080
Optional
max 2
N4
Geographic Location N4
Example: N4*MADISON*NJ
pos 090
Optional
max —
N1 LoopShippervariant 3 of 3
N1
Name N1
pos 060
Required
max —
N3
Address Information N3
Example: N3*123 MAIN ST
pos 080
Optional
max 2
N4
Geographic Location N4
Example: N4*MADISON*NJ
pos 090
Optional
max —
R4 Looprequired
R4
Port Or Terminal R4
Schedule K code required for port of discharge. Canadian or US SPLC code required for port of loading and place of receipt.
Examples:
R4*D*K*57035*SHANGHAI SHANGHAI
R4*L*UN*2704*LOS ANGELES
pos 110
Required
max —
DTM
Date Time Reference DTM
Example: DTM*096*20180814
pos 120
Optional
max 15
W09
Equipment And Temperature W09
Example: W09*CZ*-20*CE*-20*CE****0
pos 130
Optional
max —
DETAIL
LX Looprequired
LX
Assigned Number LX
Example: LX*1
pos 010
Required
max —
L0
Line Item Quantity And Weight L0
Example: L0****10000*A3******K
pos 040
Optional
max —
L5
Description Marks And Numbers L5
Example: L5**MEDICAL GOODS DONATED FOR RELIEF OR CHARITY
pos 050
Optional
max —
V1
Vessel Identification V1
Example: V1*9560352*SEATTLE BRIDGE**034W****L
pos 080
Optional
max 2
SUMMARY
SE
Transaction Set Trailer SE
pos 010
Optional
max —
Validate your 301
Paste or upload a document and check it against Canadian National Railway (CN Rail)’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Canadian National Railway (CN Rail)’s 301 in days, not months
Connect this guide to your accounting system and test with Canadian National Railway (CN Rail) yourself, or leave the mapping and the test cycle to us, at no extra charge.