X12 418 — Rail Advance Interchange Consist
The 418 transmits the advance consist of a train arriving at an interchange — list of cars, order in train, hazmat — between two rail roads.
Purpose
The 418 documents the consist (car ordering) of a train arriving at a junction: each car number, position in train, content, hazmat info. It allows the receiving road to prepare its yard, sort cars bound for different customers, and manage HM placarding.
It is emitted a few hours before arrival. Acknowledged by 997. Typically followed by a 417 (waybill interchange) once the train is accepted.
Envelope structure
The 418 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group AC, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*UPRR *ZZ*BNSF *260515*1500*U*00401*000000418*0*P*>~
GS*AC*UPRR*BNSF*20260515*1500*1*X*004010~
ST*418*0001~
ZD*UPRR*TRAIN-MMUNICK-25*20260516*0600~
F9*USCHI*UNICCITYCH*IL~
D9*USKCMO*UNICKC*MO~
LX*1~
N7*UPRR*543210*HAZMAT~
ZA*TRAIN-POS-3~
LX*2~
N7*BNSF*789012*BOXCAR~
ZA*TRAIN-POS-12~
SE*12*0001~
GE*1*1~
IEA*1*000000418~ Common segments
- Header —
ST,ZD(Train identification). - Train origin / destination —
F9,D9. - Car loop —
LX:N7(Car identification),ZA(Train Position). - Summary —
SE.
Common pitfalls
- Hazmat position rules: FRA imposes buffer car rules around hazmat; a 418 that places a hazmat directly behind the locomotive violates 49 CFR 174.
- Consist accuracy: an inaccurate consist derails the yard plan; always validate car numbers against the PTC list.
- Power on tail: some modern configurations have power on tail (distributed power); the 418 must declare it in
ZD, otherwise the yard mis-sorts.
Related transactions
Documentation
The code 418 and the name Rail Advance Interchange Consist are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.