X12 850 Purchase Order
This standard provides the format and establishes the data contents of a purchase order transaction set. The purchase order transaction set provides 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
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 Transaction (850)
Code identifying party sending transmission. Codes agreed to by trading partners.
Code identifying party receiving transmission. Codes agreed to by trading partners.
Date sender generated a functional group of transaction sets.
Time (HHMM) when the sender generated a functional group of transaction sets (local time at sender's location).
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. Positions 1-3, version number; positions 4-6, release and subrelease level of version; positions 7-12, industry or trade association identifier (optionally assigned by user).
- 003010
- Draft Standards Approved By ASC X12 Through June 1990.
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 intended for use by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the invoice transaction set).
- 850
- X12.1 Purchase Order
Beginning Segment for Purchase Order
To indicate the beginning of the purchase order transaction set and transmit identifying numbers and dates.
Examples:
BEG00DS01001301~~210329$00
BEGNE5201259D5201259D00210329$
Code identifying purpose of transaction set.
- 00
- Original
Code specifying the type of Purchase Order.
- DS
- Dropship
- NE
- New Order
Identifying number for Purchase Order assigned by the orderer/purchaser.
Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction.
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
F.O.B. Related Instructions
To specify transportation instructions relating to shipment
Example: FOBPPZZ~SELLERS PLANT$
Code identifying payment terms for transportation charges.
- FOB01 indicates which party will pay the carrier.
- If FOB03 is present, then FOB02 is required.
- PP
- Prepaid (by Seller)
Code identifying type of location.
- FOB02 is the code specifying transportation responsibility location.
- If FOB04 is present, then FOB05 is required.
- ZZ
- Mutually Defined
A free-form description to clarify the related data elements and their content.
- If FOB07 is present, then FOB06 is required.
SELLERS PLANT
Code identifying the source of the transportation terms.
Code identifying the trade terms which apply to the shipment transportation responsibility.
Code identifying type of location.
- FOB06 is the code specifying title passage location.
Name
To identify a party by type of organization, name and code
Example: N1BTMMNA9299230$
Code identifying an organizational entity or a physical location.
- At least one of N102 or N103 must be present.
- BT
- Party to be Billed For Other Than Freight(Bill To)
Free-form name.
- If either N103 or N104 is present, then the other is required.
MMNA
Code designating the system/method of code structure used for Identification Code (67).
Code identifying a party.
- 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.
99230 Account Payable Dept Cd
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
Name
To identify a party by type of organization, name and code
Examples:
N1STFOUNTAIN MITSUBISHI9210013$
N1STEASTERN PDC OPERATION9299222$
Code identifying an organizational entity or a physical location.
- At least one of N102 or N103 must be present.
- ST
- Ship To
Free-form name.
- If either N103 or N104 is present, then the other is required.
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.
- 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.
Dealer code or MMNA PDC location code.
PDC codes:
99225 RIVERSIDE PDC OP CA
99222 EASTERN PDC OPERATION NJ
99223 SOUTHEASTERN PDC OPE GA
Address Information
To specify the location of the named party
Examples:
N38701 SO. ORANGE BLOSSOM TRAIL$516 HERON DRIVE$
N3
N3ORLANDO, FL32809-7980$
N3SWEDEBORO, NJ08085$
Name
To identify a party by type of organization, name and code
Example: N1VNAMREP AUTOMOTIVE PRODUCTS GROUP9210W01$
Code identifying an organizational entity or a physical location.
- At least one of N102 or N103 must be present.
- VN
- Vendor
Free-form name.
- If either N103 or N104 is present, then the other is required.
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.
- 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.
Vendor Code assigned by MMNA.
Detail
Purchase Order Baseline Item Data
To specify basic and most frequently used purchase order line item data
Example: PO10000112EA10.25~~BP~MB568933$
Alphanumeric characters assigned for differentiation within a transaction set.
- PO101 is the line item identification
- If PO105 is present, then PO104 is required.
Quantity ordered.
- If PO106 is present, then PO107 is required.
Code identifying the basic unit of measurement.
- If PO108 is present, then PO109 is required.
- EA
- Each
Price per unit of product, service, commodity, etc.
- If PO110 is present, then PO111 is required.
Code identifying the type/source of the descriptive number used in Product/Service ID (234).
- PO106 through PO125 provide for ten (10) different product/service ID's per each item. For example: Case, Color, Drawing No., UPC No., ISBN No., Model No., SKU.
- If PO114 is present, then PO115 is required.
- BP
- Buyer's Part Number
Product/Item Description
To describe a product or process in coded or free-form format
Example: PID~F~~~~CABIN AIR FILTER$
Reference Numbers
To specify identifying numbers.
Used with Dropship orders.
Example: REFDC0612S$
Code qualifying the Reference Number.
- DC
- Dealer purchase order number
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
- Either REF02 or REF03 is required.
MMNA Dealer dropship order number.
Line Item Schedule
To specify the data for scheduling a specific line item.
- The SCH segment is used to specify various quantities of items ordered that are to be scheduled. When this segment is used the unit of measurement code (SCH02) should always be identical to the unit of measurement code in the associated PO1 segment (PO103) and the sum of values of quantity (SCH01) should always equal the quantity ordered (PO102) in the PO1 segment.
Example: SCH12EA~~~002~210329$
Numeric value of quantity.
- If SCH03 is present, then SCH04 is required.
Code identifying the basic unit of measurement.
- If SCH09 is used, then SCH08 is required.
- EA
- Each
Code specifying type of date or time, or both date and time.
- 002
- Delivery Requested
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.
Example: CTT88932$
Total number of line items in the transaction set.
- If CTT03 is present, then CTT04 is required.
Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element.
-.0018 First occurrence of value being hashed.
.18 Second occurrence of value being hashed.
1.8 Third occurrence of value being hashed.
18.01 Fourth occurrence of value being hashed.
1855 Hash total prior to truncation.
855 Hash total after truncation to three-digit field.
- If CTT05 is present, then CTT06 is required.
Monetary Amount
To indicate the total monetary amount.
Example: AMTTT16815.80$
Code to qualify amount
- If AMT is used in the detail area of transaction set 850, 855, 860 or 865, AMT02 will indicate total line amount as calculated by the sender. If AMT is used in the summary area of transaction set 850, 855, 860 or 865, AMT02 will indicate total transaction amount as calculated by the sender.
- If segment AMT is used in Table 2 of the 850, 855, 860 or 865 transaction sets, then AMT01 = 01. If it is used in Table 3 of those transaction sets, then AMT01 = TT.
- TT
- Total Transaction Amount
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).
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.
Dropship Order
GS*PO*SENDERGS*RECEIVERGS*240113*200009*000000001*X*003010~
ST*850*000247343~
BEG*00*DS*01508401**210121~
FOB*PP*ZZ*SELLERS PLANT~
N1*BT*MMSA*92*99230~
N2*ACCOUNTS PAYABLE DEPTN3*4031 ASPEN GROVE SUITE~
N3* FRANKLIN, TN 37067~
N1*ST*ANDERSON MITSUBISHI*92*1508~
N3*224 NORTH ALPINE ROAD*ROCKFORD~
N1*VN*INTERSTATE BATTERY SYSTEM OF AMERIC*92*44V49~
PO1*01*3*EA*68.99**BP*AMG8FB1X01~
PID*F****BATTERY,GROUP 35~
REF*DC*B119SSCH*3~
CTT*1*3~
AMT*TT*206.97~
SE*15*000247343~
ST*850*000247344~
BEG*00*DS*03001701**210121~
FOB*PP*ZZ*SELLERS PLANT~
N1*BT*MMSA*92*99230~
N2*ACCOUNTS PAYABLE DEPT~
N3*6400 WEST KATELLA AVE~
N3*CYPRESS, CA 90630~
N1*ST*MOXIE MITSUBISHI*92*30017~
N3*3330 SUPERIOR STREET* LINCOLN~
N3*NE 68504~
N1*VN*INTERSTATE BATTERY SYSTEM OF AMERIC*92*44V49~
PO1*01*1*EA*68.99**BP*AMG8FB1X01~
PID*F****BATTERY,GROUP 35~
REF*DC*0120S~
SCH*1*EA***002*210126~
CTT*1*1~
AMT*TT*68.99~
SE*18*000247344~
GE*2*000000001~
IEA*1*000000001~
PDC Purchase Order
GS~PO~SENDERGS~RECEIVERGS~240113~230152~000000001~X~003010
ST~850~000005233
BEG~00~NE~5201259D~5201259D00~210129
FOB~PP~ZZ~SELLERS PLANT
N1~BT~MMNA~92~99230
N2~ACCOUNTS PAYABLE DEPT
N3~4031 ASPEN GROVE SUITE 7
N3~FRANKLIN, TN 37067
N1~ST~EASTERN PDC OPERATIO~92~99222
N3~516 HERON DRIVE~SWEDESBORO
N3~NJ 08085
N1~VN~DENSO PRODS & SVS AMERICAS INC~92~05V06
PO1~000001~2~EA~10.1~~BP~MB568933
PID~F~~~~PULLEY ASSY,A/C
SCH~2~EA~~~002~210305
PO1~000002~10~EA~5.56~~BP~MR571396
PID~F~~~~ELEMENT,AIR CLEA
SCH~10~EA~~~002~210305
PO1~000003~7420~EA~1.65~~BP~MZ690072
PID~F~~~~OIL FILTER (ASP)
SCH~7420~EA~~~002~210305
PO1~000004~200~EA~2.85~~BP~MZ690960
PID~F~~~~CABIN AIR FILTER
SCH~200~EA~~~002~210305
PO1~000005~200~EA~2.85~~BP~MZ691041
PID~F~~~~CABIN AIR FILTER
SCH~200~EA~~~002~210305
PO1~000006~120~EA~5.5~~BP~MZ691044
PID~F~~~~CABIN AIR FILTER
SCH~120~EA~~~002~210305
PO1~000007~960~EA~2.65~~BP~1230A105
PID~F~~~~OIL FILTER
SCH~960~EA~~~002~210305
PO1~000008~20~EA~7.65~~BP~1500A023
PID~F~~~~ELEMENT,AIR CLEA
SCH~20~EA~~~002~210305
CTT~8~8932
AMT~TT~16815.8
SE~38~000005233
GE~1~000000001
IEA~1~000000001
Sample 3
GS*PO*SENDERGS*RECEIVERGS*240113*230223*000000001*X*003010
ST*850*0014
BEG*00*NE*510O887**231122
FOB*PP*ZZ*SELLERS PLANT
N1*BT*MMNA*92*99230
N2*ACCOUNTS PAYABLE DEPT
N3*4031 Aspen Grove Dr., Suite 650
N3*FRANKLIN TN 37067
N1*ST*Mitsubishi Motors - WPDC- RS PDC*92*99225
N3*21800 Authority Way Ste 102*Riverside
N3*CA 92518
N1*VN*LUND MOTION PRODUCTS INC*92*05VBB
PO1*000001*30*EA*49.33**BP*MZ314642
PID*F****ALLOY FUEL DOOR
SCH*30*EA***002*240803
CTT*1*30
AMT*TT*1479.9
SE*17*0014
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.