START A CONVERSATION

Let’s talk about your next build.

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

THE FIRST CONVERSATION

Your product idea, AI opportunity or automation challenge—and a useful first milestone.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Logistics & supply chain / EDI & Message Standards

EDI 418 Rail Advance Consist for Interchange and Yard Planning

By Vikasraj YadavPublished 9 min read

For edi and integration analysts, it leads at shippers, 3pls and carriers · Understand the problem

EDI 418 Rail Advance Consist for Interchange and Yard Planning — Two supply chain IT and finance staff sitting at a wooden table with two side-by-side out-of-focus monitors, two closed laptops, a blank ruled clipboard, and a plain cream folder, overlooking a warehouse floor with pallet racking and an orange forklift.

EDI 418 Rail Advance Consist for Interchange and Yard Planning: Illustrative TMS–ERP order and invoice handoff review beside a warehouse floor; not a client facility.

At a glance · Quick answer

Quick answer: edi 418 rail advance interchange consist

The X12 418 Rail Advance Interchange Consist gives a connecting railroad advance details of cars it will receive: a BAX header with location, consist type and train identity, W1 blocks, W2 car records with reporting mark, number, commodity code and load status, and hazardous material loops. AAR Circular OT-56 requires sending it with or before physical interchange.

TL;DR — what you’ll learn

  • BAX02 carries the consist type; AAR Circular OT-56 maps ten business arrangements to codes, including T for a normal train, J for trackage rights or haulage and Y for actual interchange.
  • Under OT-56, a 418-J with hazardous material must reach the host before the train arrives, and any change to hazmat shipment, placement or identification must be retransmitted.
  • A receiving system can test every placarded car against 49 CFR 174.85, such as the sixth-car rule and the ban on different placard groups standing next to each other.
  • In the illustrative yard example, planning from a stale consist cost $1,050 in re-switching and delay, against $126 when the corrected 418 arrived first.

Topics: edi 418 rail advance interchange consist · consist order · placarded car placement · BAX02 type of consist code · 49 CFR 174.85 position in train

All quantities, amounts, product codes and events are illustrative teaching examples.

A train arrives at an interchange yard before dawn. The receiving railroad's yard plan was built at midnight from the advance consist, with each block assigned a track and the two placarded tank cars set to move on the morning's outbound train. At inbound inspection the car inspector finds a different train: a bad-order car set out en route, two extra tank cars picked up at an intermediate yard, and a poison gas tank car coupled directly behind a flammable liquid tank car.

The delivering railroad had changed the consist without resending it. Every decision downstream, from track assignment to crew calls to the hazardous material position check, was made on stale data. The X12 418 Rail Advance Interchange Consist exists to prevent exactly this, and the industry circular that governs it sets a timing rule and a retransmission rule that a receiving system can enforce automatically.

  • What this guide covers: what a 418 carries, the BAX consist type codes, the W1 and W2 car records, the hazardous material loops, and the timing and resend duties in AAR Circular OT-56.
  • What it adds: a placement check against 49 CFR 174.85, yard planning uses, a timestamped incident, worked costs in USD and INR, India's rake formation practice and a partner onboarding checklist.

What the 418 tells a connecting railroad before cars arrive

The 418 is a railroad-to-railroad notice of equipment about to change hands. X12 describes it as transmitting advance information on equipment being interchanged to a connecting rail carrier, and also allows it to come from a consignor or go to a consignee.

Most shippers never see one. The senders and receivers are Class I railroads, regional and short line railroads, terminal and switching carriers, and tenant railroads running over a host's track. A large plant with its own rail operation, or a terminal operator switching cars for a railroad, may receive 418s under an agreement. The 418 sits beside related rail sets in the X12 catalogue: 404 Rail Carrier Shipment Information, 417 Rail Carrier Waybill Interchange and 410 Rail Carrier Freight Details and Invoice.

The governing industry rule is short. AAR Circular OT-56, published through Railinc, directs tenant railroads to use the appropriate consist code and the 418, unless host and tenant agree otherwise, and states that under Car Service Rule 7 railroads shall transmit the appropriate 418 with or in advance of the physical movement of equipment from one carrier to another. The copy hosted by Railinc carries an effective date of 6 April 2026.

BAX consist type codes and the business arrangement each signals

The second element of the BAX header, BAX02, tells the receiver why the consist is being sent. OT-56 maps each business arrangement between railroads to a code, and the code drives what the receiver does with the message.

Scroll horizontally to see all columns.

BAX02 consist type codes as mapped by AAR Circular OT-56, and how a receiving yard uses each
OT-56 business arrangementBAX02 codeWhat the receiving railroad does with it
Trackage rights or haulageJ (joint track)Host checks the tenant train's hazardous cars before it enters host track
Temporary detourDHost plans a foreign train over its line for the detour period
Advanced automatic equipment identification consistAMatches the list with tag reads from a wayside reader
Bad orderBRoutes the car to inspection or repair track
Information only advanced consistLUpdates visibility without triggering interchange accounting
PassingPRecords cars passing through without being set out
Release from bad orderRReturns a repaired car to service in the yard plan
SwitchSPlans switching moves for cars exchanged in a yard
Train (normal)TBuilds the receiving yard plan for an arriving train
Actual interchangeYConfirms that the cars physically changed hands

The X12 code list for element 579 in release 008040 also contains C (crew only), I (inspection) and O (liability transfer to a delinquent road under Car Hire Rule 15). A receiving system should reject a code it has not agreed with the sender, rather than guess its meaning.

The EDI 418 Rail Advance Interchange Consist identifies its purpose in BAX02, and AAR Circular OT-56 maps ten railroad arrangements to codes such as T for a normal train and J for trackage rights; under Car Service Rule 7 the message must be sent with or before the physical interchange.

Reading the segments: BAX header, W1 blocks and W2 car records

A 418 is a header followed by blocks of cars, each car carrying its own identity, commodity, status and optional hazardous material detail. In release 008040, up to 30 W1 blocks can each hold up to 800 W2 car loops.

  • BAX header: BAX01 Standard Point Location Code, BAX02 type of consist, BAX03 to BAX05 a date and time with its qualifier, BAX06 interchange train identification, then optional elements for a second location, a reference number (the reader identification for tag-based consists), direction, the date and time the last car passed the reader, time zone, purpose and service level.
  • NM1 loop: optional named parties with addresses and references, repeated up to 999 times.
  • W1 block identification: one element, the block identifier, which groups cars destined for the same classification or the same onward train.
  • W2 equipment identification: equipment initial and number (the reporting mark and car number), commodity code using STCC, equipment description code, equipment status code and net tons, with optional elements for chassis, check digit, car type, repair need, tag status and orientation.
  • Per-car detail: W3 consignee, IMA interchange move authority, W4 consignor, W5 carrier and route, W6 special handling, PS protective service and REF references.
  • SE trailer: segment count and control number, closing the transaction set.

Equipment status, W2-05, is the field most yard plans depend on. Its code list includes L for load, E for empty, W for revenue empty, LI and LO for loaded inbound and outbound, and D and O for deadhead and operating locomotives. Loads and empties go to different tracks, and an operating locomotive in the consist tells the receiver where an engine stands for the placement check later in this guide.

One field is missing that many integrators assume exists. The W2-14 Position element describes where a shipment sits inside a car, trailer or container, not where the car stands in the train. If your yard logic needs standing order from the head end, confirm in the sender's implementation guide that W2 loops are sent in train order, and test it with a known consist before relying on it.

EDI 418 advance consist: from the delivering railroad to a checked yard plan Step 1, Transmit: 418 sent before interchange. BAX02 code matches the arrangement; Train ID and interchange point set; 997 acknowledgment returned. Step 2, Parse: Blocks, cars and hazmat loops. W1 blocks and W2 car records; Load or empty status per car; LH segments read into hazard data. Step 3, Check: Placement and switching limits. Placard group derived per car; 174.85 position and adjacency; 174.83 cut-off limits flagged. Step 4, Plan: Receiving yard and outbound train. Track and crew assigned by block; Bad-order cars routed to repair; Plan rebuilt on any resend. EDI 418 advance consist: from the delivering railroad to a checked yard plan The receiving road validates the consist and hazmat placement before it commits tracks and crews 1 · TRANSMIT 418 sent before interchange • BAX02 code matches the arrangement • Train ID and interchange point set • 997 acknowledgment returned 2 · PARSE Blocks, cars and hazmat loops • W1 blocks and W2 car records • Load or empty status per car • LH segments read into hazard data 3 · CHECK Placement and switching limits • Placard group derived per car • 174.85 position and adjacency • 174.83 cut-off limits flagged 4 · PLAN Receiving yard and outbound train • Track and crew assigned by block • Bad-order cars routed to repair • Plan rebuilt on any resend

Hazardous material loops and why retransmission is mandatory

Each W2 car can carry a loop of hazardous material segments, and OT-56 treats that loop as the reason the 418 exists. The circular sets two duties beyond the general timing rule: send hazmat detail before the train arrives on foreign track, and resend whenever it changes.

In release 008040 the loop opens with LS and closes with LE. Inside it, LH1 carries hazardous identification and can repeat up to 1,000 times per car, followed by LH2 classification, LH3 shipping name, LFH free-form information, LEP EPA-required data, LH4 Canadian dangerous goods requirements, LHT transborder requirements, LHR identifying reference numbers, PER contacts and an N1 party loop.

  • Joint track hazmat: for a 418-J, OT-56 requires all available hazardous material details, transmitted to the host before the train arrives on the foreign track.
  • Real-time changes: changes to the consist must reach the host before train movement.
  • Resend triggers: retransmission is required whenever the hazardous material shipment, its placement or its regulatory identification changes.
  • Crew paperwork: 49 CFR 174.26 separately requires the train crew to hold a paper consist showing the position in the train and contents of each hazardous material car, updated at intermediate stops.
  • Electronic consist: 49 CFR 174.28, added by the June 2024 final rule at 89 FR 52993, requires railroads to keep that consist electronically, off the train, and make it available to emergency responders.

Checking placarded car placement against 49 CFR 174.85

A receiving railroad can run the federal train-position rules on every 418 before the train arrives. The rules depend on each car's placard group, whether it is a tank car, its distance from an engine or occupied caboose, and what stands next to it, and the 418 supplies enough of that to flag most problems.

Section 174.85 sorts placarded cars into four groups. Group 1 is Divisions 1.1 and 1.2 explosives. Group 2 covers Divisions 1.3 to 1.5, most Class 2 gases, Classes 3, 4, 5 and 8, and Class 6 liquids other than Division 6.1 Packing Group I Zone A. Group 3 is Division 2.3 Zone A gases and Division 6.1 PG I Zone A liquids. Group 4 is Class 7 radioactive material.

Scroll horizontally to see all columns.

The 49 CFR 174.85 restrictions a consist check can test, and the cars each one applies to
Restriction in 174.85(d)Applies to418 data needed to test it
1. Not nearer than the sixth car from the engine or occupied caboose, when train length permitsGroup 1 cars, Group 2 tank cars, Group 3 tank carsCar sequence, locomotive status codes, hazard class and zone
2. If length does not permit, near the middle but not nearer than the second carSame cars as restriction 1Car count and sequence
3. Not next to an open-top car whose lading protrudes, or could shift to protrude, beyond the car endsSame cars as restriction 1Car type of each neighbour; lading detail usually needs the waybill
4. Not next to a loaded flat car, except closed TOFC/COFC, auto carriers and cars with vehicle tie-downsSame cars as restriction 1Neighbour equipment description and load status
5. Not next to a vehicle or container with an engine or open flame runningSame cars as restriction 1Special handling or protective service segments
6. Placarded cars of different placard groups not next to each otherAll four groupsPlacard group of both neighbours
174.85(b) and (c): radioactive car one non-placarded car from engine or caboose; residue tank car one car other than a placarded tank carGroup 4 cars and tank cars with residueStatus codes and hazmat loop

The 418 does not carry a placard group. The receiving system must derive it from the class, division, packing group and hazard zone in the LH segments, using a fixed lookup reviewed by the railroad's hazardous materials officer. The check below assumes the W2 loops arrive in train order and treats every operating locomotive as an engine, the cautious reading.

# 174.85 placement check over a parsed 418 (cars in train order, index 1..N)
# grp[i]   : placard group 1-4, or 0 if not placarded
# tank[i]  : True if tank car;  loco[i] : True if W2-05 = "O"
# risky[i] : grp[i] == 1 or (grp[i] in (2, 3) and tank[i])
for i in 1..N:
    if grp[i] == 0: continue
    d = min(|i - j| for j where loco[j])          # cars from nearest engine
    if risky[i] and length_permits and d < 6:
        flag(i, "174.85(d) row 1: nearer than sixth car")
    if risky[i] and not length_permits and d < 2:
        flag(i, "174.85(d) row 2: nearer than second car")
    for k in (i - 1, i + 1):
        if risky[i] and loaded_flat_not_exempt(k):
            flag(i, "174.85(d) row 4: next to loaded flat car")
        if grp[k] != 0 and grp[k] != grp[i]:
            flag(i, "174.85(d) row 6: different placard groups adjacent")
    if grp[i] == 4 and d < 2:
        flag(i, "174.85(b): radioactive car needs one non-placarded car")
# length_permits is a trainmaster decision, not a computed value

A receiving railroad's yard system can test every placarded car in an EDI 418 against 49 CFR 174.85(d), flagging Group 1 cars and Group 2 or 3 tank cars nearer than the sixth car from an engine and any two cars of different placard groups coupled together, before a train is accepted.

Using the advance consist to plan the receiving yard

The 418's commercial value is time: a yard that knows what is coming can assign tracks, crews and inspections before the train stops. Each W1 block maps to a classification decision, and each W2 status code tells the yard whether the car goes to a departure track, a storage track or the repair track.

  • Block to track: W1 block identifiers let the yardmaster assign receiving and classification tracks before arrival, so the switch crew's first move is planned rather than discovered.
  • Load and empty split: W2-05 separates loads for onward trains from empties returning to car owners or storage.
  • Bad-order cars: a B consist code or a W2-16 repair flag sends the car to the repair track instead of a departure track.
  • Switching limits: 49 CFR 174.83 bars certain placarded cars from being cut off while in motion or struck by cars moving under their own momentum, including loaded Division 1.1 and 1.2 cars, Division 2.3 Zone A and Division 6.1 PG I Zone A cars, and DOT 113 tank cars placarded Division 2.1. Flagging them in the plan keeps them out of free-rolling moves.
  • Protective service: PS segments tell the yard which cars need heating, cooling or other attention while they wait.

Acknowledge every 418 with a 997 so the sender knows the consist was received and parsed. Our guide to EDI 997 functional acknowledgments covers how to watch for missing acknowledgments; a consist with no acknowledgment should prompt a phone call before the train arrives, not after.

Incident trace: a late consist change and a misplaced tank car

The opening scenario followed a predictable sequence. Every step had a record that could have stopped it, and the failure was that the consist change never reached the receiving railroad as a resent 418.

  1. 00:10, consist sent: the delivering railroad transmits a 418-T for train M412 with 58 cars in three W1 blocks; the receiver returns a 997 at 00:11 and its yard system passes the placement check.
  2. 00:40, yard plan built: the receiving yardmaster assigns block B1 to track 7 and block B2, which holds placarded tank cars ABCX 100245 (Group 2) and ABCX 100318 (Group 2), to track 9 for the 08:00 outbound.
  3. 03:25, consist changes en route: at an intermediate yard the delivering crew sets out a bad-order covered hopper and picks up tank cars ABCX 200511 (Group 3, Division 2.3 Zone A) and ABCX 200634 (Group 2). The paper consist is updated under 174.26, but no new 418 is sent.
  4. 05:50, inspection finds a different train: arriving with 59 cars, M412 shows ABCX 200511 coupled directly to ABCX 200634, a Group 3 and Group 2 pair that 174.85(d) row 6 prohibits.
  5. 06:05 to 09:00, recovery: the yardmaster holds block B2, a switch crew separates the pair with a non-placarded car, the yard plan is rebuilt by hand, the corrected 418 arrives at 07:40, and the outbound leaves 60 minutes late.

Two controls would have caught the change before arrival. The sender's system should resend whenever a hazmat car is added, as OT-56 requires. The receiver's system should compare the car count and hazmat car list in the 418 with the arrival tag reads from the last wayside reader, and alert the yardmaster when they differ.

What a stale consist costs in dollars and rupees

The cost of a stale or missing consist is mostly unplanned crew time and delay, small per train but repeated across every interchange. The figures below are illustrative rates, not tariffs; replace them with your own crew, locomotive and wagon-hour costs.

Scroll horizontally to see all columns.

Illustrative cost of planning from a stale consist (US, USD) and from an unchecked wagon list (India, INR)
Cost lineUS interchange: stale 418US interchange: corrected 418 before arrivalIndia siding: wagon list errorIndia siding: list checked before release
Unplanned switching1.5 h x $420 = $6300.3 h x $420 = $126 (planned move)Not applicableNot applicable
Extra inspection or tally recheck2 h x $60 = $120Nil4 staff x 3 h x ₹250 = ₹3,000Nil
Delay to train or rake release1 h x $300 = $300Nil42 wagons x 3 h x ₹100 = ₹12,600Nil
Total per event$1,050$126₹15,600Nil

At one such event a week, the US difference of $924 per event is about $48,000 a year at a single interchange point. The India column describes a different failure, explained in the next section: there is no carrier-to-carrier consist message for a siding operator to receive, so the cost comes from the siding's own wagon list not matching the railway's documents.

India: rake formation at sidings without an X12 418

We found no X12 418 exchange on Indian Railways. Wagon and rake movement data sit in the Freight Operations Information System (FOIS), and a siding operator's consist discipline is about recording wagons in rake order and matching them to the railway's documents.

The FOIS portal describes the system as tracking wagons, locomotives and trains, generating the Railway Receipt and integrating with major customers' legacy systems. For a private siding loading a rake, the working record is the siding's own loading tally: each wagon number in the order placed, its load, seal numbers and loading time. That tally must match the wagon list the railway uses for the Railway Receipt, or release is held while the mismatch is corrected.

  • Rake order tally: record wagon numbers in placement order as each wagon is placed, not from memory after loading.
  • Document match: compare the tally with the railway's wagon list before requesting release, so a keying error is fixed while the rake is still within free time.
  • Dangerous goods: rail carriage of dangerous goods follows the Railways Red Tariff Rules, 2000, made under Sections 67 and 87 of the Railways Act, 1989, most recently amended by notification G.S.R. 770(E) of 21 October 2025; marshalling instructions come from the railway, so take them from your zonal railway's current instructions.
  • Demand to receipt: the commercial chain from rake demand to Railway Receipt is covered in our guide to linking rail demand, allotment and railway receipts.

Rake formation at Indian private sidings has no X12 418 counterpart; the siding's loading tally of wagon numbers in placement order must match the FOIS wagon list behind the Railway Receipt, and dangerous goods wagons follow the Railways Red Tariff Rules, 2000, amended most recently by G.S.R. 770(E) on 21 October 2025.

Validation rules, ownership and an onboarding checklist for 418 feeds

A 418 feed is only as reliable as its owners and its validation rules. Assign each record to a named team, automate the checks that are pure rules, and keep the judgement calls with the yardmaster and the hazardous materials officer.

Scroll horizontally to see all columns.

Who owns each part of a 418 exchange and who approves corrections
RecordHeld inOwnerApproves corrections
Train make-up and car sequenceDelivering railroad's transportation systemDelivering road's yardmaster or train dispatcherDelivering road's terminal superintendent
Hazardous material description per carShipper's shipping papers and the waybill carried in the 417Shipper, then originating railroadOriginating railroad's hazardous materials desk
418 mapping, codes and resend logicSender's EDI translator and mapSender's EDI analystSender's EDI manager
Receiving yard planReceiving railroad's yard systemReceiving yardmasterReceiving trainmaster
Placard group lookup tableReceiving railroad's reference dataHazardous materials officerHazardous materials officer

Scroll horizontally to see all columns.

418 processing tasks: fixed rules, software assistance and decisions left to people
TaskHandled byRuleDecided by
Rejecting an unagreed BAX02 consist codeFixed rule in the translatorCode must be on the partner's agreed listNobody; message returned
Deriving placard group from LH class, division and zoneFixed lookupGroup definitions in 174.85Hazmat officer maintains the table
Running position and adjacency checksFixed rule174.85(b), (c) and (d)Yardmaster clears each flag
Comparing the consist with wayside tag readsSoftware matchCar count and every hazmat car must matchYardmaster on any difference
Reading a tenant crew's photographed handwritten switch listSoftware suggests car numbersEach number shown beside the imageClerk confirms every number
Deciding whether train length permits sixth-car placementPerson174.85(d) rows 1 and 2Trainmaster

Scroll horizontally to see all columns.

Onboarding checklist for a new 418 trading partner
ItemWhat to agreeHow to test it
X12 releaseThe release and the partner's implementation guideParse three sample consists without errors
Consist codesWhich BAX02 codes each side sendsOne test message per agreed code
TimingLead time before arrival, at least with the movement under Car Service Rule 7Compare message time with arrival time over two weeks
Resend triggersHazmat shipment, placement or identification changesAdd a hazmat car to a test train and confirm a resend
Train orderWhether W2 loops follow standing order from the head endCheck one consist against a physical walk of the train
Acknowledgment997 returned within an agreed number of minutesAlert when no 997 arrives
Location codesSPLC values for each interchange pointReject unknown codes in testing

For broader context on rail and multimodal planning, see our logistics and supply chain hub. If you are scoping a consist validation or yard planning integration, outline the partners and message volumes in our request for proposal form.

Discuss this workflow

Describe your current systems, the recurring exception and the outcome you need. Keep shipment, customer and financial records out of the initial message.

START A CONVERSATION

Let’s talk about your next build.

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

SELECTED INDUSTRYLogistics & supply chain

Article: EDI 418 Rail Advance Consist for Interchange and Yard Planning · EDI & Message Standards

THE FIRST CONVERSATION

Your product idea, AI opportunity or automation challenge—and a useful first milestone.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Common operational questions

Practical answers for operations, engineering, and finance teams working on edi 418 rail advance interchange consist in logistics & supply chain.

Who sends and receives an EDI 418?
Railroads exchange it when equipment passes from one carrier to another, including tenant railroads operating on a host's track under trackage rights or haulage. X12 also allows it to come from a consignor or go to a consignee, so an industrial plant or terminal operator can receive one if the railroad agrees.
When must a 418 be transmitted?
AAR Circular OT-56 cites Car Service Rule 7 in stating that railroads shall transmit the appropriate 418 with or in advance of the physical movement of equipment between carriers. For a 418-J carrying hazardous material, the message must reach the host before the train arrives on foreign track.
Does the 418 show each car's position in the train?
Not through a dedicated element. In release 008040 the W2 segment's Position element describes where a shipment sits inside a car, not where the car stands in the train. Any train-order meaning comes from the sequence of W2 loops, which the sending railroad's implementation guide must confirm.
Is there an Indian equivalent of the X12 418?
No X12 418 exchange was found on Indian Railways. Rake and wagon movement data sit in the Freight Operations Information System, which also generates the Railway Receipt. Dangerous goods by rail follow the Railways Red Tariff Rules, 2000, made under Sections 67 and 87 of the Railways Act, 1989.

References

Sources checked 13 November 2026. US and India statutory authorities and vendor documentation support platform facts; the worked examples and diagrams are original.

About the author

Vikasraj Yadav writes about operational decisions, software and automation for NextEdge Labs.