Stedi maintains this guide based on public documentation from Albertsons. Contact Albertsons 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
heading
detail
OTI Loop
SE
0900
Transaction Set Trailer
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
N1 Message From
OptionalMax >1
N1
0300
Heading > Message From > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
0800
Heading > Message From > PER
Administrative Communications Contact
OptionalMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Message From end
N1 Message To
OptionalMax >1
N1
0300
Heading > Message To > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
0800
Heading > Message To > PER
Administrative Communications Contact
OptionalMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Message To end
N1 Payee
OptionalMax >1
N1
0300
Heading > Payee > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
0800
Heading > Payee > PER
Administrative Communications Contact
OptionalMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Payee end
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
—
- TN
- Transaction Reference Number—
DTM
0300
Detail > OTI Loop > DTM
Settlement Date as Specified by the Originator
OptionalMax use 2
—
Usage notes
—
Example
TED Loop
OptionalMax >1
TED
0700
Detail > OTI Loop > TED Loop > TED
Technical Error Description
RequiredMax use 1
—
Usage notes
—
Example
—
- 008
- Out of Range—
- 009
- Invalid Date—
- 010
- Total Out of Balance—
- 012
- Invalid Combination—
- 024
- Other Unlisted Reason—
- 813
- Missing or Invalid Payee Name and Address—
- MF
- Missing or Invalid Internal Vendor Number—
- MG
- Missing or Invalid U.P.C. Code—
- MH
- Missing or Invalid DUNS Number—
- P
- Missing or Invalid Item Quantity—
- 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
FOR REJECTED 855
ST*824*00011001~
BGN*12*326654*20140211~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XXX Foods*9*0019990350000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*326654*7162256XXX*8019721193*20140210*1900*16489*164890001*855~
DTM*009*20140210~
AMT**0~
TED*024*075928367321 ORDER UNIT OF MEASURE NOT 'CA', 'EA' OR 'PL'*****XX~
NTE*GEN*ORDER UNIT OF MEASURE NOT 'CA', 'EA' OR 'PL'~
SE*11*00011001~
ST*824*00011002~
BGN*12*326658*20040211~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XXX Foods*9*0099990350000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*326658*7162256XXX*8019721193*20140210*1900*16489*164890005*855~
DTM*009*20140210~
AMT**0~
TED*008*326658 PO NUMBER NOT IN ASSIGNED RANGE~
NTE*GEN*PO NUMBER NOT IN ASSIGNED RANGE – ORDER IS REJECTED~
TED*024*000099999999 ITEM QUANTITY NOT NUMERIC*****9999R~
NTE*GEN*ITEM QUANTITY NOT NUMERIC -- ITEM IS REJECTED~
TED*024*004470009219 UPC QUALIFIER NOT 'UA'*****AA~
NTE*GEN*UPC QUALIFIER NOT 'UA' – ITEM IS REJECTED~
SE*15*00011002~
BGN*12*326654*20140211~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XXX Foods*9*0019990350000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*326654*7162256XXX*8019721193*20140210*1900*16489*164890001*855~
DTM*009*20140210~
AMT**0~
TED*024*075928367321 ORDER UNIT OF MEASURE NOT 'CA', 'EA' OR 'PL'*****XX~
NTE*GEN*ORDER UNIT OF MEASURE NOT 'CA', 'EA' OR 'PL'~
SE*11*00011001~
ST*824*00011002~
BGN*12*326658*20040211~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XXX Foods*9*0099990350000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*326658*7162256XXX*8019721193*20140210*1900*16489*164890005*855~
DTM*009*20140210~
AMT**0~
TED*008*326658 PO NUMBER NOT IN ASSIGNED RANGE~
NTE*GEN*PO NUMBER NOT IN ASSIGNED RANGE – ORDER IS REJECTED~
TED*024*000099999999 ITEM QUANTITY NOT NUMERIC*****9999R~
NTE*GEN*ITEM QUANTITY NOT NUMERIC -- ITEM IS REJECTED~
TED*024*004470009219 UPC QUALIFIER NOT 'UA'*****AA~
NTE*GEN*UPC QUALIFIER NOT 'UA' – ITEM IS REJECTED~
SE*15*00011002~
FOR REJECTED INVOICE
ST*824*00917001~
BGN*34*0202221*20030323~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XYZ SUPPLIER*9*1234567890000~
N1*PE*XYZ SUPPLIER*9*1234567890000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*0202221*7778889999*8019721193*20030321*0930*5520*055200010*810~
DTM*003*20130319~
AMT*TP*22234.8~
QTY*53*60~
TED*012*INVALID SHIP-TO OR INVALID PO NUMBER*****SHIP-TO DUNS SUFFIX/PO # (1922/912938)~
NTE*GEN*CONTACT BROKER OR ORDER ENTRY DEPARTMENT~
NTE*GEN*PLEASE CORRECT INVOICE(S) & RETRANSMIT EDI. PAPER INVOICES WILL NOT BE ACCEPTED.~
SE*14*00917001~
BGN*34*0202221*20030323~
N1*FR*SAFEWAY INC*9*0091372091700~
N1*TO*XYZ SUPPLIER*9*1234567890000~
N1*PE*XYZ SUPPLIER*9*1234567890000~
PER*AA*ECR/EDI DEPARTMENT*TE*925-467-3197*EM*ECREDI@SAFEWAY.COM~
OTI*TR*TN*0202221*7778889999*8019721193*20030321*0930*5520*055200010*810~
DTM*003*20130319~
AMT*TP*22234.8~
QTY*53*60~
TED*012*INVALID SHIP-TO OR INVALID PO NUMBER*****SHIP-TO DUNS SUFFIX/PO # (1922/912938)~
NTE*GEN*CONTACT BROKER OR ORDER ENTRY DEPARTMENT~
NTE*GEN*PLEASE CORRECT INVOICE(S) & RETRANSMIT EDI. PAPER INVOICES WILL NOT BE ACCEPTED.~
SE*14*00917001~
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.