850 Purchase Order
This Standard 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.
Document Structure
Heading
Segment | Name | Required | Max Use | |
---|---|---|---|---|
ISA | Interchange Control Header | M | 1 | |
GS | Functional Group Header | M | 1 | |
ST | Transaction Set Header | M | 1 | |
BEG | Beginning Segment for Purchase Order | M | 1 | |
REF | Reference Identification (Vendor #) | M | 1 | |
REF | Reference Identification (Customer Order #) | M | 1 | |
FOB | F.O.B. Related Instructions | O | 1 | |
DTM | Date/Time Reference | M | 1 | |
TD5 | Carrier Details | M | 1 | |
TD4 | Carrier Details (Special Handling) | O | 1 | |
LOOP ID - N9 | ||||
N9 | Reference Identification | M | 1 | |
MTX | Text | M | 1 | |
LOOP ID - N1 | ||||
N1 | Name | M | 1 | |
N2 | Additional Name Information | M | 1 | |
N3 | Address Information | M | 1 | |
N4 | Geographic Location | M | 1 |
Segment Details
Segment | ISA Interchange Control Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To start and identify an interchange of one or more functional groups and interchange related control segments. |
Notes: |
Data Element Separator: *
Sub Element Separator: > Segment Terminator: ~ |
RefDes | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
ISA01 | I01 |
Authorization Information Qualifier
|
M | ID | 2/2 |
ISA02 | I02 | Authorization Information | M | AN | 10/10 |
ISA03 | I03 |
Security Information Qualifier
|
M | ID | 2/2 |
ISA04 | I04 | Security Information | M | AN | 10/10 |
ISA05 | I05 | Interchange ID Qualifier | M | ID | 2/2 |
ISA06 | I06 | Interchange Sender’s ID | M | AN | 15/15 |
ISA07 | I05 | Interchange ID Qualifier | M | ID | 2/2 |
ISA08 | I07 | Interchange Receiver’s ID | M | AN | 15/15 |
ISA09 | I08 | Interchange Date | M | DT | 6/6 |
ISA10 | I09 | Interchange Time | M | TM | 4/4 |
ISA11 | I10 | Interchange Control Standards Identifier | M | ID | 1/1 |
ISA12 | I11 |
Interchange Control Version Number
|
M | ID | 5/5 |
ISA13 | I12 | Interchange Control Number | M | NO | 9/9 |
ISA14 | I13 | Acknowledgement Requested | M | ID | 1/1 |
ISA15 | I14 |
Test Indicator
|
M | ID | 1/1 |
ISA16 | I15 | Component (Sub) Element Separator | M | AN | 1/1 |
Segment | GS Functional Group Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the beginning of a functional group and to provide control information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
GS01 | 479 |
Functional Identifier Code
|
M | ID | 2/2 |
GS02 | 142 | Application Sender's Code | M | AN | 2/15 |
GS03 | 124 | Application Receiver's Code | M | AN | 2/15 |
GS04 | 29 | Data Interchange Date | M | DT | 8/8 |
GS05 | 30 | Data Interchange Time | M | TM | 4/4 |
GS06 | 28 | Data Interchange Control Number | M | NO | 1/9 |
GS07 | 455 | Responsible Agency Code | M | ID | 1/2 |
GS08 | 480 | Version/Release/Industry Identifier Code | M | AN | 1/12 |
Segment | ST Transaction Set Header |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the start of a transaction set and to assign a control number. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
ST01 | 143 |
Transaction Set Identifier Code
|
M | ID | 3/3 |
ST02 | 329 |
Transaction Set Control Number Identifying control number. Must be unique within the transaction set. |
M | AN | 4/9 |
Segment | BEG Beginning Segment for Purchase Order |
---|---|
Loop | |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
BEG01 | 353 |
Transaction Set Purpose Code Code identifying purpose of transaction set
|
M | ID | 2/2 |
BEG02 | 92 |
Purchase Order Type Code Valid Codes:
|
M | AN | 2/9 |
BEG03 | 324 | Purchase Order Number | M | AN | 1/22 |
BEG05 | 373 |
Date Date expressed as CCYYMMDD |
M | DT | 8/8 |
Segment | REF Reference Identification (Vendor #) |
---|---|
Loop | REF |
Level | Heading |
Usage | Mandatory |
Max Use | >1 |
Purpose | To specify identifying information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
REF01 | 128 |
Reference Identification Qualifier
|
M | ID | 2/2 |
REF02 | 127 | Reference Identification | C | AN | 1/30 |
REF03 | 352 | Reference Identification Description | C | AN | 1/80 |
Segment | REF Reference Identification (Customer Order #) |
---|---|
Loop | REF |
Level | Heading |
Usage | Mandatory |
Max Use | >1 |
Purpose | To specify identifying information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
REF01 | 128 |
Reference Identification Qualifier
|
M | ID | 2/2 |
REF02 | 127 | Reference Identification | C | AN | 1/30 |
REF03 | 352 | Reference Identification Description | C | AN | 1/80 |
Segment | FOB F.O.B. Related Instructions |
---|---|
Loop | F.O.B. |
Level | Heading |
Usage | Optional |
Max Use | >1 |
Purpose | To specify transportation instructions relating to shipment |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
FOB01 | 146 | Shipment Method of Payment ('PP') | M | ID | 2/2 |
FOB02 | 309 | Location Qualifier ('ZZ') | C | ID | 1/2 |
FOB03 | 352 | Description | O | AN | 1/80 |
Segment | DTM Date / Time Reference |
---|---|
Loop | DTM |
Level | Heading |
Usage | Mandatory |
Max Use | >1 |
Purpose | To specify pertinent dates and times. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
DTM01 | 374 |
Date/Time Qualifier
|
M | ID | 3/3 |
DTM02 | 373 | Date (Expressed as CCYYMMDD) | M | DT | 8/8 |
Segment | TD5 Carrier Details |
---|---|
Loop | TD5 |
Level | Heading |
Usage | Mandatory |
Max Use | 12 |
Purpose | To specify Carrier Details. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
TD502 | 66 |
ID Code Qualifier
|
M | AN | 1/2 |
TD503 | 67 |
SCAC – Standard Carrier Alpha Code
|
M | AN | 2/80 |
TD504 | 91 |
Transportation Method/Type Code
|
X | ID | 2/2 |
TD505 | 387 |
Routing Instructions The most common values are as follows:
|
M | AN | 1/35 |
Segment | TD4 Carrier Details (Special Handling) |
---|---|
Loop | TD4 |
Level | Heading |
Usage | Optional |
Max Use | 5 |
Purpose | To specify Carrier Details for handling of shipment. Information should be included on carrier paperwork. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
TD401 | 152 |
Special Handling Code
|
M | ID | 2/3 |
TD404 | 352 | Description | O | AN | 1/80 |
Segment | N9 Reference Identification |
---|---|
Loop | N9 |
Level | Heading |
Usage | Optional |
Max Use | 1 |
Purpose | To transmit identifying information as specified by the Reference Identification Qualifier. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N901 | 128 |
Reference Identification Qualifier
|
M | ID | 2/3 |
N902 | 127 |
Reference Identification
Note: Gift message will be supplied in MTX02 |
O | AN | 1/45 |
Segment | MTX Text |
---|---|
Loop | MTX |
Level | Heading |
Usage | Optional |
Max Use | 1000 |
Purpose | To provide a free-form form that allows the transmission of text information. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
MTX01 | 363 |
Note Reference Code
|
O | ID | 3/3 |
MTX02 | 1551 | Message Text | O | AN | 1/4093 |
Segment | N1 Name |
---|---|
Loop | N1 |
Level | Heading |
Usage | Mandatory |
Max Use | 1 |
Purpose | To identify a party by type of organization, name, and code. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N101 | 98 |
Entity Identifier Code Code identifying an organization, a location, property, or an individual.
|
M | ID | 2/3 |
N102 | 93 | Name (Free Form) | O | AN | 1/60 |
N103 | 66 |
Identification Code Qualifier
|
O | ID | 1/2 |
N104 | 67 | Identification Code | X | AN | 2/20 |
Segment | N2 Additional Name Information |
---|---|
Loop | N1 |
Level | Heading |
Usage | Optional |
Max Use | 2 |
Purpose | To specify additional names. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N201 | 93 | Name | M | AN | 1/60 |
Segment | N3 Address Information |
---|---|
Loop | N1 |
Level | Heading |
Usage | Mandatory |
Max Use | 2 |
Purpose | To specify the location of the named party. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N301 | 166 | Address Information | M | AN | 1/55 |
N302 | 166 | Address Information | O | AN | 1/55 |
Segment | N4 Geographic Location |
---|---|
Loop | N1 |
Level | Heading |
Usage | Mandatory |
Max Use | >1 |
Purpose | To specify the geographic place of the named party. |
Ref Des | Data Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
N401 | 19 | City Name | M | AN | 2/30 |
N402 | 156 | State | M | ID | 2/2 |
N403 | 116 | Postal Code | M | ID | 3/15 |
N404 | 26 | Country Code | M | AN | 2/3 |
Segment | PO1 Baseline Item Data Segment for Purchase Order |
---|---|
Loop | PO1 |
Level | Detail |
Usage | Mandatory |
Max Use | ∞ |
Purpose | To specify basic and most frequently used line item data. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
PO101 | 350 | Assigned Identification | O | AN | 1/20 |
PO102 | 330 | Quantity Ordered | M | R | 1/15 |
PO103 | 355 |
Unit or Basis for Measurement Code
|
O | ID | 2/2 |
PO104 | 212 | Item Price | M | R | 1/17 |
PO106 | 235 |
Item ID Qualifier
|
O | ID | 2/2 |
PO107 | 234 | Item ID | O | AN | 1/48 |
PO108 | 235 |
Item ID Qualifier
|
M | ID | 2/2 |
PO109 | 234 | Item ID | M | AN | 1/48 |
PO110 | 235 |
Item ID Qualifier
|
O | ID | 2/2 |
PO111 | 234 | Item ID | O | AN | 1/48 |
Segment | PID Product / Item Description |
---|---|
Loop | PO1 |
Level | Detail |
Usage | Mandatory |
Max Use | 1 |
Purpose | To describe a product or process in coded or free-form format. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
PID01 | 349 |
Item Description Type
|
M | ID | 1/1 |
PID05 | 352 |
Description
|
C | AN | 1/80 |
Segment | PO4 Item Physical Details |
---|---|
Loop | PO1 |
Level | Detail |
Usage | Optional |
Max Use | 1 |
Purpose | To describe item physical details. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
PO405 | 187 |
Weight Qualifier
|
O | ID | 1/2 |
PO406 | 384 | Gross Weight per Pack | O | R | 1/9 |
PO407 | 355 |
Unit or Basis for Measurement Code
|
O | ID | 2/2 |
Segment | CTT Transaction Totals |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To transmit a hash total for a specific element in the transaction set. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
CTT01 | 354 | Number of Line Items | M | NO | 1/6 |
Segment | AMT Monetary Amount |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the total monetary amount. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
AMT01 | 522 |
Amount Qualifier Code
|
M | ID | 1/3 |
AMT02 | 782 | Monetary Amount | M | R | 1/18 |
Segment | SE Transaction Set Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments). |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
SE01 | 96 |
Number of Included Segments Total number of segments included in a transaction set including ST and SE segments. |
M | NO | 1/10 |
SE02 | 329 |
Transaction Set Control Number Identifying control number. Must be unique within the transaction set. |
M | AN | 4/9 |
Segment | GE Functional Group Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To indicate the end of a functional group and to provide control information. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
GE01 | 97 | Number of Transaction Sets Included | M | NO | 1/6 |
GE02 | 28 |
Group Control Number This value must be identical to the data element value in GS06 in the associated functional group header. |
M | NO | 1/9 |
Segment | IEA Interchange Control Trailer |
---|---|
Loop | |
Level | Summary |
Usage | Mandatory |
Max Use | 1 |
Purpose | To define the end of one or more functional groups and interchange-related control segments. |
Ref Des | Element | Name | Usage | Type | Min/Max |
---|---|---|---|---|---|
IEA01 | I16 |
Functional Identifier Code A count of the number of functional groups included in an interchange. |
M | NO | 1/5 |
IEA02 | I12 |
Interchange Control Number This value must be identical to the data element value in ISA13 in the associated interchange control header. |
M | NO | 1/9 |