X12 Transaction Set
850 Purchase Order
The EDI 850 communicates order details from a buyer to a supplier: order identification in the BEG segment, line items in PO1, and shipping instructions in TD5. Suppliers typically respond with an 855 Purchase Order Acknowledgment.
ASC X12 version 004010. The most widely deployed 850 release in North American retail and logistics. Heading, detail, and summary structure below reflects the ASC X12 Purchase Order transaction set.
Segments & loops
Transaction set structure
Heading
- 0100STTransaction Set HeaderMandatorymax 1
- 0200BEGBeginning Segment for Purchase OrderMandatorymax 1
- 0400CURCurrencyOptionalmax 1
- 0500REFReference InformationOptionalmax >1
- 0600PERAdministrative Communications ContactOptionalmax 3
- 0700TAXTax ReferenceOptionalmax >1
- 0800FOBF.O.B. Related InstructionsOptionalmax >1
- 0900CTPPricing InformationOptionalmax >1
- 0950PAMPeriod AmountOptionalmax 10
- 1100CSHSales RequirementsOptionalmax 5
- 1150TC2CommodityOptionalmax >1
- SAC Looprepeat >1
- 1300ITDTerms of Sale/Deferred Terms of SaleOptionalmax >1
- 1400DISDiscount DetailOptionalmax 20
- 1450INCInstallment InformationOptionalmax 1
- 1500DTMDate/Time ReferenceOptionalmax 10
- 1800LINItem IdentificationOptionalmax 5
- 1850SIService Characteristic IdentificationOptionalmax >1
- 1900PIDProduct/Item DescriptionOptionalmax 200
- 2000MEAMeasurementsOptionalmax 40
- 2100PWKPaperworkOptionalmax 25
- 2200PKGMarking, Packaging, LoadingOptionalmax 200
- 2300TD1Carrier Details (Quantity and Weight)Optionalmax 2
- 2400TD5Carrier Details (Routing Sequence/Transit Time)Optionalmax >1
- 2500TD3Carrier Details (Equipment)Optionalmax 12
- 2600TD4Carrier Details (Special Handling, or Hazardous Materials, or Both)Optionalmax 5
- 2700MANMarks and Numbers InformationOptionalmax 10
- 2760PCTPercent AmountsOptionalmax >1
- 2800CTBRestrictions/ConditionsOptionalmax 5
- 2850TXITax InformationOptionalmax >1
- LDT Looprepeat >1
- AMT Looprepeat >1
- N9 Looprepeat 1000
- N1 Looprepeat >1
- 3100N1Party IdentificationMandatorymax 1
- 3200N2Additional Name InformationOptionalmax 2
- 3250IN2Individual Name Structure ComponentsOptionalmax >1
- 3300N3Party LocationOptionalmax 2
- 3400N4Geographic LocationOptionalmax >1
- 3450NX2Location ID ComponentOptionalmax >1
- 3500REFReference InformationOptionalmax 12
- 3600PERAdministrative Communications ContactOptionalmax >1
- 3650SIService Characteristic IdentificationOptionalmax >1
- 3700FOBF.O.B. Related InstructionsOptionalmax 1
- 3800TD1Carrier Details (Quantity and Weight)Optionalmax 2
- 3900TD5Carrier Details (Routing Sequence/Transit Time)Optionalmax 12
- 4000TD3Carrier Details (Equipment)Optionalmax 12
- 4100TD4Carrier Details (Special Handling, or Hazardous Materials, or Both)Optionalmax 5
- 4200PKGMarking, Packaging, LoadingOptionalmax 200
- LM Looprepeat >1
- SPI Looprepeat >1
- ADV Looprepeat >1
Detail
- PO1 Looprepeat >1
- 0100PO1Baseline Item DataMandatorymax 1
- 0150LINItem IdentificationOptionalmax >1
- 0180SIService Characteristic IdentificationOptionalmax >1
- 0200CURCurrencyOptionalmax 1
- 0250CN1Contract InformationOptionalmax 1
- 0300PO3Additional Item DetailOptionalmax 25
- 0310PALPallet Type and Load CharacteristicsOptionalmax 1
- CTP Looprepeat >1
- 0450PAMPeriod AmountOptionalmax 10
- 0490MEAMeasurementsOptionalmax 40
- PID Looprepeat 1000
- 0700PWKPaperworkOptionalmax 25
- 0900PO4Item Physical DetailsOptionalmax >1
- 1000REFReference InformationOptionalmax >1
- 1050YNQYes/No QuestionOptionalmax 25
- 1100PERAdministrative Communications ContactOptionalmax 3
- SAC Looprepeat >1
- 1400IT8Conditions of SaleOptionalmax 1
- 1420CSHSales RequirementsOptionalmax >1
- 1500ITDTerms of Sale/Deferred Terms of SaleOptionalmax >1
- 1600DISDiscount DetailOptionalmax 20
- 1650INCInstallment InformationOptionalmax 1
- 1700TAXTax ReferenceOptionalmax >1
- 1800FOBF.O.B. Related InstructionsOptionalmax >1
- 1900SDQDestination QuantityOptionalmax >1
- 2000IT3Additional Item DataOptionalmax 5
- 2100DTMDate/Time ReferenceOptionalmax 10
- 2350TC2CommodityOptionalmax >1
- 2400TD1Carrier Details (Quantity and Weight)Optionalmax 1
- 2500TD5Carrier Details (Routing Sequence/Transit Time)Optionalmax 12
- 2600TD3Carrier Details (Equipment)Optionalmax 12
- 2700TD4Carrier Details (Special Handling, or Hazardous Materials, or Both)Optionalmax 5
- 2760PCTPercent AmountsOptionalmax >1
- 2800MANMarks and Numbers InformationOptionalmax 10
- 2890MTXTextOptionalmax >1
- 2900SPISpecification IdentifierOptionalmax >1
- 2910TXITax InformationOptionalmax >1
- 2920CTBRestrictions/ConditionsOptionalmax >1
- QTY Looprepeat >1
- SCH Looprepeat 200
- 2950SCHLine Item ScheduleMandatorymax 1
- 2960TD1Carrier Details (Quantity and Weight)Optionalmax 2
- 2970TD5Carrier Details (Routing Sequence/Transit Time)Optionalmax 12
- 2980TD3Carrier Details (Equipment)Optionalmax 12
- 2990TD4Carrier Details (Special Handling, or Hazardous Materials, or Both)Optionalmax 5
- 3000REFReference InformationOptionalmax >1
- PKG Looprepeat 200
- 3200LSLoop HeaderOptionalmax 1
- LDT Looprepeat >1
- 3270LELoop TrailerOptionalmax 1
- N9 Looprepeat 1000
- N1 Looprepeat 200
- 3500N1Party IdentificationMandatorymax 1
- 3600N2Additional Name InformationOptionalmax 2
- 3650IN2Individual Name Structure ComponentsOptionalmax >1
- 3700N3Party LocationOptionalmax 2
- 3800N4Geographic LocationOptionalmax 1
- 3830QTYQuantity InformationOptionalmax >1
- 3850NX2Location ID ComponentOptionalmax >1
- 3900REFReference InformationOptionalmax 12
- 4000PERAdministrative Communications ContactOptionalmax 3
- 4050SIService Characteristic IdentificationOptionalmax >1
- 4060DTMDate/Time ReferenceOptionalmax 1
- 4100FOBF.O.B. Related InstructionsOptionalmax 1
- 4150SCHLine Item ScheduleOptionalmax 200
- 4200TD1Carrier Details (Quantity and Weight)Optionalmax 2
- 4300TD5Carrier Details (Routing Sequence/Transit Time)Optionalmax 12
- 4400TD3Carrier Details (Equipment)Optionalmax 12
- 4500TD4Carrier Details (Special Handling, or Hazardous Materials, or Both)Optionalmax 5
- 4600PKGMarking, Packaging, LoadingOptionalmax 200
- LDT Looprepeat >1
- SLN Looprepeat 1000
- 4700SLNSubline Item DetailMandatorymax 1
- 4750MTXTextOptionalmax >1
- 4800SIService Characteristic IdentificationOptionalmax >1
- 4900PIDProduct/Item DescriptionOptionalmax 1000
- 5000PO3Additional Item DetailOptionalmax 104
- 5025MEAMeasurementsOptionalmax >1
- 5050TC2CommodityOptionalmax >1
- 5130ADVAdvertising Demographic InformationOptionalmax >1
- 5150DTMDate/Time ReferenceOptionalmax 10
- 5160CTPPricing InformationOptionalmax 25
- 5170PAMPeriod AmountOptionalmax 10
- 5180PO4Item Physical DetailsOptionalmax 1
- 5190TAXTax ReferenceOptionalmax 3
- N9 Looprepeat >1
- SAC Looprepeat 25
- QTY Looprepeat >1
- N1 Looprepeat 10
- 5350N1Party IdentificationMandatorymax 1
- 5400N2Additional Name InformationOptionalmax 2
- 5450IN2Individual Name Structure ComponentsOptionalmax >1
- 5500N3Party LocationOptionalmax 2
- 5600N4Geographic LocationOptionalmax 1
- 5700NX2Location ID ComponentOptionalmax >1
- 5800REFReference InformationOptionalmax 12
- 5900PERAdministrative Communications ContactOptionalmax 3
- 5950SIService Characteristic IdentificationOptionalmax >1
- AMT Looprepeat >1
- LM Looprepeat >1
Example data
Sample 850
ISA*00* *00* *ZZ*ACMERETAIL *ZZ*VENDOR123 *260811*0530*U*00401*000000101*0*P*>~ GS*PO*ACMERETAIL*VENDOR123*20260811*0530*101*X*004010~ ST*850*0001~ BEG*00*SA*4500098211**20260811~ CUR*BY*USD~ REF*DP*0382~ PER*BD*Jane Miller*TE*5555555555~ FOB*PP*OR*Origin~ ITD*01*3*2**10**30~ DTM*002*20260901~ N1*ST*Acme Retail DC 42*92*0042~ N3*1200 Distribution Way~ N4*Columbus*OH*43004*US~ N1*VN*Vendor 123 Supply*92*V123~ PO1*1*24*EA*12.50**UP*012345678905*VN*SKU-1001~ PID*F****Blue Widget, 12 oz~ PO4*12*288*OZ~ PO1*2*6*CA*89.00**UP*012345678912*VN*SKU-2002~ PID*F****Red Widget Case Pack~ CTT*2*30~ SE*19*0001~ GE*1*101~ IEA*1*000000101~
Paste your data
850 parser
Paste a raw X12 850 file. Every segment and element is validated against the standard and highlighted — hover any value to see exactly which element it is.
Paste X12
ParsedStructure valid
1
ISA*00* *00* *ZZ*ACMERETAIL *ZZ*VENDOR123 *260811*0530*U*00401*000000101*0*P*>~
2
GS*PO*ACMERETAIL*VENDOR123*20260811*0530*101*X*004010~
3
ST*850*0001~
4
BEG*00*SA*4500098211* *20260811~
5
CUR*BY*USD~
6
REF*DP*0382~
7
PER*BD*Jane Miller*TE*5555555555~
8
FOB*PP*OR*Origin~
9
ITD*01*3*2* *10* *30~
10
DTM*002*20260901~
11
N1*ST*Acme Retail DC 42*92*0042~
12
N3*1200 Distribution Way~
13
N4*Columbus*OH*43004*US~
14
N1*VN*Vendor 123 Supply*92*V123~
15
PO1*1*24*EA*12.50* *UP*012345678905*VN*SKU-1001~
16
PID*F* * * *Blue Widget, 12 oz~
17
PO4*12*288*OZ~
18
PO1*2*6*CA*89.00* *UP*012345678912*VN*SKU-2002~
19
PID*F* * * *Red Widget Case Pack~
20
CTT*2*30~
21
SE*19*0001~
22
GE*1*101~
23
IEA*1*000000101~
Hover any highlighted value to see exactly which X12 element it maps to.
Data dictionary