Stedi maintains this guide based on public documentation from Fred Meyer. Contact Fred Meyer for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order (Domestic)
—
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
ST
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
REF
0500
Department Number
Max use 1
Required
REF
0500
Internal Vendor Number
Max use 1
Required
REF
0500
Promotion/Deal Number
Max use 1
Optional
PER
0600
Administrative Communications Contact
Max use 3
Required
FOB
0800
F.O.B. Related Instructions
Max use 1
Required
CSH
1100
Sales Requirements
Max use 5
Required
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
1500
Date/Time Reference
Max use 10
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)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- BK
- Blanket Order (Quantity Firm)
- RL
- Release or Delivery Order
- SA
- Stand-alone Order
PER
0600
Heading > PER
Administrative Communications Contact
RequiredMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
RequiredMax >1
N1
3100
Heading > N1 Loop > N1
Party Identification
RequiredMax use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- BO
- Broker or Sales Office—
- BT
- Bill-to-Party—
- BY
- Buying Party (Purchaser)—
- ST
- Ship To—
- VN
- Vendor—
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
—
- C3
- Classification
- EN
- EAN/UCC - 13
- IT
- Buyer's Style Number
- PI
- Purchaser's Item Code
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
—
- C3
- Classification
- EN
- EAN/UCC - 13
- IT
- Buyer's Style Number
- PI
- Purchaser's Item Code
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
—
- C3
- Classification
- EN
- EAN/UCC - 13
- IT
- Buyer's Style Number
- PI
- Purchaser's Item Code
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
—
- C3
- Classification
- EN
- EAN/UCC - 13
- IT
- Buyer's Style Number
- PI
- Purchaser's Item Code
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
—
- C3
- Classification
- EN
- EAN/UCC - 13
- IT
- Buyer's Style Number
- PI
- Purchaser's Item Code
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
CTP Loop
OptionalMax >1
CTP Loop end
PID Loop
OptionalMax >1
PID Loop end
SAC Loop
OptionalMax >1
SAC
1300
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
—
- A260
- Advertising Allowance
- B090
- Charges Forward/Advance Charge
- D170
- Free Goods
- D200
- Freight Charges to Destination
- E140
- Item-Unit
- F670
- Price and Marketing Allowance
- G590
- Salvage
- I060
- Ticketing Service
- I170
- Trade Discount
- I570
- Warehouse
—
- 01
- Bill Back
- 02
- Off Invoice
- 06
- Charge to be Paid by Customer
SAC Loop end
SDQ
1900
Detail > PO1 Loop > SDQ
Destination Quantity
OptionalMax use 500
—
Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
SLN Loop
OptionalMax >1
SLN
4700
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Usage notes
—
Example
If Basis of Unit Price Code (SLN-07) is present, then Unit Price (SLN-06) is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- EN
- EAN/UCC - 13
- UK
- GTIN 14-digit Data Structure
- UP
- UCC - 12
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0045*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231117*004515*000000001*X*005010~
ST*850*0001~
BEG*00*SA*0025534360**20110511~
REF*DP*0089~
REF*IA*10468800~
PER*BD*BJ HILLIER*TE*(503) 232-8844~
FOB*CC~
CSH*N~
ITD**2*****60*****NET 60DAYS~
DTM*001*20110714~
N9*ZZ*COMMENTS~
MTX**VENDOR TO MAKE PRICE TICKETS~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092461~
N2*CHEHALIS RSC DC - SCORS~
N3*220 MAURIN RD.~
N4*CHEHALIS*WA*985328716~
PO1**4*EA*35**UP*811990010845*PI*20604110*VN*DP-10*VE*BLACK*C3*0966/0880~
PID*F*08***NORTHSLOPE FZ HDY BLK-L~
PID*F*74***L~
PO4*1*************2~
SDQ*EA*92*00600*2*00608*2~
PO1**6*EA*35**UP*811990010869*PI*30604117*VN*DP-10*VE*BLACK*C3*0966/0880~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
PO4*1*************2~
SDQ*EA*92*00600*2*00608*2*00656*2~
CTT*3~
SE*30*0001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20231117*004515*000000001*X*005010~
ST*850*0001~
BEG*00*SA*0025534360**20110511~
REF*DP*0089~
REF*IA*10468800~
PER*BD*BJ HILLIER*TE*(503) 232-8844~
FOB*CC~
CSH*N~
ITD**2*****60*****NET 60DAYS~
DTM*001*20110714~
N9*ZZ*COMMENTS~
MTX**VENDOR TO MAKE PRICE TICKETS~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092461~
N2*CHEHALIS RSC DC - SCORS~
N3*220 MAURIN RD.~
N4*CHEHALIS*WA*985328716~
PO1**4*EA*35**UP*811990010845*PI*20604110*VN*DP-10*VE*BLACK*C3*0966/0880~
PID*F*08***NORTHSLOPE FZ HDY BLK-L~
PID*F*74***L~
PO4*1*************2~
SDQ*EA*92*00600*2*00608*2~
PO1**6*EA*35**UP*811990010869*PI*30604117*VN*DP-10*VE*BLACK*C3*0966/0880~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
PO4*1*************2~
SDQ*EA*92*00600*2*00608*2*00656*2~
CTT*3~
SE*30*0001~
GE*1*000000001~
IEA*1*000000001~
Sample 2
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0046*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231117*004650*000000001*X*005010~
ST*850*0001~
BEG*00*SA*0057575327*1*20141121~
REF*DP*0089~
REF*IA*41149606~
PER*BD*MM MCKIBBEN*TE*(503) 232-8844~
FOB*CC~
CSH*N~
ITD**2*****60*****NET 60 DAYS~
DTM*001*20150203~
DTM*002*20150210~
DTM*010*20150203~
N9*ZZ*COMMENTS~
MTX**PROVIDE A GENERAL COMPLIANCY CERTIFICATE FOR~
MTX**APPLICABLE PRODUCTS MANUFACTURED AFTER~
MTX**NOVEMBER 12, 2008 INDICATING THAT THE PRODUCTS~
MTX**HAVE MET ALL APPLICABLE PRODUCT SAFETY STANDARDS~
MTX**AS PER U.S. CONSUMER PRODUCTS SAFETY IMPROVEMENT~
MTX**ACT OF 2008. CERTIFICATES THAT ARE NOT ALREADY~
MTX**ACCESSIBLE IN ELECTRONIC FORMAT ACCORDING TO~
MTX**CPSC GUIDELINES SHOULD BE~
MTX**EMAILED TO CPSCCERTIFICATION@KROGER.COM~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092461~
N2*CHEHALIS RSC DC - SCORS~
N3*220 MAURIN RD.~
N4*CHEHALIS*WA*985328716~
PO1**3*ST*23.7**IT*883825493536*PI*35672616*VN*F4GK001*VE*NIGHTSHADE*C3*0968/0833~
PO4*1*************1~
SDQ*ST*92*00127*1*00600*1*00656*1~
SLN*0001**I*1*EA*6.5*WE**UP*888777156027*PI*63936711*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***S~
CTP**RTL*30~
SLN*0002**I*2*EA*6.5*WE**UP*888777156034*PI*04936718*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***M~
CTP**RTL*30~
SLN*0003**I*2*EA*6.5*WE**UP*888777156041*PI*24936712*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***L~
CTP**RTL*30~
SLN*0004**I*1*EA*6.5*WE**UP*888777156058*PI*44936716*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***XL~
CTP**RTL*30~
CTT*2~
SE*45*0001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20231117*004650*000000001*X*005010~
ST*850*0001~
BEG*00*SA*0057575327*1*20141121~
REF*DP*0089~
REF*IA*41149606~
PER*BD*MM MCKIBBEN*TE*(503) 232-8844~
FOB*CC~
CSH*N~
ITD**2*****60*****NET 60 DAYS~
DTM*001*20150203~
DTM*002*20150210~
DTM*010*20150203~
N9*ZZ*COMMENTS~
MTX**PROVIDE A GENERAL COMPLIANCY CERTIFICATE FOR~
MTX**APPLICABLE PRODUCTS MANUFACTURED AFTER~
MTX**NOVEMBER 12, 2008 INDICATING THAT THE PRODUCTS~
MTX**HAVE MET ALL APPLICABLE PRODUCT SAFETY STANDARDS~
MTX**AS PER U.S. CONSUMER PRODUCTS SAFETY IMPROVEMENT~
MTX**ACT OF 2008. CERTIFICATES THAT ARE NOT ALREADY~
MTX**ACCESSIBLE IN ELECTRONIC FORMAT ACCORDING TO~
MTX**CPSC GUIDELINES SHOULD BE~
MTX**EMAILED TO CPSCCERTIFICATION@KROGER.COM~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092461~
N2*CHEHALIS RSC DC - SCORS~
N3*220 MAURIN RD.~
N4*CHEHALIS*WA*985328716~
PO1**3*ST*23.7**IT*883825493536*PI*35672616*VN*F4GK001*VE*NIGHTSHADE*C3*0968/0833~
PO4*1*************1~
SDQ*ST*92*00127*1*00600*1*00656*1~
SLN*0001**I*1*EA*6.5*WE**UP*888777156027*PI*63936711*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***S~
CTP**RTL*30~
SLN*0002**I*2*EA*6.5*WE**UP*888777156034*PI*04936718*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***M~
CTP**RTL*30~
SLN*0003**I*2*EA*6.5*WE**UP*888777156041*PI*24936712*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***L~
CTP**RTL*30~
SLN*0004**I*1*EA*6.5*WE**UP*888777156058*PI*44936716*VE*ANTHRACITE IKAT GARD*VN*914-8119P~
PID*F*74***XL~
CTP**RTL*30~
CTT*2~
SE*45*0001~
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.