Stedi maintains this guide based on public documentation from Best Buy. Contact Best Buy 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)
—
- 00403
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
BGN
0200
Heading > BGN
Beginning Segment
RequiredMax use 1
—
Usage notes
—
Example
If Time Code (BGN-05) is present, then Time (BGN-04) is required
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
—
Usage notes
—
- TR
- Transaction Set Reject
—
- SI
- Shipper's Identifying Number for Shipment (SID)—
REF
0200
Detail > OTI Loop > REF
Bill of Lading Number
OptionalMax use 12
—
Usage notes
—
Example
Variants (all may be used)
REFReference IdentificationREF
0200
Detail > OTI Loop > REF
Reference Identification
OptionalMax use 12
—
Usage notes
—
Example
Variants (all may be used)
REFBill of Lading NumberTED Loop
OptionalMax >1
TED
0700
Detail > OTI Loop > TED Loop > TED
Technical Error Description
RequiredMax use 1
—
Usage notes
—
Example
—
Usage notes
—
- 006
- Duplicate
- 007
- Missing Data
- 814
- Received After Cutoff Date or Time
- 817
- Duplicate Trace Number
- 848
- Incorrect Data
- IID
- Invalid Identification Code
- IQT
- Invalid Quantity
- J
- Missing or Invalid Purpose Code
- MB
- Missing or Invalid Purchase Order Number
- MG
- Missing or Invalid U.P.C. Code
- MID
- Missing Identification Code
- ML
- Missing or Invalid Sell to Location
- POI
- Purchase Order Number Invalid
- Q
- Missing or Invalid Item Identification
NTE
0800
Detail > OTI Loop > TED Loop > NTE
Note/Special Instruction
OptionalMax use 100
—
Usage notes
—
Example
TED Loop end
OTI Loop end
Detail end
EDI Samples
More Than One Error Example
ST*824*0001~
BGN*44*221212121*20201117*1050*CS~
OTI*TR*SI*1212121212_1234567898*SENDERISA*0600603000003*20201117*1041*3800*0001*856~
REF*BM*1122232280~
REF*CN*1111111111~
TED*Q*RMS_INVALID_SKU*****1234567~
NTE*ZZZ*Incorrect UPC. Fix. Resend ASN as replacement~
RED*DDDDDD*PO~
RED*00200887270113096555*RS~
TED*IQT*ZERO_SHIP_QUANTITY*****0~
NTE*ZZZ*Ship qty for item 0. Fix. Resend ASN as replacement~
RED*DDDDDD*PO~
RED*00200887270113091111*RS~
RED*123456789101*PS~
TED*MID*ASN_NO_PACK_NO_TARE_SSCC~
NTE*ZZZ*Missing SSCCs. Fix. Resend ASN as replacement~
RED*ABCDEW*PO~
SE*18*0001~
BGN*44*221212121*20201117*1050*CS~
OTI*TR*SI*1212121212_1234567898*SENDERISA*0600603000003*20201117*1041*3800*0001*856~
REF*BM*1122232280~
REF*CN*1111111111~
TED*Q*RMS_INVALID_SKU*****1234567~
NTE*ZZZ*Incorrect UPC. Fix. Resend ASN as replacement~
RED*DDDDDD*PO~
RED*00200887270113096555*RS~
TED*IQT*ZERO_SHIP_QUANTITY*****0~
NTE*ZZZ*Ship qty for item 0. Fix. Resend ASN as replacement~
RED*DDDDDD*PO~
RED*00200887270113091111*RS~
RED*123456789101*PS~
TED*MID*ASN_NO_PACK_NO_TARE_SSCC~
NTE*ZZZ*Missing SSCCs. Fix. Resend ASN as replacement~
RED*ABCDEW*PO~
SE*18*0001~
One Error Example
ST*824*0001~
BGN*44*987654321*20201117*1050*CS~
OTI*TR*SI*1234567889_1234567898*SENDERISA*0600603000003*20201117*1041*3800*0001*856~
REF*BM*1116044180~
REF*CN*1116044180~
TED*MG*RMS_INVALID_UPC*****123456789101~
NTE*ZZZ*Invalid UPC. Fix. Resend ASN as replacement~
RED*ABCDEF*PO~
RED*00200887270113096480*RS~
SE*10*0001~
BGN*44*987654321*20201117*1050*CS~
OTI*TR*SI*1234567889_1234567898*SENDERISA*0600603000003*20201117*1041*3800*0001*856~
REF*BM*1116044180~
REF*CN*1116044180~
TED*MG*RMS_INVALID_UPC*****123456789101~
NTE*ZZZ*Invalid UPC. Fix. Resend ASN as replacement~
RED*ABCDEF*PO~
RED*00200887270113096480*RS~
SE*10*0001~
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.