X12 Release 5010
Delimiters: ~ Segment * Element > Component
Certified October 15, 2019
Optics Planet

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.
ISA
Interchange Control Header
Required
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of information in the Authorization Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA02
I02
Authorization Information
Optional
alphanumeric (AN)
Min 10 Max 10
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA03
I03
Security Information Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of information in the Security Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA04
I04
Security Information
Optional
alphanumeric (AN)
Min 10 Max 10
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA05
I05
Interchange ID Qualifier
Optional
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA06
I06
Interchange Sender ID
Optional
alphanumeric (AN)
Min 15 Max 15
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA07
I05
Interchange ID Qualifier
Optional
ID
Min 2 Max 2
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA08
I07
Interchange Receiver ID
Optional
alphanumeric (AN)
Min 15 Max 15
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA09
I08
Interchange Date
Optional
date (DT)
Min 6 Max 6
Date of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA10
I09
Interchange Time
Optional
time (TM)
Min 4 Max 4
Time of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA11
I65
Repetition Separator
Optional
undefined ()
Min 1 Max 1
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA12
I11
Interchange Control Version Number
Optional
ID
Min 5 Max 5
Code specifying the version number of the interchange control segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA13
I12
Interchange Control Number
Optional
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA14
I13
Acknowledgment Requested
Optional
ID
Min 1 Max 1
Code indicating sender's request for an interchange acknowledgment
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA15
I14
Interchange Usage Indicator
Optional
ID
Min 1 Max 1
Code indicating whether data enclosed by this interchange envelope is test, production or information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA16
I15
Component Element Separator
Optional
undefined ()
Min 1 Max 1
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS
Functional Group Header
Required
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Optional
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS02
142
Application Sender's Code
Optional
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS03
124
Application Receiver's Code
Optional
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission; codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS04
373
Date
Optional
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS05
337
Time
Optional
time (TM)
Min 4 Max 8
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)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS06
28
Group Control Number
Optional
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS07
455
Responsible Agency Code
Optional
ID
Min 1 Max 2
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS08
480
Version / Release / Industry Identifier Code
Optional
alphanumeric (AN)
Min 1 Max 12
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
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST
Transaction Set Header
Required
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG
Beginning Segment for Purchase Order
Required
To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
BEG01
353
Transaction Set Purpose Code
Required
ID
Min 2 Max 2
Code identifying purpose of transaction set
00
Original
BEG02
92
Purchase Order Type Code
Required
ID
Min 2 Max 2
Code specifying the type of Purchase Order
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG03
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG05
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
SA
Stand-alone Order
CUR
Currency
Optional
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
CUR01
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
BY
Buying Party (Purchaser)
CUR02
100
Currency Code
Required
ID
Min 3 Max 3
Code (Standard ISO) for country in whose currency the charges are specified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF
Reference Information
Optional
To specify identifying information
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
GK
Third Party Reference Number
IA
Internal Vendor Number
PD
Promotion/Deal Number
REF02
127
Reference Identification
Optional
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF03
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER
Administrative Communications Contact
Optional
To identify a person or office to whom administrative communications should be directed
PER01
366
Contact Function Code
Required
ID
Min 2 Max 2
Code identifying the major duty or responsibility of the person or group named
IC
Information Contact
PER02
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER03
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
TE
Telephone
PER04
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 256
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER05
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
EM
Electronic Mail
PER06
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 256
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
FOB
F.O.B. Related Instructions
Optional
To specify transportation instructions relating to shipment
FOB01
146
Shipment Method of Payment
Required
ID
Min 2 Max 2
Code identifying payment terms for transportation charges
CC
Collect
DF
Defined by Buyer and Seller
PP
Prepaid (by Seller)
TP
Third Party Pay
FOB02
309
Location Qualifier
Optional
ID
Min 1 Max 2
Code identifying type of location
DE
Destination (Shipping)
OR
Origin (Shipping Point)
FOB03
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD
Terms of Sale/Deferred Terms of Sale
Required
To specify terms of sale
ITD12
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
DTM
Date/Time Reference
Required
To specify pertinent dates and times
DTM01
374
Date/Time Qualifier
Required
ID
Min 3 Max 3
Code specifying type of date or time, or both date and time
002
Delivery Requested
010
Requested Ship
DTM02
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD5
Carrier Details (Routing Sequence/Transit Time)
Optional
To specify the carrier and sequence of routing and provide transit time information
TD502
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
2
Standard Carrier Alpha Code (SCAC)
TD503
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD505
387
Routing
Optional
alphanumeric (AN)
Min 1 Max 35
Free-form description of the routing or requested routing for shipment, or the originating carrier's identity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD512
284
Service Level Code
Optional
ID
Min 2 Max 2
Code indicating the level of transportation service or the billing service offered by the transportation carrier
3D
Three Day Service
CX
Express Service
ET
Proof of Delivery (POD) with Signature
FC
First Class
ND
Next Day Air
ON
Overnight
PB
Priority Mail
SC
Second Day Air
SE
Second Day
SG
Standard Ground

N9 loop

Required
Min Items
Max Loop undefined
N9
Extended Reference Information
Optional
To transmit identifying information as specified by the Reference Identification Qualifier
N901
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
L1
Letters or Notes
N902
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 50
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
MTX
Text
Optional
To specify textual data
MTX02
1551
Textual Data
Required
alphanumeric (AN)
Min 1 Max 4096
To transmit large volumes of message text
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

N1 loop

Required
Min Items
Max Loop undefined
N1
Party Identification
Optional
To identify a party by type of organization, name, and code
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
BT
Bill-to-Party
ST
Ship To
N102
93
Name
Required
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N103
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
92
Assigned by Buyer or Buyer's Agent
N104
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N2
Additional Name Information
Optional
To specify additional names
N201
93
Name
Required
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N3
Party Location
Required
To specify the location of the named party
N301
166
Address Information
Required
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N302
166
Address Information
Optional
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER
Administrative Communications Contact
Optional
To identify a person or office to whom administrative communications should be directed
PER01
366
Contact Function Code
Required
ID
Min 2 Max 2
Code identifying the major duty or responsibility of the person or group named
IC
Information Contact
PER02
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER03
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
TE
Telephone
PER04
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 256
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER05
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
EM
Electronic Mail
PER06
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 256
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

PO1 loop

Required
Min Items
Max Loop undefined
PO1
Baseline Item Data
Required
To specify basic and most frequently used line item data
PO101
350
Assigned Identification
Required
alphanumeric (AN)
Min 1 Max 20
Alphanumeric characters assigned for differentiation within a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO102
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO103
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
EA
Each
PO104
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO106
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BP
Buyer's Part Number
PO107
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO108
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
VP
Vendor's (Seller's) Part Number
PO109
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO110
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
MG
Manufacturer's Part Number
SZ
Vendor Alphanumeric Size Code
UP
UCC - 12
PO111
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO112
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
MG
Manufacturer's Part Number
SZ
Vendor Alphanumeric Size Code
UP
UCC - 12
PO113
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO114
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Color
MG
Manufacturer's Part Number
SZ
Vendor Alphanumeric Size Code
UP
UCC - 12
PO115
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO116
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
BO
Buyers Colo
MG
Manufacturer's Part Number
SZ
Vendor Alphanumeric Size Code
UP
UCC - 12
PO117
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID loop
Required
PID
98
Product/Item Description
Optional
Min 1 Max 1
To describe a product or process in coded or free-form format
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID01
349
Item Description Type
Optional
ID
Min 1 Max 1
Code indicating the format of a description
F
Free-form
PID02
750
Product/Process Characteristic Code
Optional
ID
Min 2 Max 3
Code identifying the general class of a product or process characteristic
08
Product
75
Buyer's Color Description
91
Buyer's Item Size Description
PID05
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

CTT loop

Required
Min Items
Max Loop undefined
CTT
Transaction Totals
Required
To transmit a hash total for a specific element in the transaction set
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
AMT
Monetary Amount Information
Required
To indicate the total monetary amount
AMT01
522
Amount Qualifier Code
Required
ID
Min 1 Max 3
Code to qualify amount
TT
Total Transaction Amount
AMT02
782
Monetary Amount
Required
decimal (R)
Min 1 Max 18
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE
Transaction Set Trailer
Required
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
SE01
96
Number of Included Segments
Optional
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE02
329
Transaction Set Control Number
Optional
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

Book A Demo

Book A Demo

BOOK A DEMO