
BNSF 322 Terminal Operations and Intermodal Ramp Activity
BNSF · X12 004010
The BNSF 322 is the terminal operations message reporting container gate and yard activity.
BNSF’s published 322 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
16 of 16 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
Q5
Status Details Q5
Example: Q5*AR*20040101*1200*CT**FTMADISON*IA
pos 016
Required
max —
N7 Looprequired
N7
Equipment Details N7
Example: N7*BNSF*123456*43459*G*******CN*BNSF***4000***7****U203*BNSF
pos 020
Required
max —
DTM
Estimated Deliveryvariant 1 of 2
Example: DTM*017*20040101*1200*LT
pos 040
Optional
max 2
DTM
Promised for Deliveryvariant 2 of 2
pos 040
Optional
max 2
M7
Seal Numbers M7
Example: M7*SN1234567*SN1234568
pos 050
Optional
max 5
W2
Equipment Identification W2
Example: W2*BNSF*123456**CN*L
pos 070
Optional
max —
NA
Cross Reference Equipment NA
Example: NA***BNSF*123456*F
pos 080
Optional
max 30
V1
Vessel Identification V1
Example: V1**VESSELNAME**12345
pos 110
Optional
max —
R4 Looprequired
R4
Port Or Terminal R4
Example: R4*5*SL*537940*FTMADISON****IA
pos 120
Required
max —
H3
Special Handling Instructions H3
Example: H3*IP
pos 140
Optional
max 6
N1 LoopConsigneevariant 1 of 3
N1
Name N1
Example: N1*CN*ABCCOMPANY
pos 150
Required
max —
N1 LoopMotor Carriervariant 2 of 3
N1
Name N1
pos 150
Required
max —
N1 LoopShippervariant 3 of 3
N1
Name N1
pos 150
Required
max —
N9
Reference Identification N9
Example: N9*WY*12345678
pos 170
Optional
max 10
SE
Transaction Set Trailer SE
pos 220
Optional
max —
Validate your 322
Paste or upload a document and check it against BNSF’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on BNSF’s 322 in days, not months
Connect this guide to your accounting system and test with BNSF yourself, or leave the mapping and the test cycle to us, at no extra charge.