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 (8030)
—
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)
—
- 00803
- 00803 Standards Approved for Publication by ASC X12 Procedures Review Board through December 2021
—
- 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
If either City Name (W4-04) or State or Province Code (W4-05) is present, then the other is required
At least one of Standard Carrier Alpha Code (W4-02) or City Name (W4-04) 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 1
ISA*04*SW418 *00*MFT *02*GENERIC *02*CNFTP *230820*1437*U*00803*001943558*0*P*:
GS*IC*GENERIC*CN*20230820*1437*001943558*X*008030
ST*418*435580001
BAX*072400*T*139*20230821*1500*ABCD CN*072400
W1*CUT
W2*ACFX*49441*3742214*RR*W*0********1*C113
W3*69975*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*2482*3742214*RR*W*0********2*C113
W3*69976*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*31849*3742214*RR*W*0********3*C114
W3*69977*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1211*3742214*RR*W*0********4*C113
W3*69978*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1699*3742214*RR*W*0********5*C113
W3*69979*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1703*3742214*RR*W*0********6*C113
W3*69980*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*INTX*10045*3742214*RR*W*0********7*C114
W3*69981*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*470114*3742214*RR*W*********8*C113
W3*69982*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
SE*36*435580001
GE*1*001943558
IEA*1*001943558
GS*IC*GENERIC*CN*20230820*1437*001943558*X*008030
ST*418*435580001
BAX*072400*T*139*20230821*1500*ABCD CN*072400
W1*CUT
W2*ACFX*49441*3742214*RR*W*0********1*C113
W3*69975*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*2482*3742214*RR*W*0********2*C113
W3*69976*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*31849*3742214*RR*W*0********3*C114
W3*69977*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1211*3742214*RR*W*0********4*C113
W3*69978*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1699*3742214*RR*W*0********5*C113
W3*69979*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*POTX*1703*3742214*RR*W*0********6*C113
W3*69980*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*INTX*10045*3742214*RR*W*0********7*C114
W3*69981*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
W2*GACX*470114*3742214*RR*W*********8*C113
W3*69982*20230820*CN*SASKATOON*SK
W4*FRONTLINE RA*ABCD*75454*HAGUE*SK
W5*ABCD*SKATN*CN
SE*36*435580001
GE*1*001943558
IEA*1*001943558
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.