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 824 Application Advice
—
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)
—
- 00701
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2013
—
- 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
Heading end
Detail
OTI Loop
RequiredMax >1
OTI
0100
Detail > OTI Loop > OTI
Original Transaction Identification
RequiredMax use 1
—
Usage notes
—
Example
If Transaction Set Control Number (OTI-09) is present, then Group Control Number (OTI-08) is required
—
- TA
- Transaction Set Accept
- TE
- Transaction Set Accept with Error
- TR
- Transaction Set Reject
TED Loop
OptionalMax >1
Usage notes
—
TED Loop end
OTI Loop end
Detail end
EDI Samples
Transaction Set Accepted
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0335*^*00701*000000001*0*T*>
GS*AG*SENDERGS*RECEIVERGS*20231102*033529*000000001*X*007010
ST*824*5766001
BGN*00*404*20180112*1454
OTI*TA*BM*YL78919***20180112*1454*5759*0001
REF*EQ*CNRU123456
REF*WY*580881
SE*6*5766001
GE*1*000000001
IEA*1*000000001
GS*AG*SENDERGS*RECEIVERGS*20231102*033529*000000001*X*007010
ST*824*5766001
BGN*00*404*20180112*1454
OTI*TA*BM*YL78919***20180112*1454*5759*0001
REF*EQ*CNRU123456
REF*WY*580881
SE*6*5766001
GE*1*000000001
IEA*1*000000001
Transaction Set Accepted With Error(s)
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0335*^*00701*000000001*0*T*>
GS*AG*SENDERGS*RECEIVERGS*20231102*033538*000000001*X*007010
ST*824*33030001
BGN*00*404*20180112*1454
OTI*TE*BM*006394***20180112*1454*40860*408600001
REF*EQ*CNIS789012
REF*WY*580191
TED*024*A PROBLEM HAS BEEN DETECHED IN THE ELECTRONIC BILL OF LADING
NTE**THIS SHIPMENT CANNOT MOVE DUE TO A RAILROAD RESTRICTION THAT IS
NTE**IN EFFECT.VIEW THE AAR WEBSITE HTTP://AAREMBARGO.RAILINC.COM
NTE**FOR FURTHER INFORMATION ON EMBARGOES AND OPSL RESTRICTIONS.
NTE**IF FURTHER ASSISTANCE IS REQUIRED EMAIL EDIMGR@CN.CA.
NTE**PLEASE CONTACT YOUR LOCAL EDI SUPPORT CENTER IF FURTHER
NTE**INFORMATION IS REQUIRED. IF YOU ARE UNCERTAIN HOW TO CONTACT
NTE**YOUR LOCAL EDI SUPPORT CENTER PHONE US AT 800-267-9779
SE*14*33030001
GE*1*000000001
IEA*1*000000001
GS*AG*SENDERGS*RECEIVERGS*20231102*033538*000000001*X*007010
ST*824*33030001
BGN*00*404*20180112*1454
OTI*TE*BM*006394***20180112*1454*40860*408600001
REF*EQ*CNIS789012
REF*WY*580191
TED*024*A PROBLEM HAS BEEN DETECHED IN THE ELECTRONIC BILL OF LADING
NTE**THIS SHIPMENT CANNOT MOVE DUE TO A RAILROAD RESTRICTION THAT IS
NTE**IN EFFECT.VIEW THE AAR WEBSITE HTTP://AAREMBARGO.RAILINC.COM
NTE**FOR FURTHER INFORMATION ON EMBARGOES AND OPSL RESTRICTIONS.
NTE**IF FURTHER ASSISTANCE IS REQUIRED EMAIL EDIMGR@CN.CA.
NTE**PLEASE CONTACT YOUR LOCAL EDI SUPPORT CENTER IF FURTHER
NTE**INFORMATION IS REQUIRED. IF YOU ARE UNCERTAIN HOW TO CONTACT
NTE**YOUR LOCAL EDI SUPPORT CENTER PHONE US AT 800-267-9779
SE*14*33030001
GE*1*000000001
IEA*1*000000001
Transaction Set Rejected
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0335*^*00701*000000001*0*T*>
GS*AG*SENDERGS*RECEIVERGS*20231102*033549*000000001*X*007010
ST*824*4206001
BGN*00*404*20180112*1454
OTI*TE*BM*10***20180112*1454*83041*23905
REF*EQ*CN555555
REF*WY*509072
TED*007*A PROBLEM HAS BEEN DETECTED IN THE ELECTRONIC BILL OF LADING
NTE**THIS ELECTRONIC BILL OF LADING WAS REJECTED BECAUSE THE RAIL
NTE**CAR INITIAL AND NUMBER ARE NOT IN THE ASSOCIATION OF
NTE**AMERICAN RAILROADS DATABASE OR INTERMODAL SHIPMENT TYPE IS
NTE**MISSING. PLEASE CORRECT AND RESUBMIT THE ELECTRONIC BILL OF LADING
NTE**PLEASE CONTACT YOUR LOCAL EDI SUPPORT CENTER IF FURTHER
NTE**INFORMATION IS REQUIRED. IF YOU ARE UNCERTAIN HOW TO CONTACT
NTE**YOUR LOCAL EDI SUPPORT CENTER PHONE US AT 800-267-9779.
SE*14*4206001
GE*1*000000001
IEA*1*000000001
GS*AG*SENDERGS*RECEIVERGS*20231102*033549*000000001*X*007010
ST*824*4206001
BGN*00*404*20180112*1454
OTI*TE*BM*10***20180112*1454*83041*23905
REF*EQ*CN555555
REF*WY*509072
TED*007*A PROBLEM HAS BEEN DETECTED IN THE ELECTRONIC BILL OF LADING
NTE**THIS ELECTRONIC BILL OF LADING WAS REJECTED BECAUSE THE RAIL
NTE**CAR INITIAL AND NUMBER ARE NOT IN THE ASSOCIATION OF
NTE**AMERICAN RAILROADS DATABASE OR INTERMODAL SHIPMENT TYPE IS
NTE**MISSING. PLEASE CORRECT AND RESUBMIT THE ELECTRONIC BILL OF LADING
NTE**PLEASE CONTACT YOUR LOCAL EDI SUPPORT CENTER IF FURTHER
NTE**INFORMATION IS REQUIRED. IF YOU ARE UNCERTAIN HOW TO CONTACT
NTE**YOUR LOCAL EDI SUPPORT CENTER PHONE US AT 800-267-9779.
SE*14*4206001
GE*1*000000001
IEA*1*000000001
Transaction Set Rejected – All Reference Numbers From Original 404 Displayed
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231102*0336*^*00701*000000001*0*T*>
GS*AG*SENDERGS*RECEIVERGS*20231102*033602*000000001*X*007010
ST*824*125795001
BGN*00*404*20180112*1454
OTI*TE*BM*10***20180112*1454*22829*0001
REF*EQ*WC44222
REF*WY*126624
REF*BM*LMNO9140620
REF*P8*220124
REF*WO*0000125436
SE*9*125795001
GE*1*000000001
IEA*1*000000001
GS*AG*SENDERGS*RECEIVERGS*20231102*033602*000000001*X*007010
ST*824*125795001
BGN*00*404*20180112*1454
OTI*TE*BM*10***20180112*1454*22829*0001
REF*EQ*WC44222
REF*WY*126624
REF*BM*LMNO9140620
REF*P8*220124
REF*WO*0000125436
SE*9*125795001
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.