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 850 Purchase Order
—
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
PER
060
Heading > PER
Administrative Communications Contact
OptionalMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 Loop
OptionalMax 200
N1
310
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
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax 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
—
Usage notes
—
- PE
- Price per Each
- PP
- Price per Pound
- UM
- Price per Unit of Measure
PID Loop
OptionalMax 1000
PID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax 1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA^00^ ^00^ ^ZZ^XXXXXXXXXX ^01^621418185 ^240124^0217^U^00400^999999999^0^P^>~
GS^PO^XXXXXXXXXX^621418185^20240124^0217^999999999^X^004010~
ST^850^999999999~
BEG^00^NE^PONUMBERA^^20240124~
REF^ZZ^USF-TRADING-PARTNERID~
REF^OS^PO-SOURCE~
PER^BD^ORDER CONTACT NAME^TE^1234567890~
DTM^002^20240124~
N1^SF^US FOODSERVICE DIVISION^91^4U~
N1^ST^CUSTOMER NAME^91^73661209~
N3^ADDRESS LINE 1~
N4^CITY^ZZ^12345~
REF^DP^00~
PO1^1^1^CA^12.34^UM^VN^0010892~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^5^EA^45.67^UM^VN^0141341~
PID^F^^^^PRODUCT DESCRIPTION~
CTT^2~
SE^17^999999999~
ST^850^999999998~
BEG^00^NE^PONUMBERB^^20240124~
REF^ZZ^USF-TRADING-PARTNERID~
REF^OS^PO-SOURCE~
PER^BD^ORDER CONTACT NAME^TE^1234567890~
DTM^002^20240124~
N1^SF^US FOODSERVICE DIVISION^91^9D~
N1^ST^CUSTOMER NAME^91^12345678~
N3^ADDRESS LINE 1~
N4^CITY^ZZ^12345~
REF^DP^00~
PO1^1^3^EA^12.34^PE^VN^1419332~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^2^CA^45.67^UM^VN^1326701~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^2^EA^45.67^PE^VN^1326701~
PID^F^^^^PRODUCT DESCRIPTION~
CTT^3~
SE^19^999999998~
GE^2^999999999~
IEA^1^999999999~
GS^PO^XXXXXXXXXX^621418185^20240124^0217^999999999^X^004010~
ST^850^999999999~
BEG^00^NE^PONUMBERA^^20240124~
REF^ZZ^USF-TRADING-PARTNERID~
REF^OS^PO-SOURCE~
PER^BD^ORDER CONTACT NAME^TE^1234567890~
DTM^002^20240124~
N1^SF^US FOODSERVICE DIVISION^91^4U~
N1^ST^CUSTOMER NAME^91^73661209~
N3^ADDRESS LINE 1~
N4^CITY^ZZ^12345~
REF^DP^00~
PO1^1^1^CA^12.34^UM^VN^0010892~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^5^EA^45.67^UM^VN^0141341~
PID^F^^^^PRODUCT DESCRIPTION~
CTT^2~
SE^17^999999999~
ST^850^999999998~
BEG^00^NE^PONUMBERB^^20240124~
REF^ZZ^USF-TRADING-PARTNERID~
REF^OS^PO-SOURCE~
PER^BD^ORDER CONTACT NAME^TE^1234567890~
DTM^002^20240124~
N1^SF^US FOODSERVICE DIVISION^91^9D~
N1^ST^CUSTOMER NAME^91^12345678~
N3^ADDRESS LINE 1~
N4^CITY^ZZ^12345~
REF^DP^00~
PO1^1^3^EA^12.34^PE^VN^1419332~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^2^CA^45.67^UM^VN^1326701~
PID^F^^^^PRODUCT DESCRIPTION~
PO1^2^2^EA^45.67^PE^VN^1326701~
PID^F^^^^PRODUCT DESCRIPTION~
CTT^3~
SE^19^999999998~
GE^2^999999999~
IEA^1^999999999~
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.