X12 850 Retail Purchase Order
This X12 Transaction Set contains the format and establishes the data contents of the Purchase Order Transaction Set (850) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to the placement of purchase orders for goods and services. This transaction set should not be used to convey purchase order changes or purchase order acknowledgment information.
- ~ Segment
- * Element
- > Component
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
Code identifying the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00405
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2001
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
Code indicating whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- PO
- Purchase Order (850)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission; codes agreed to by trading partners
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
Assigned number originated and maintained by the sender
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
- 004050
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2001
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 850
- Purchase Order
Beginning Segment for Purchase Order
To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
Code identifying purpose of transaction set
- 00
- Original
- 07
- Duplicate
Code specifying the type of Purchase Order
Identifying number for Purchase Order assigned by the orderer/purchaser
Code qualifying the Reference Identification
- DP
- Department Number
Internal Vendor Number
To specify identifying information
Code qualifying the Reference Identification
- IA
- Internal Vendor Number
Code qualifying the Reference Identification
- PG
- Product Group
Code qualifying the Reference Identification
- VR
- Vendor ID Number
Terms of Sale/Deferred Terms of Sale
To specify terms of sale
Code identifying type of payment terms
- If the code in ITD01 is "04", then ITD07 or ITD09 is required and either ITD10 or ITD11 is required; if the code in ITD01 is "05", then ITD06 or ITD07 is required.
- 01
- Basic
- 02
- End of Month (EOM)
- 05
- Discount Not Applicable
- 08
- Basic Discount Offered
- 12
- 10 Days After End of Month (10 EOM)
Code identifying the beginning of the terms period
- 2
- Delivery Date
Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date
Number of days in the terms discount period by which payment is due if terms discount is earned
Number of days until total invoice amount is due (discount not applicable)
Cancel After
To specify pertinent dates and times
Requested Ship
To specify pertinent dates and times
Advertising Demographic Information
To convey advertising demographic information
Code identifying the agency assigning the code values
- ADV01 defines the source for each of the service characteristic qualifiers.
- ZZ
- Mutually Defined
Detail
Baseline Item Data
To specify basic and most frequently used line item data
- PO102 is required.
Alphanumeric characters assigned for differentiation within a transaction set
- PO101 is the line item identification.
Numeric value of quantity
- PO102 is quantity ordered.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- EA
- Each
Price per unit of product, service, commodity, etc.
Code identifying the type of unit price for an item
- QT
- Quoted
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- PO106 through PO125 provide for ten different product/service IDs per each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
- EN
- EAN/UCC - 13
- UP
- UCC - 12
Identifying number for a product or service
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- VA
- Vendor's Style Number
Identifying number for a product or service
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- P1
- Petroleum Accountants Society of Canada Operating and Maintenance Code - Goods and Services Tax Not Applicable
Pricing Information
To specify pricing information
Code identifying pricing specification
- MSR
- Manufacturer's Suggested Retail
- RES
- Resale
Price per unit of product, service, commodity, etc.
- See Figures Appendix for an example detailing the use of CTP03 and CTP04.
- See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
Product/Item Description
To describe a product or process in coded or free-form format
Code indicating the format of a description
- If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
- F
- Free-form
Code identifying the general class of a product or process characteristic
- 08
- Product
- 75
- Buyer's Color Description
- 91
- Buyer's Item Size Description
Service, Promotion, Allowance, or Charge Information
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
Code which indicates an allowance or charge for the service specified
- If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
- N
- No Allowance or Charge
Code identifying the agency assigning the code values
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
Agency maintained code identifying the service, promotion, allowance, or charge
- SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction with SAC03 to further define SAC02.
- HA
Destination Quantity
To specify destination and quantity detail
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- EA
- Each
Code designating the system/method of code structure used for Identification Code (67)
- SDQ02 is used only if different than previously defined in the transaction set.
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- SDQ03 is the store number.
Party Identification
To identify a party by type of organization, name, and code
Summary
Transaction Totals
To transmit a hash total for a specific element in the transaction set
- The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Saks Off 5th - Brick and Mortar Purchase Order - Sample
GS*PO*006989867*RECEIVERID*20211027*0230*2000048*X*004050VICS
ST*850*2000053
BEG*00*SA*0007703092**20211026
REF*VR*7118270
REF*DP*0903
REF*IA*96
REF*PG*47
ITD*01*2*****30
DTM*010*20220225
DTM*001*20220304
ADV*ZZ*01
MTX**SO5 Stores
MTX**All purchase orders placed by Saks & Company LLC d/b/a Saks OFF 5TH or Hudson's Bay Company ULC d/b/a Saks OFF 5TH for Saks OFF 5TH's stores business are governed by the terms and conditions set forth in the Saks OFF 5TH Vendor Standards Manual and any addenda, which are located at https://sites.google.com/hbc.com/hbc-vendor-standards/saks-off-5th/vendor-standards
PO1*1*2*EA*39.9*QT*UP*494880872090*VA*155506*******P1*5
CTP*RS*RES*89.99*1*EA
CTP*RS*MSR*95*1*EA
PID*F*08***BLOUSE
PID*F*75***WHT-WHITE
PID*F*91***S
SAC*N**VI*HA***********HANG
SDQ*EA*92*0405*1*0414*1
N1*ST*0575
PO1*2*1*EA*39.9*QT*UP*494880872106*VA*155506*******P1*5
CTP*RS*RES*89.99*1*EA
CTP*RS*MSR*95*1*EA
PID*F*08***BLOUSE
PID*F*75***WHT-WHITE
PID*F*91***M
SAC*N**VI*HA***********HANG
SDQ*EA*92*0405*1
N1*ST*0575
PO1*3*9*EA*39.9*QT*UP*494880872113*VA*155506*******P1*5
CTP*RS*RES*89.99*1*EA
CTP*RS*MSR*95*1*EA
PID*F*08***BLOUSE
PID*F*75***WHT-WHITE
PID*F*91***L
SAC*N**VI*HA***********HANG
SDQ*EA*92*0406*1*0414*1*0712*1*0718*1*0744*1*0755*1*0828*1*0842*1*0853*1
N1*ST*0575
CTT*3
SE*41*2000053
GE*1*2000048
IEA*1*002000048
Saks Off 5th - E-Commerce Purchase Order
GS*PO*006989867*RECEIVERID*20211027*0230*101*X*004050VICS
ST*850*0154
BEG*00*SA*0007716082**20211026
REF*VR*7010667
REF*DP*0904
REF*IA*502
REF*PG*48
ITD*01*2*****90
DTM*010*20211025
DTM*001*20211108
ADV*ZZ*01
MTX**All purchase orders placed by Saks OFF 5TH LLC for Saks OFF 5TH's e-commerce business are governed by the terms and conditions set forth in the Saks OFF 5TH Vendor Standards Manual and any addenda, which are located at https://sites.google.com/hbc.com/hbc-vendor-standards/saks-off-5th/vendor-standards
PO1*1*3*EA*17*QT*UP*495014241003*VA*TM12214*******P1*64
CTP*RS*RES*34.99*1*EA
CTP*RS*MSR*98*1*EA
PID*F*08***BLOUSE
PID*F*75***GRNMULTI
PID*F*91***S
SAC*N**VI*HA***********HANG
SDQ*EA*92*0789*3
N1*ST*9999
PO1*2*14*EA*17*QT*UP*495014241010*VA*TM12214*******P1*64
CTP*RS*RES*34.99*1*EA
CTP*RS*MSR*98*1*EA
PID*F*08***BLOUSE
PID*F*75***GRNMULTI
PID*F*91***M
SAC*N**VI*HA***********HANG
SDQ*EA*92*0789*14
N1*ST*9999
PO1*3*15*EA*17*QT*UP*495014241027*VA*TM12214*******P1*64
CTP*RS*RES*34.99*1*EA
CTP*RS*MSR*98*1*EA
PID*F*08***BLOUSE
PID*F*75***GRNMULTI
PID*F*91***L
SAC*N**VI*HA***********HANG
SDQ*EA*92*0789*15
N1*ST*9999
CTT*5
SE*40*0154
GE*1*101
IEA*1*000000101
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.