Stedi maintains this guide based on public documentation from Buckle. Contact Buckle for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
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
CUR
0400
Currency
Max use 1
Optional
REF
0500
Reference Information Department
Max use 1
Optional
REF
0500
Reference Information Internal Vendor Number
Max use 1
Optional
PER
0600
Administrative Communications Contact
Max use 3
Optional
FOB
0800
F.O.B. Related Instructions
Max use 1
Optional
CSH
1100
Sales Requirements
Max use 5
Optional
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
1500
Date/Time Reference Cancel
Max use 1
Optional
DTM
1500
Date/Time Reference Requested Ship
Max use 1
Optional
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
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
REF
0500
Heading > REF
Reference Information Department
OptionalMax use 1
—
Example
Variants (all may be used)
REFReference Information Internal Vendor NumberREF
0500
Heading > REF
Reference Information Internal Vendor Number
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information DepartmentPER
0600
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
DTM
1500
Heading > DTM
Date/Time Reference Cancel
OptionalMax use 1
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested ShipDTM
1500
Heading > DTM
Date/Time Reference Requested Ship
OptionalMax use 1
—
Example
Variants (all may be used)
DTMDate/Time Reference CancelTD5
2400
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use >1
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity (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-10) or Product/Service ID (PO1-11) 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-12) or Product/Service ID (PO1-13) is present, then the other is required
CTP Loop
OptionalMax >1
CTP Loop end
PID Loop
OptionalMax >1
PID Loop end
DTM
2100
Detail > PO1 Loop > DTM
Date/Time Reference Cancel After
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested ShipDTM
2100
Detail > PO1 Loop > DTM
Date/Time Reference Requested Ship
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Cancel AfterSLN Loop
OptionalMax >1
SLN
4700
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Example
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
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
Sample 850
ST*850*46440001~
BEG*05*SA*0999999**20230331~
CUR*BY*USD~
REF*DP*062~
REF*IA*999999~
PER*CN*EDI Support*EM*EDI.SUPPORT@BUCKLE.COM~
CSH*SC~
ITD*04*1*0.5**30**30~
PO1*0001*340*EA*7.5*LE*SK*999999100*IT*XXX*BO*WHT*IZ*SMALL~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*340~
DTM*001*20230428~
DTM*010*20230414~
PO1*0002*445*EA*7.5*LE*SK*999999200*IT*XXX*BO*WHT*IZ*MEDIUM~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*445~
DTM*001*20230428~
DTM*010*20230414~
PO1*0003*360*EA*7.5*LE*SK*999999300*IT*XXX*BO*WHT*IZ*LARGE~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*360~
DTM*001*20230428~
DTM*010*20230414~
PO1*0004*85*EA*7.5*LE*SK*999999400*IT*XXX*BO*WHT*IZ*XLARGE~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*85~
DTM*001*20230428~
DTM*010*20230414~
PO1*0005*50*EA*7.5*LE*SK*999999600*IT*XXX*BO*WHT*IZ*XSMALL~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*50~
DTM*001*20230428~
DTM*010*20230414~
CTT*5~
BEG*05*SA*0999999**20230331~
CUR*BY*USD~
REF*DP*062~
REF*IA*999999~
PER*CN*EDI Support*EM*EDI.SUPPORT@BUCKLE.COM~
CSH*SC~
ITD*04*1*0.5**30**30~
PO1*0001*340*EA*7.5*LE*SK*999999100*IT*XXX*BO*WHT*IZ*SMALL~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*340~
DTM*001*20230428~
DTM*010*20230414~
PO1*0002*445*EA*7.5*LE*SK*999999200*IT*XXX*BO*WHT*IZ*MEDIUM~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*445~
DTM*001*20230428~
DTM*010*20230414~
PO1*0003*360*EA*7.5*LE*SK*999999300*IT*XXX*BO*WHT*IZ*LARGE~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*360~
DTM*001*20230428~
DTM*010*20230414~
PO1*0004*85*EA*7.5*LE*SK*999999400*IT*XXX*BO*WHT*IZ*XLARGE~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*85~
DTM*001*20230428~
DTM*010*20230414~
PO1*0005*50*EA*7.5*LE*SK*999999600*IT*XXX*BO*WHT*IZ*XSMALL~
CTP**RES*34.99~
PID*F****SLEEVELESS FUNNEL MO~
SDQ*EA*92*900*50~
DTM*001*20230428~
DTM*010*20230414~
CTT*5~
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.