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 (Import)
—
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
Reference Information
Max use 1
Required
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
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
Optional
detail
PO1 Loop
PO1
0100
Baseline Item Data
Max use 1
Required
PO4
0900
Item Physical Details
Max use 1
Optional
TC2
2350
Commodity
Max use 1
Optional
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
—
- CP
- Change to Purchase 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
TD5
2400
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use >1
—
Example
If Location Qualifier (TD5-07) is present, then Location Identifier (TD5-08) 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
—
- A
- Allowance
- C
- Charge
- N
- No Allowance or Charge
—
- 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
SAC Loop end
SLN Loop
OptionalMax >1
SLN
4700
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
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
—
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
—
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
SAC Loop
OptionalMax >1
SAC
5260
Detail > PO1 Loop > SLN Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
SAC Loop end
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231031*0104*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231031*010422*000000001*X*005010~
BEG*00*SA*0035890040**20120702~
REF*DP*0064~
REF*IA*31510119~
PER*BD*DJ KUNKIS*TE*(503) 232-8844~
FOB*CC~
CSH*Y~
ITD**2**********LETTER OF CREDIT~
DTM*001*20121006~
DTM*002*20121104~
DTM*010*20121001~
TD5****S~
N9*ZZ*COMMENTS~
MTX**Tatania Minguet: 310.252.6644~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092065~
N2*CLACKAMAS DISTR CTR GENERAL MDSE~
N3*11500 SE HWY 212~
N4*CLACKAMAS*OR*970159002~
PO1*1*1500*EA*5.41**UP*746775093808*PI*81760244*VN*W9739*VE*NA*C3*0954/0216~
SLN*0001**I*1*EA*3.95*WE**UP*883825493543*PI*30472617*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0002**I*2*EA*3.95*WE**UP*883825493550*PI*40472614*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0003**I*2*EA*3.95*WE**UP*883825493567*PI*50472611*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0004**I*1*EA*3.95*WE**UP*883825493574*PI*60472618*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
TC2*A*9503000071~
CTP**RTL*16~
PO4*1*************4~
SAC*N*D244******.1~
SAC*N*A170******.2164~
CTT*1~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20231031*010422*000000001*X*005010~
BEG*00*SA*0035890040**20120702~
REF*DP*0064~
REF*IA*31510119~
PER*BD*DJ KUNKIS*TE*(503) 232-8844~
FOB*CC~
CSH*Y~
ITD**2**********LETTER OF CREDIT~
DTM*001*20121006~
DTM*002*20121104~
DTM*010*20121001~
TD5****S~
N9*ZZ*COMMENTS~
MTX**Tatania Minguet: 310.252.6644~
N1*BT*FRED MEYER, INC.*9*0079088090000~
N3*P O BOX 305248~
N4*NASHVILLE*TN*372305103~
N1*ST*FRED MEYER STORES*9*0079088092065~
N2*CLACKAMAS DISTR CTR GENERAL MDSE~
N3*11500 SE HWY 212~
N4*CLACKAMAS*OR*970159002~
PO1*1*1500*EA*5.41**UP*746775093808*PI*81760244*VN*W9739*VE*NA*C3*0954/0216~
SLN*0001**I*1*EA*3.95*WE**UP*883825493543*PI*30472617*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0002**I*2*EA*3.95*WE**UP*883825493550*PI*40472614*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0003**I*2*EA*3.95*WE**UP*883825493567*PI*50472611*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
CTP**RTL*16~
SLN*0004**I*1*EA*3.95*WE**UP*883825493574*PI*60472618*VN*914-8119P*VE*ANTHRACITE IKARTGARD~
PID*F*08***NORTH SLOPE FZ HDY BLK-XL~
PID*F*74***XL~
TC2*A*9503000071~
CTP**RTL*16~
PO4*1*************4~
SAC*N*D244******.1~
SAC*N*A170******.2164~
CTT*1~
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.