Stedi maintains this guide based on public documentation from US Foods. Contact US Foods for official EDI specifications. To report any errors in this guide, please contact us.
X12 855 Purchase Order Acknowledgment
—
Delimiters
- ~ Segment
- * Element
- > Component
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
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)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- AC
- Acknowledge - With Detail and Change
- AD
- Acknowledge - With Detail, No Change
- AJ
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
OptionalMax 200
N1
300
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
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
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 91
- Assigned by Seller or Seller's Agent
N1 Loop end
Heading end
Detail
PO1 Loop
OptionalMax 100000
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
PID Loop
OptionalMax 1000
PID Loop end
PO4
090
Detail > PO1 Loop > PO4
Item Physical Details
OptionalMax use >1
—
Example
If either Size (PO4-02) or Unit or Basis for Measurement Code (PO4-03) is present, then the other is required
REF
100
Detail > PO1 Loop > REF
Reference Identification
OptionalMax use >1
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
ACK Loop
OptionalMax 104
ACK
270
Detail > PO1 Loop > ACK Loop > ACK
Line Item Acknowledgment
RequiredMax use 1
—
Example
If either Quantity (ACK-02) or Unit or Basis for Measurement Code (ACK-03) is present, then the other is required
If either Product/Service ID Qualifier (ACK-07) or Product/Service ID (ACK-08) is present, then the other is required
If either Product/Service ID Qualifier (ACK-13) or Product/Service ID (ACK-14) is present, then the other is required
If either Product/Service ID Qualifier (ACK-15) or Product/Service ID (ACK-16) is present, then the other is required
If either Product/Service ID Qualifier (ACK-17) or Product/Service ID (ACK-18) is present, then the other is required
If either Product/Service ID Qualifier (ACK-09) or Product/Service ID (ACK-10) is present, then the other is required
If either Product/Service ID Qualifier (ACK-11) or Product/Service ID (ACK-12) is present, then the other is required
—
- IA
- Item Accepted
- IC
- Item Accepted - Changes Made
- ID
- Item Deleted
- IR
- Item Rejected
—
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
ACK Loop end
N9 Loop
OptionalMax 1000
N9
350
Detail > PO1 Loop > N9 Loop > N9
Reference Identification
RequiredMax use 1
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9 Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax 1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *01*8036768725 *ZZ*SAMPLE001 *120930*0912*U*00401*000180638*0*P*^
GS*PR*8036768725*SAMPLE001*20120930*0912*000180634*X*004010
ST*855*180582
BAK*00*AC*55575719*20121002****12357*20240124
DTM*055*20240124
DTM*070*20240124
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER STORE NAME*91*12321085~
N1*ST*CUSTOMER STORE NAME*91*NO STORE~
N1*SE*CHARLOTTE NORTH*91*5E2210~
PO1*10*3*CA*60.83*CA*VN*1678507~
CTP**CON*60.83
PID*F****PANGASIUS, STPED 3-5 Z FIL~
PO4**1*CS~
REF*FL*1*USF Product Class Code~
REF*87*1*USF Product Category Code~
REF*PG*2*USF Product Group Code~
ACK*IA*3*CA****VN*1678507*****MG*29160*MF*MARITIME~
PO1*130*1*CA*32.7*CA*VN*1980267~
CTP**CON*32.7
PID*F****DRESSING, FRNCH CRMY SS POUCH~
PO4**1*CS~
REF*FL*11*USF Product Class Code~
REF*87*34*USF Product Category Code~
REF*PG*121*USF Product Group Code~
ACK*IR*0*CA****VN*1980267*****MG*84119891*MF*HELLMANNS*UP*10048001198910~
N9*7G*1980267~
MSG*QUANTITY REQUESTED DIFFERENT THAN RESERVED~
N9*7G**SEE MSG SEGMENT FOR EXCEPTION MESSAGE~
MSG*The quantity requested exceeds the currently available inventory.~
PO1*970*4*CA*47.75*CA*VN*6795017~
CTP**CON*47.75
PID*F****EGG, LIQ WHL W/ CTRC ACID~
PO4**15*CS~
REF*FL*3*USF Product Class Code~
REF*87*3*USF Product Category Code~
REF*PG*9*USF Product Group Code~
ACK*IA*4*CA****VN*6795017*****MG*3211300532003*MF*FRESH START*UP*00793799811510~
CTT*3
SE*40*180582
GE*1*000180634
IEA*1*000180638
GS*PR*8036768725*SAMPLE001*20120930*0912*000180634*X*004010
ST*855*180582
BAK*00*AC*55575719*20121002****12357*20240124
DTM*055*20240124
DTM*070*20240124
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER STORE NAME*91*12321085~
N1*ST*CUSTOMER STORE NAME*91*NO STORE~
N1*SE*CHARLOTTE NORTH*91*5E2210~
PO1*10*3*CA*60.83*CA*VN*1678507~
CTP**CON*60.83
PID*F****PANGASIUS, STPED 3-5 Z FIL~
PO4**1*CS~
REF*FL*1*USF Product Class Code~
REF*87*1*USF Product Category Code~
REF*PG*2*USF Product Group Code~
ACK*IA*3*CA****VN*1678507*****MG*29160*MF*MARITIME~
PO1*130*1*CA*32.7*CA*VN*1980267~
CTP**CON*32.7
PID*F****DRESSING, FRNCH CRMY SS POUCH~
PO4**1*CS~
REF*FL*11*USF Product Class Code~
REF*87*34*USF Product Category Code~
REF*PG*121*USF Product Group Code~
ACK*IR*0*CA****VN*1980267*****MG*84119891*MF*HELLMANNS*UP*10048001198910~
N9*7G*1980267~
MSG*QUANTITY REQUESTED DIFFERENT THAN RESERVED~
N9*7G**SEE MSG SEGMENT FOR EXCEPTION MESSAGE~
MSG*The quantity requested exceeds the currently available inventory.~
PO1*970*4*CA*47.75*CA*VN*6795017~
CTP**CON*47.75
PID*F****EGG, LIQ WHL W/ CTRC ACID~
PO4**15*CS~
REF*FL*3*USF Product Class Code~
REF*87*3*USF Product Category Code~
REF*PG*9*USF Product Group Code~
ACK*IA*4*CA****VN*6795017*****MG*3211300532003*MF*FRESH START*UP*00793799811510~
CTT*3
SE*40*180582
GE*1*000180634
IEA*1*000180638
Sample 2
ISA*00* *00* *01*8036768725 *ZZ*SAMPLE001 *120930*0912*U*00401*000160638*0*P*^
GS*PR*8036768725*SAMPLE001*20120930*0912*000160634*X*004010
ST*855*160582
BAK*00*AC*1239332AA*20120928****12368*20240124
DTM*055*20240124
DTM*070*20240124
N9*7G*SEE MSG SEGMENT~
MSG*The CUSTOMER NBR provided is invalid - Transaction Rejected~
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER NAME #123C FD*91*12341086~
N1*ST*CUSTOMER NAME #123C FD*9*123C~
N1*SE*NORTH STAR ATLANTA*91*8O3139~
CTT*1
SE*14*160582
GE*1*000160634
IEA*1*000160638
GS*PR*8036768725*SAMPLE001*20120930*0912*000160634*X*004010
ST*855*160582
BAK*00*AC*1239332AA*20120928****12368*20240124
DTM*055*20240124
DTM*070*20240124
N9*7G*SEE MSG SEGMENT~
MSG*The CUSTOMER NBR provided is invalid - Transaction Rejected~
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUSTOMER NAME #123C FD*91*12341086~
N1*ST*CUSTOMER NAME #123C FD*9*123C~
N1*SE*NORTH STAR ATLANTA*91*8O3139~
CTT*1
SE*14*160582
GE*1*000160634
IEA*1*000160638
Sample 3
ISA*00* *00* *01*8036768725 *ZZ*SAMPLE001 *120930*0912*U*00401*000170638*0*P*^
GS*PR*8036768725*SAMPLE001*20120930*0912*000170634*X*004010
ST*855*170582
BAK*00*AD*12379345*20120928****12315*20240124
DTM*055*20240124
DTM*070*20240124
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUST STORE NAME #1234*91*30706964~
N1*ST*CUST STORE NAME #1234*9*1234~
N1*SE*CHARLOTTE NORTH*91*5E2210~
PO1*10*1*CA*25.16*CA*VN*5154034~
CTP**CON
PID*F****SYRUP, PNCK MAPL FLVRD SS~
PO4**100*CS~
REF*FL*11*USF Product Class Code~
REF*87*34*USF Product Category Code~
REF*PG*123*USF Product Group Code~
ACK*IA*1*CA****VN*5154034*****MG*533500*MF*HEINZ*UP*10013000533505~
PO1*20*2*CA*25.73*CA*VN*5010202~
CTP**CON
PID*F****SUPPLEMENT, ENS CHOC NUTRL LIQ~
PO4**1*CS~
REF*FL*10*USF Product Class Code~
REF*87*33*USF Product Category Code~
REF*PG*118*USF Product Group Code~
ACK*IA*2*CA****VN*5010202*****MG*50462*MF*ENSURE IMMUNE HEALTH*UP*00070074504629~
CTT*1
SE*28*170582
GE*1*000170634
IEA*1*000170638
GS*PR*8036768725*SAMPLE001*20120930*0912*000170634*X*004010
ST*855*170582
BAK*00*AD*12379345*20120928****12315*20240124
DTM*055*20240124
DTM*070*20240124
N1*SE*USFOODS INC.*91*795140433~
N3*USFOODS INC.*9399 W HIGGINS ROAD SUITE 500~
N4*ROSEMONT*IL*60018~
N1*ST*CUST STORE NAME #1234*91*30706964~
N1*ST*CUST STORE NAME #1234*9*1234~
N1*SE*CHARLOTTE NORTH*91*5E2210~
PO1*10*1*CA*25.16*CA*VN*5154034~
CTP**CON
PID*F****SYRUP, PNCK MAPL FLVRD SS~
PO4**100*CS~
REF*FL*11*USF Product Class Code~
REF*87*34*USF Product Category Code~
REF*PG*123*USF Product Group Code~
ACK*IA*1*CA****VN*5154034*****MG*533500*MF*HEINZ*UP*10013000533505~
PO1*20*2*CA*25.73*CA*VN*5010202~
CTP**CON
PID*F****SUPPLEMENT, ENS CHOC NUTRL LIQ~
PO4**1*CS~
REF*FL*10*USF Product Class Code~
REF*87*33*USF Product Category Code~
REF*PG*118*USF Product Group Code~
ACK*IA*2*CA****VN*5010202*****MG*50462*MF*ENSURE IMMUNE HEALTH*UP*00070074504629~
CTT*1
SE*28*170582
GE*1*000170634
IEA*1*000170638
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.