Stedi maintains this guide based on public documentation from Houser Shoes. Contact Houser Shoes 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
ST
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
PER
060
Administrative Communications Contact
Max use 3
Optional
CSH
110
Sales Requirements
Max use 5
Optional
DTM
150
Date/Time Reference
Max use 10
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
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)
—
- 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
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop Bill To
OptionalMax 1
N1
310
Heading > N1 Loop Bill To > 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
PER
360
Heading > N1 Loop Bill To > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Loop Bill To end
N1 Loop End User
OptionalMax 1
N1
310
Heading > N1 Loop End User > 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
PER
360
Heading > N1 Loop End User > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Loop End User end
N1 Loop Ship To
RequiredMax 1
N1
310
Heading > N1 Loop Ship To > 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
PER
360
Heading > N1 Loop Ship To > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Loop Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
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
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
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VP
- Vendor's (Seller's) Part Number
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
PID Loop
OptionalMax >1
PID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
850 E01 - houser
ISA*00* *00* *01*062560917 *12*4342390391 *221007*1210*U*00401*000067331*0*P*>~
GS*PO*062560917*4342390391*20221007*1210*000067331*X*004010~
ST*850*000067331~
BEG*00*DS*AAI45202**20221007~
DTM*010*20221007~
TD5*****fedex_FEDEX_GROUND~
N1*ST*Teresa Mrsich~
N3*26 Agor Lane~
N4*Mahopac*NY*10541~
PO1*1404212*1*EA*27.75**UP*017136802927~
CTT*1~
SE*10*000067331~
GE*1*000067331~
IEA*1*000067331~
GS*PO*062560917*4342390391*20221007*1210*000067331*X*004010~
ST*850*000067331~
BEG*00*DS*AAI45202**20221007~
DTM*010*20221007~
TD5*****fedex_FEDEX_GROUND~
N1*ST*Teresa Mrsich~
N3*26 Agor Lane~
N4*Mahopac*NY*10541~
PO1*1404212*1*EA*27.75**UP*017136802927~
CTT*1~
SE*10*000067331~
GE*1*000067331~
IEA*1*000067331~
850 E02 - houser (2 lines)
ISA*00* *00* *01*062560917 *08*6112490001 *221007*1210*U*00401*000067331*0*P*>~
GS*PO*062560917*6112490001*20221007*1210*000067331*X*004010~
ST*850*000067331~
BEG*00*DS*AAI45202**20221007~
DTM*010*20221007~
TD5*****fedex_FEDEX_GROUND~
N1*ST*Teresa Mrsich~
N3*26 Agor Lane~
N4*Mahopac*NY*10541~
PO1*1404212*1*EA*27.75**UP*017136802927~
PO1*1404213*1*EA*27.75**UP*017136802928~
CTT*1~
SE*11*000067331~
GE*1*000067331~
IEA*1*000067331~
GS*PO*062560917*6112490001*20221007*1210*000067331*X*004010~
ST*850*000067331~
BEG*00*DS*AAI45202**20221007~
DTM*010*20221007~
TD5*****fedex_FEDEX_GROUND~
N1*ST*Teresa Mrsich~
N3*26 Agor Lane~
N4*Mahopac*NY*10541~
PO1*1404212*1*EA*27.75**UP*017136802927~
PO1*1404213*1*EA*27.75**UP*017136802928~
CTT*1~
SE*11*000067331~
GE*1*000067331~
IEA*1*000067331~
850 Example
ISA*00* *00* *01*062560917 *ZZ*9999999999 *230308*0503*U*00401*000002037*0*T*>~
GS*PO*062560917*9999999999*20230308*0503*000002037*X*004010~
ST*850*000002037~
BEG*00*DS*12345**20230308~
DTM*010*20230308~
TD5*****fedex_FEDEX_GROUND~
N1*ST*EDI Test~
N3*100 Main Street~
N4*Raleigh*NC*27607~
PO1*43210*1*EA***UP*1111~
CTT*1~
SE*10*000002037~
GE*1*000002037~
IEA*1*000002037~
GS*PO*062560917*9999999999*20230308*0503*000002037*X*004010~
ST*850*000002037~
BEG*00*DS*12345**20230308~
DTM*010*20230308~
TD5*****fedex_FEDEX_GROUND~
N1*ST*EDI Test~
N3*100 Main Street~
N4*Raleigh*NC*27607~
PO1*43210*1*EA***UP*1111~
CTT*1~
SE*10*000002037~
GE*1*000002037~
IEA*1*000002037~
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.