Stedi maintains this guide based on public documentation from Hudson's Bay. Contact Hudson's Bay 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
CUR
040
Currency
Max use 1
Required
REF
050
Department Number
Max use 1
Required
REF
050
Internal Vendor Number
Max use 1
Required
REF
050
Merchandise Type Code or Promotion/Deal Number
Max use 1
Required
FOB
080
F.O.B. Related Instructions
Max use 1
Required
CSH
110
Sales Requirements
Max use 5
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
150
Do Not Deliver After
Max use 10
Required
DTM
150
Do Not Deliver Before
Max use 10
Required
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
REF
050
Heading > REF
Department Number
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
REFInternal Vendor NumberREFMerchandise Type Code or Promotion/Deal NumberREF
050
Heading > REF
Merchandise Type Code or Promotion/Deal Number
RequiredMax use >1
—
Usage notes
—
Example
SAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
—
- A400
- Allowance Non-performance—
- C000
- Defective Allowance
- C300
- Discount - Special—
- C320
- Display Allowance—
- E740
- New Store Allowance
- E800
- No Return Credit Allowance
- G590
- Salvage—
- G690
- Select Charge
- I170
- Trade Discount
- I570
- Warehouse
—
Usage notes
—
SAC Loop end
—
- 01
- Basic
- 02
- End of Month (EOM)
- 05
- Discount Not Applicable
- 08
- Basic Discount Offered
- 12
- 10 Days After End of Month (10 EOM)
DTM
150
Heading > DTM
Do Not Deliver After
RequiredMax use 10
—
Usage notes
—
Example
Variants (all may be used)
DTMDo Not Deliver BeforeDTM
150
Heading > DTM
Do Not Deliver Before
RequiredMax use 10
—
Usage notes
—
Example
Variants (all may be used)
DTMDo Not Deliver AfterTD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Usage notes
—
Example
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
RequiredMax >1
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
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
—
- EN
- European Article Number (EAN) (2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
CTP Unit cost price
RequiredMax >1
Variants (all may be used)
ResaleCTP
040
Detail > PO1 Loop > Unit cost price > CTP
Pricing Information
RequiredMax use 1
—
Usage notes
—
Example
CTP Unit cost price end
PID Loop
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
SAC Loop end
SDQ
190
Detail > PO1 Loop > SDQ
Destination Quantity
RequiredMax use 500
—
Usage notes
—
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
470
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Usage notes
—
Example
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
If either Product/Service ID Qualifier (SLN-17) or Product/Service ID (SLN-18) is present, then the other is required
RequiredMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- EN
- European Article Number (EAN) (2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Bay Case Pack Purchase Order
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0155*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20231101*015519*000000001*X*004010
ST*850*401004165
BEG*00*SA*44937250596**20191029
CUR*BY*CAD
REF*DP*0269*269 INTIMATE APPAREL
REF*MR*01*General
REF*IA*036020
FOB*PP*ZZ*Distribution Ce
ITD*08*2*2**20**30
DTM*064*20191104
DTM*063*20191108
N9*AH*44937250596
MSG* BAY PO
MSG*TRASupplier's Truck: CAMION DU FOURNISSEUR.
MSG* POUP - 000000000000000
N1*ST**92*0596
PO1*1*27*CA***UP*044443765846*IT*4102B*IN*86929771*BO*NO COLOR*IZ*NO SIZE
CTP**UCP*67.5
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*CA*92*VT1104*1*VT1106*1*VT1107*2*VV1108*1*CX1116*1*VT1118*2*VT1119*1*CX1144*1*VT1149*1*VV1161*2
SDQ*CA*92*EY1183*1*TR1526*2*TR1527*1*TQ1541*1*TR1543*1*TQ1550*1*TR1560*1*TR1604*1*TR1613*2*TR1633*1
SDQ*CA*92*TR1647*1*TR1649*1
SLN*1**I*2*EA****UP*044443765747*IT*4102B*IN*86919344*BO*SAND*IZ*LG
CTP**RES*34
PO4*2
SLN*1**I*2*EA****UP*044443765754*IT*4102B*IN*86919345*BO*SAND*IZ*MD
CTP**RES*34
PO4*2
SLN*1**I*1*EA****UP*044443765761*IT*4102B*IN*86919346*BO*SAND*IZ*SM
CTP**RES*34
PO4*1
SLN*1**I*1*EA****UP*044443765778*IT*4102B*IN*86919347*BO*SAND*IZ*XL
CTP**RES*34
PO4*1
CTT*1
SE*36*401004165
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20231101*015519*000000001*X*004010
ST*850*401004165
BEG*00*SA*44937250596**20191029
CUR*BY*CAD
REF*DP*0269*269 INTIMATE APPAREL
REF*MR*01*General
REF*IA*036020
FOB*PP*ZZ*Distribution Ce
ITD*08*2*2**20**30
DTM*064*20191104
DTM*063*20191108
N9*AH*44937250596
MSG* BAY PO
MSG*TRASupplier's Truck: CAMION DU FOURNISSEUR.
MSG* POUP - 000000000000000
N1*ST**92*0596
PO1*1*27*CA***UP*044443765846*IT*4102B*IN*86929771*BO*NO COLOR*IZ*NO SIZE
CTP**UCP*67.5
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*CA*92*VT1104*1*VT1106*1*VT1107*2*VV1108*1*CX1116*1*VT1118*2*VT1119*1*CX1144*1*VT1149*1*VV1161*2
SDQ*CA*92*EY1183*1*TR1526*2*TR1527*1*TQ1541*1*TR1543*1*TQ1550*1*TR1560*1*TR1604*1*TR1613*2*TR1633*1
SDQ*CA*92*TR1647*1*TR1649*1
SLN*1**I*2*EA****UP*044443765747*IT*4102B*IN*86919344*BO*SAND*IZ*LG
CTP**RES*34
PO4*2
SLN*1**I*2*EA****UP*044443765754*IT*4102B*IN*86919345*BO*SAND*IZ*MD
CTP**RES*34
PO4*2
SLN*1**I*1*EA****UP*044443765761*IT*4102B*IN*86919346*BO*SAND*IZ*SM
CTP**RES*34
PO4*1
SLN*1**I*1*EA****UP*044443765778*IT*4102B*IN*86919347*BO*SAND*IZ*XL
CTP**RES*34
PO4*1
CTT*1
SE*36*401004165
GE*1*000000001
IEA*1*000000001
Bay Purchase Order
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0155*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20231101*015532*000000001*X*004010
ST*850*401010590
BEG*00*SA*49336520596**20200708
CUR*BY*CAD
REF*DP*0288*288 FRAGRANCES
REF*MR*01*General
REF*IA*079999
FOB*PP*ZZ*Distribution Ce
ITD*01*2*****30
DTM*064*20200804
DTM*063*20200811
N9*AH*49336520596
MSG* BAY PO
MSG*TRASupplier's Truck: CAMION DU FOURNISSEUR.
MSG* POUP - JPG
N1*ST**92*0596
PO1*1*60*EA***EN*9999999999999*IT*TJ157601*IN*91772700*BO*NO COLOR*IZ*10 ML
CTP**UCP*36
CTP**RES*100
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*EA*92*VT1101*3*VT1104*3*VT1106*3*VT1107*3*VV1108*3*VT1109*3*VV1111*3*TW1112*3*TW1113*3*CX1114*3
SDQ*EA*92*CX1116*3*TW1117*3*VT1118*3*VT1119*3*TW1120*3*EY1125*3*VT1127*3*VT1131*3*EY1135*3*CX1136*3
PO1*2*10*EA***EN*9999999999999*IT*TJ177600*IN*91772702*BO*NO COLOR*IZ*80 ML
CTP**UCP*36
CTP**RES*100
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*EA*92*VT1101*1*VT1104*1*VT1106*1*VT1107*1*VV1108*1*VT1109*1*VV1111*1*TW1112*1*TW1113*1*CX1114*1
SDQ*EA*92*CX1116*1*TW1117*1*VT1118*1*VT1119*1*TW1120*1*EY1125*1*VT1127*1*VT1131*1*EY1135*1*CX1136*1
CTT*3
SE*31*401010590
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20231101*015532*000000001*X*004010
ST*850*401010590
BEG*00*SA*49336520596**20200708
CUR*BY*CAD
REF*DP*0288*288 FRAGRANCES
REF*MR*01*General
REF*IA*079999
FOB*PP*ZZ*Distribution Ce
ITD*01*2*****30
DTM*064*20200804
DTM*063*20200811
N9*AH*49336520596
MSG* BAY PO
MSG*TRASupplier's Truck: CAMION DU FOURNISSEUR.
MSG* POUP - JPG
N1*ST**92*0596
PO1*1*60*EA***EN*9999999999999*IT*TJ157601*IN*91772700*BO*NO COLOR*IZ*10 ML
CTP**UCP*36
CTP**RES*100
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*EA*92*VT1101*3*VT1104*3*VT1106*3*VT1107*3*VV1108*3*VT1109*3*VV1111*3*TW1112*3*TW1113*3*CX1114*3
SDQ*EA*92*CX1116*3*TW1117*3*VT1118*3*VT1119*3*TW1120*3*EY1125*3*VT1127*3*VT1131*3*EY1135*3*CX1136*3
PO1*2*10*EA***EN*9999999999999*IT*TJ177600*IN*91772702*BO*NO COLOR*IZ*80 ML
CTP**UCP*36
CTP**RES*100
PO4*1*************1
SAC*N**VI*TC091102***********RETAILTICKETREQ
SDQ*EA*92*VT1101*1*VT1104*1*VT1106*1*VT1107*1*VV1108*1*VT1109*1*VV1111*1*TW1112*1*TW1113*1*CX1114*1
SDQ*EA*92*CX1116*1*TW1117*1*VT1118*1*VT1119*1*TW1120*1*EY1125*1*VT1127*1*VT1131*1*EY1135*1*CX1136*1
CTT*3
SE*31*401010590
GE*1*000000001
IEA*1*000000001
MHF Purchase Order
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0155*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20231101*015544*000000001*X*004010
ST*850*401001365
BEG*00*SA*4505805**20191103
CUR*BY*CAD
REF*DP*0515*MAJOR HOME FASHION
REF*MR*01*General
REF*IA*461996
FOB*PP*ZZ*Distribution Ce
ITD*08*2*1.5**25**25
DTM*064*20191106
DTM*063*20191111
N1*ST**92*0508
PO1*1*1*EA***UP*400912121594*IT*CL PT-F*IN*91212159*BO*WHITE*IZ*QUEEN/ GR
CTP**UCP*375
CTP**RES*599.99
PID*F****QMATT.CELINE.CL PT-F
PID*F****DESCR: QMATT
PID*F****BRAND: ABC MATTRESS
PID*F****MODEL: CELINE
PID*F****FSTYLE: CL PT-F
PO4*1*************1
SDQ*EA*92*0508*1
PO1*2*1*EA***UP*400912121679*IT*QBOX*IN*91212167*BO*WHITE*IZ*QUEEN/ GR
CTP**UCP*105
CTP**RES*100
PID*F****QBOX.CELINE.CELINE-BOX
PID*F****DESCR: QBOX
PID*F****BRAND: ABC MATTRESS
PID*F****MODEL: CELINE
PID*F****FSTYLE: QBOX
PO4*1*************1
SDQ*EA*92*0508*1
CTT*2
SE*33*401001365
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20231101*015544*000000001*X*004010
ST*850*401001365
BEG*00*SA*4505805**20191103
CUR*BY*CAD
REF*DP*0515*MAJOR HOME FASHION
REF*MR*01*General
REF*IA*461996
FOB*PP*ZZ*Distribution Ce
ITD*08*2*1.5**25**25
DTM*064*20191106
DTM*063*20191111
N1*ST**92*0508
PO1*1*1*EA***UP*400912121594*IT*CL PT-F*IN*91212159*BO*WHITE*IZ*QUEEN/ GR
CTP**UCP*375
CTP**RES*599.99
PID*F****QMATT.CELINE.CL PT-F
PID*F****DESCR: QMATT
PID*F****BRAND: ABC MATTRESS
PID*F****MODEL: CELINE
PID*F****FSTYLE: CL PT-F
PO4*1*************1
SDQ*EA*92*0508*1
PO1*2*1*EA***UP*400912121679*IT*QBOX*IN*91212167*BO*WHITE*IZ*QUEEN/ GR
CTP**UCP*105
CTP**RES*100
PID*F****QBOX.CELINE.CELINE-BOX
PID*F****DESCR: QBOX
PID*F****BRAND: ABC MATTRESS
PID*F****MODEL: CELINE
PID*F****FSTYLE: QBOX
PO4*1*************1
SDQ*EA*92*0508*1
CTT*2
SE*33*401001365
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.