Stedi maintains this guide based on public documentation from Canadian National Railway (CN Rail). Contact Canadian National Railway (CN Rail) for official EDI specifications. To report any errors in this guide, please contact us.
X12 418 Rail Advance Interchange Consist
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- 00703
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2014
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
- 2
- Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors"
- 3
- Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors" or "Accepted but Errors are Noted"
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
BAX
0200
Heading > BAX
Beginning Segment for Advance Consist and Transportation Automatic Equipment ID
RequiredMax use 1
—
Usage notes
—
Example
W1 Loop
OptionalMax >1
W2 Loop
RequiredMax >1
W3
0500
Heading > W1 Loop > W2 Loop > W3
Consignee Information
OptionalMax use 7
—
Usage notes
—
Example
If either Waybill Number (W3-01) or Date (W3-02) is present, then the other is required
If either City Name (W3-04) or State or Province Code (W3-05) is present, then the other is required
W4
0700
Heading > W1 Loop > W2 Loop > W4
Consignor Information
OptionalMax use 1
—
Usage notes
—
Example
If either Standard Carrier Alpha Code (W4-02) or Freight Station Accounting Code (W4-03) is present, then the other is required
At least one of Standard Carrier Alpha Code (W4-02) or City Name (W4-04) is required
If either City Name (W4-04) or State or Province Code (W4-05) is present, then the other is required
W5
0800
Heading > W1 Loop > W2 Loop > W5
Carrier and Route Information
OptionalMax use 4
—
Usage notes
—
Example
W2 Loop end
W1 Loop end
Heading end
EDI Samples
Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0334*^*00703*000000001*0*T*>
GS*IC*SENDERGS*RECEIVERGS*20231102*033409*000000001*X*007030
ST*418*435580001
BAX*072400*T*139*20180621*1500*ABCD CN*072400
W1*CUT
W2*ACFX*49441*3742214*RR*W**********C113
W3*69975*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*2482*3742214*RR*W**********C113
W3*69976*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*31849*3742214*RR*W**********C114
W3*69977*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1211*3742214*RR*W**********C113
W3*69978*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1699*3742214*RR*W**********C113
W3*69979*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1703*3742214*RR*W**********C113
W3*69980*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*INTX*10045*3742214*RR*W**********C114
W3*69981*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*470114*3742214*RR*W**********C113
W3*69982*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
SE*36*435580001
GE*1*000000001
IEA*1*000000001
GS*IC*SENDERGS*RECEIVERGS*20231102*033409*000000001*X*007030
ST*418*435580001
BAX*072400*T*139*20180621*1500*ABCD CN*072400
W1*CUT
W2*ACFX*49441*3742214*RR*W**********C113
W3*69975*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*2482*3742214*RR*W**********C113
W3*69976*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*31849*3742214*RR*W**********C114
W3*69977*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1211*3742214*RR*W**********C113
W3*69978*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1699*3742214*RR*W**********C113
W3*69979*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1703*3742214*RR*W**********C113
W3*69980*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*INTX*10045*3742214*RR*W**********C114
W3*69981*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*470114*3742214*RR*W**********C113
W3*69982*20180620*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
SE*36*435580001
GE*1*000000001
IEA*1*000000001
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.