X12 850 Purchase Order
This Draft Standard for Trial Use 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
- None included
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify 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 to identify 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)
Qualifier to designate 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
Qualifier to designate 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
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
This version number covers the interchange control segments
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate 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
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 used in conjunction with Data Element 480 to identify the issuer of the standard
- 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
- 004010
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997
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) 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
Code specifying the type of Purchase Order
ISOS, RSOS, SAS, and SIMI code:
SA Stand-alone Order
RIM Code:
RE Reorder
RPCcodes:
RE Reorder
SA Stand-alone Order
SAS code:
SA Stand-alone Order
SDC code:
IN Information Copy
- IN
- Information Copy
- RE
- Reorder
- SA
- Stand-alone Order
Identifying number for Purchase Order assigned by the orderer/purchaser
Reference Identification
To specify identifying information
Some numbers transmitted in the REF segment in the purchase order, such as department number, merchandise type code and internal vendor number, are required to be returned in the 810 invoice, the 856 ship notice or other transaction sets as detailed in that documentation.
If transmitted in the purchase order, the media/event code (REFPD), Authorization for Expense (AFE) Number (REFAE), and the selling division (REF*19) must be returned in the 810 invoice transaction set.
The value of REF*IA is application-specific. It must be returned in
the 856 Ship Notice for all shipments except RPC. The vendor numbers used in the 810 invoice should be confirmed with Accounts Payable prior to implementing the 810 invoice transaction set.For RSOS, the REFMR in the order must be returned in the 856 ship
notice.
REFMRRSOS01 indicates a direct-to-store order
REFMRRSOS02 indicates a direct-to-customer order
REFMR*RSOS03 indicates an order shipped to an installerFor ISOS, if qualifier CO is present in REF01, REF02 contains the full sales check number that must be printed on the customer’s packslip.
This is used for for specific vendors only; vendors will be contacted before this data is sent.For ISOS, if qualifier RZ is present in REF01, REF02 contains the Return Goods Authorization Number. This must be printed on the customer’s return form. This is used for for specific vendors only; vendors will be contacted before this data is sent.
For ISOS, the REFMR must be returned in the 856 ship notice.
REFMRD2C indicates a direct-to-customer order
REFMRD2S indicates a direct-to-store order
REFMR*S2I indicates an order shipped to an installerFor ISOS, this segment may also be used to specify a reservation number. REF01 will contain code FI, and the reservation number will be specified in REF02. If it applies to your company, the reservation number process will be covered with you by your Sears’ buyer prior to your first purchase order.
Code qualifying the Reference Identification
- 19
- Division Identifier
- BT
- Batch Number
- CO
- Customer Order Number
- DP
- Department Number
- FI
- File Identifier
- IA
- Internal Vendor Number
- MR
- Merchandise Type Code
- PD
- Promotion/Deal Number
- RZ
- Returned Goods Authorization Number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
3 - 3 Division identifier (REF01=19)
3 - 3 Batch number (REF01=BT)
12 - 12 Customer order number (REF01=CO)
3 - 3 Department number (REF01=DP)
1 – 30 File identification (REF01=FI)
9 - 9 Internal vendor number (REF01=IA)
3 - 6 Merchandise type code (REF01=MR)
2 - 2 Promotion/deal number (event code)
(REF01=PD)
1-30 Returned Goods Authorization Number
(REF01=RZ)
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
ISOS code:
DC Delivery Contact
SIMI codes:
DC Delivery Contact
SC Schedule Contact
- DC
- Delivery Contact
- SC
- Schedule Contact
Code identifying the type of communication number
- EM
- Electronic Mail
- TE
- Telephone
F.O.B. Related Instructions
To specify transportation instructions relating to shipment
The FOB segment is present only if the freight has been prepaid by the Seller.
Sales Requirements
To specify general conditions or requirements of the sale
All RPC orders will be coded P2 - Ship ASAP. No requested ship date will be sent in the DTM segment.
2. For ISOS, this segment may be used to specify sales and shipment requirements.
3. For ISOS, you may ship earlier than the ship date specified in DTM02 unless CSH01 contains code value P4 (Do Not Preship).
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 service, promotion, allowance, or charge
- A172
- Administrative
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 to further the code in SAC02.
- OHNS
- OHPR
- OHRO
- OHSB
- OHSO
- OHZQ
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
Dollar amount to be printed on packslip if for ISOS
purchase orders when SAC15 contains the literal ‘REDUCTION’, ‘SHIPPING’ or ‘TAX’. As this is an N2 element, which indicates an implied decimal placement two positions from the right.
EXAMPLES: 1000 in SAC05 must be printed on packslip
as 10.00; 55 in SAC05 must be printed on packslip as .55 or 0.55
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
Literal ‘GIFT
Code specifying type of date or time, or both date and time
- 006
- Sold
- 009
- Process
- 010
- Requested Ship
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)
Carrier Details (Routing Sequence/Transit Time)
To specify the carrier and sequence of routing and provide transit time information
For ISOS, this segment may be used to specify premium shipping by using the code values in TD512. If proof of delivery (code value ET) and another shipping method are both used, code value ET will be specified in TD513.
For SIMI, this segment is used to specify the carrier that must be used.
Code designating the system/method of code structure used for Identification Code (67)
- When specifying a routing sequence to be used for the shipment movement in lieu of specifying each carrier within the movement, use TD502 to identify the party responsible for defining the routing sequence, and use TD503 to identify the actual routing sequence, specified by the party identified in TD502.
- 2
- Standard Carrier Alpha Code (SCAC)
Code specifying the method or type of transportation for the shipment
- H
- Customer Pickup
Code indicating the level of transportation service or the billing service offered by the transportation carrier
- 09
- Premium Surface
- ET
- Proof of Delivery (POD) with Signature
- ND
- Next Day Air
- PB
- Priority Mail
- SC
- Second Day Air
The N9 may be present in RSOS orders to indicate there are delivery instructions or messages. The actual text will be found in the following MSG segment.
The N9 may be present in ISOS orders to indicate there are promotional messages. The actual text will be found in the following MSG segment.
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- L1
- Letters or Notes
- PD
- Promotion/Deal Number
Message Text
To provide a free-form format that allows the transmission of text information
The MSG segment will be present in RSOS and ISOS orders only.
In RSOS orders, the MSG segment may be sent up to 2 times. It is used to communicate special delivery instructions in RSOS direct-to customer special orders.
For Sears.com vendors (N1*BY contains unit 9300), the MSG segment may contain premium routing codes listed below.
In ISOS orders, up to 5 MSG segments to specify promotional messages may be sent per N9 loop.
Name
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BY
- Buying Party (Purchaser)
- FR
- Message From
- OB
- Ordered By
- SF
- Ship From
- ST
- Ship To
- Z7
- Mark-for Party
Code designating the system/method of code structure used for Identification Code (67)
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
4 – 7 Buying party (Bill to location code) (N101=BY)
10 – 10 Message from (GS Sender ID) (N101=FR)
9 – 11 Vendor ship point number (N101=SF)
4 – 7 Ship to location code (N101=ST)
4 – 7 Mark for location code (N101=Z7)
Additional Name Information
To specify additional names or those longer than 35 characters in length
Address Information
To specify the location of the named party
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code (Standard State/Province) as defined by appropriate government agency
- N402 is required only if city name (N401) is in the U.S. or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- DC
- Delivery Contact
- OC
- Order Contact
Code identifying the type of communication number
- EM
- Electronic Mail
- FC
- HP
- Home Phone Number
- TE
- Telephone
- WP
- Work Phone Number
Carrier Details (Special Handling, or Hazardous Materials, or Both)
To specify transportation special handling requirements, or hazardous materials information, or both
Code specifying special transportation handling instructions
- HAN
- Handling
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.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Price per unit of product, service, commodity, etc.
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
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
13 – 13 European Article Number (PO1 Qualifier=EN)
4 – 5 Sears’ Item Number (PO1 Qualifier=IN)
1 – 30 Buyer’s Style number (PO1 Qualifier=IT)
3 – 3 Sears’ SKU number (PO1 Qualifier=IZ)
1 – 30 Model Number (PO1 Qualifier=MN)
1 – 24 Company Part Number (PO1 Qualifier=PN)
12 – 12 U.P.C. Number (PO1 Qualifier=UP)
1 – 30 Vendor’s Style Number (PO1 Qualifier=VA)
1 – 30 Vendor’s Color (PO1 Qualifier=VE)
1 – 15 Vendor’s Item Number (PO1 Qualifier=VN)
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See PO107
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See PO107
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See PO107
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See PO107
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
See PO107
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- EN
- European Article Number (EAN) (2-5-5-1)
- IN
- Buyer's Item Number
- IT
- Buyer's Style Number
- IZ
- Buyer's Size Code
- MN
- Model Number
- PN
- Company Part Number
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
- VE
- Vendor Color
- VN
- Vendor's (Seller's) Item Number
Pricing Information
To specify pricing information
Measurements
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights
(See Figures Appendix for example of use of C001)
Code identifying the broad category to which a measurement applies
- PD
- Physical Dimensions
- SE
- Property Specifications
Code identifying a specific product or process characteristic to which a measurement applies
- DI
- Diameter
- DP
- Depth
- HT
- Height
- LN
- Length
- RAD
- Radius
- WD
- Width
- WT
- Weight
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
- S
- Structured (From Industry Code List)
- X
- Semi-structured (Code and Text)
Code identifying the general class of a product or process characteristic
- 08
- Product
- 73
- Vendor color description
- 74
- Vendor size description
- 75
- Buyer's Color Description
- 91
- Buyer's Item Size Description
Code identifying the agency assigning the code values
- Use PID03 to indicate the organization that publishes the code list being referred to.
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
A code from an industry code list which provides specific data about a product characteristic
- PID04 should be used for industry-specific product description codes.
A free-form description to clarify the related data elements and their content
Code indicating the product surface, layer or position that is being described
- Use PID06 when necessary to refer to the product surface or layer being described in the segment.
- CT
- Center
- LT
- Left
- R0
- Relative Position 10
- R1
- Relative Position 1
- R2
- Relative Position 2
- R3
- Relative Position 3
- R4
- Relative Position 4
- R5
- Relative Position 5
- R6
- Relative Position 6
- R7
- Relative Position 7
- R8
- Relative Position 8
- R9
- Relative Position 9
- RA
- Relative Position 11
- RB
- Relative Position 12
- SB
- Right
Measurements
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights
(See Figures Appendix for example of use of C001)
Code identifying the broad category to which a measurement applies
- PD
- Physical Dimensions
- SE
- Property Specifications
Code identifying a specific product or process characteristic to which a measurement applies
- DI
- Diameter
- DP
- Depth
- HT
- Height
- LN
- Length
- RAD
- Radius
- WD
- Width
- WT
- Weight
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.
- C
- Charge
- N
- No Allowance or Charge
Code identifying the service, promotion, allowance, or charge
- H070
- Special Finish 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 to further the code in SAC02.
CS Custom Service
GC Gift Card
See SAC13 and SAC15 for additional information
GW Gift Wrap
See SAC13 and SAC15 for additional information
IN Inscription
See SAC13 and SAC15 for additional information
OHZQ Mutually Defined
MO Monogram
See SAC13 and SAC15 for additional information
Monetary amount
- SAC05 is the total amount for the service, promotion, allowance, or charge.
- If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- FT
- Foot
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- N
- O
- Q
- R
- S
- T
- U
- V
- W
- Y
- Z
A free-form description to clarify the related data elements and their content
Manufacturing instructions (SAC04 = CS)
Reservation order flag (Y) (SAC04 = OHZQ; REF*RSN is present)
Inscription text or Monogram letters (SAC04 contains IN or MO)
Reference Identification
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- CR
- Customer Reference Number
- PL
- Price List Number
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
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.