Customer Type

Integration Method

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
ISAInterchange Control HeaderM1
GSFunctional Group HeaderM1
STTransaction Set HeaderM1
BEGBeginning Segment for Purchase OrderM1
REFReference Identification (Vendor #)M1
REFReference Identification (Customer Order #)M1
FOBF.O.B. Related InstructionsO1
DTMDate/Time ReferenceM1
TD5Carrier DetailsM1
TD4Carrier Details (Special Handling)O1
LOOP ID - N9
N9Reference IdentificationM1
MTXTextM1
LOOP ID - N1
N1NameM1
N2Additional Name InformationM1
N3Address InformationM1
N4Geographic LocationM1

Details

Segment Name Required Max Use
LOOP ID – PO1
PO1Baseline Item Data Segment For Purchase OrderM
PIDProduct / Item DescriptionM1
PO4Item Physical DetailsO1

Summary

Segment Name Required Max Use
CTTTransaction TotalsM1
AMTMonetary AmountM1
SETransaction Set TrailerM1
GEFunctional Group TrailerM1
IEAInterchange Control TrailerM1

Segment Details

SegmentISA Interchange Control Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 00 - No Authorization Information Present
M ID 2/2
ISA02I02Authorization InformationMAN10/10
ISA03 I03

Security Information Qualifier

  • 00 - No Security Information Present
M ID 2/2
ISA04I04Security Information MAN10/10
ISA05 I05 Interchange ID Qualifier M ID 2/2
ISA06I06Interchange Sender’s ID MAN15/15
ISA07I05Interchange ID QualifierMID2/2
ISA08I07Interchange Receiver’s ID MAN15/15
ISA09I08Interchange DateMDT6/6
ISA10I09Interchange Time MTM4/4
ISA11I10Interchange Control Standards IdentifierMID1/1
ISA12 I11 Interchange Control Version Number
  • 00403 - Release 4030
M ID 5/5
ISA13I12Interchange Control NumberMNO9/9
ISA14I13Acknowledgement Requested MID1/1
ISA15 I14 Test Indicator
  • T - Test Data
  • P - Production Data
M ID 1/1
ISA16I15Component (Sub) Element SeparatorMAN1/1

Back to Top

SegmentGS Functional Group Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • PO - Purchase Order
M ID 2/2
GS02142Application Sender's CodeMAN2/15
GS03124Application Receiver's CodeMAN2/15
GS0429Data Interchange DateMDT8/8
GS0530Data Interchange TimeMTM4/4
GS0628Data Interchange Control Number MNO1/9
GS07455Responsible Agency CodeMID1/2
GS08480Version/Release/Industry Identifier CodeMAN1/12

Back to Top

SegmentST Transaction Set Header
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 850 - Purchase Order
M ID 3/3
ST02 329

Transaction Set Control Number

Identifying control number. Must be unique within the transaction set.

M AN 4/9

Back to Top

SegmentBEG Beginning Segment for Purchase Order
Loop
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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

  • 00 - Orginal
M ID 2/2
BEG02 92

Purchase Order Type Code

Valid Codes:

  • SA - Stand Alone
  • DS - Drop Ship
M AN 2/9
BEG03 324 Purchase Order Number M AN 1/22
BEG05 373

Date

Date expressed as CCYYMMDD

M DT 8/8

Back to Top

SegmentREF Reference Identification (Vendor #)
LoopREF
LevelHeading
UsageMandatory
Max Use>1
PurposeTo specify identifying information.
Ref Des Data Element Name Usage Type Min/Max
REF01 128

Reference Identification Qualifier

  • VN - Vendor Number on file with Retailer
M ID 2/2
REF02 127 Reference Identification

C AN 1/30
REF03 352 Reference Identification Description

C AN 1/80

Back to Top

SegmentREF Reference Identification (Customer Order #)
LoopREF
LevelHeading
UsageMandatory
Max Use>1
PurposeTo specify identifying information.
Ref Des Data Element Name Usage Type Min/Max
REF01 128

Reference Identification Qualifier

  • CO - Customer Order #
M ID 2/2
REF02 127 Reference Identification

C AN 1/30
REF03 352 Reference Identification Description

C AN 1/80

Back to Top

SegmentFOB F.O.B. Related Instructions
LoopF.O.B.
LevelHeading
UsageOptional
Max Use>1
PurposeTo specify transportation instructions relating to shipment
Ref Des Data Element Name Usage Type Min/Max
FOB01146Shipment Method of Payment ('PP')MID2/2
FOB02309Location Qualifier ('ZZ')CID1/2
FOB03352DescriptionOAN1/80

Back to Top

SegmentDTM Date / Time Reference
LoopDTM
LevelHeading
UsageMandatory
Max Use>1
PurposeTo specify pertinent dates and times.
Ref Des Data Element Name Usage Type Min/Max
DTM01 374

Date/Time Qualifier

  • 010 - Requested Ship By Date
M ID 3/3
DTM02 373 Date (Expressed as CCYYMMDD) M DT 8/8

Back to Top

SegmentTD5 Carrier Details
LoopTD5
LevelHeading
UsageMandatory
Max Use12
Purpose To specify Carrier Details.
Ref Des Data Element Name Usage Type Min/Max
TD502 66

ID Code Qualifier

  • 2 - SCAC
M AN 1/2
TD503 67

SCAC – Standard Carrier Alpha Code

  • FDEG - FedEx
  • UPSN - UPS
M AN 2/80
TD504 91

Transportation Method/Type Code

  • ZZ - Mutually defined
X ID 2/2
TD505 387

Routing Instructions

The most common values are as follows:

  • FedEx Ground
  • FedEx Express Saver
  • FedEx 2 Day
  • FedEx Standard Overnight
  • UPS Ground
  • UPS 3-Day Select
  • UPS 2nd Day Air
  • UPS Next Day Air
M AN 1/35

Back to Top

SegmentTD4 Carrier Details (Special Handling)
LoopTD4
LevelHeading
UsageOptional
Max Use5
PurposeTo 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

  • HAN - Handling
M ID 2/3
TD404 352 Description O AN 1/80

Back to Top

SegmentN9 Reference Identification
LoopN9
LevelHeading
UsageOptional
Max Use1
PurposeTo transmit identifying information as specified by the Reference Identification Qualifier.
Ref Des Data Element Name Usage Type Min/Max
N901 128

Reference Identification Qualifier

  • HAN - Handling
M ID 2/3
N902 127

Reference Identification

  • GO - Gift Order
  • SM - Supplier Message

Note: Gift message will be supplied in MTX02

O AN 1/45

Back to Top

SegmentMTX Text
LoopMTX
LevelHeading
UsageOptional
Max Use1000
PurposeTo 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

  • ZZZ - Mutally Defined
O ID 3/3
MTX02 1551 Message Text O AN 1/4093

Back to Top

SegmentN1 Name
LoopN1
LevelHeading
UsageMandatory
Max Use1
PurposeTo 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.

  • BT - Bill To
  • ST - Ship To
  • SO - Sold To
M ID 2/3
N102 93 Name (Free Form) O AN 1/60
N103 66

Identification Code Qualifier

  • 12 - Telephone Number
O ID 1/2
N104 67 Identification Code X AN 2/20

Back to Top

SegmentN2 Additional Name Information
LoopN1
LevelHeading
UsageOptional
Max Use2
PurposeTo specify additional names.
Ref Des Data Element Name Usage Type Min/Max
N201 93 Name M AN 1/60

Back to Top

SegmentN3 Address Information
LoopN1
LevelHeading
UsageMandatory
Max Use2
PurposeTo 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

Back to Top

SegmentN4 Geographic Location
LoopN1
LevelHeading
UsageMandatory
Max Use>1
PurposeTo specify the geographic place of the named party.
Ref Des Data Element Name Usage Type Min/Max
N40119City NameMAN2/30
N402156StateMID2/2
N403116Postal CodeMID3/15
N40426Country Code MAN2/3

Back to Top

SegmentPO1 Baseline Item Data Segment for Purchase Order
LoopPO1
LevelDetail
UsageMandatory
Max Use
PurposeTo specify basic and most frequently used line item data.
Ref Des Element Name Usage Type Min/Max
PO101350Assigned IdentificationOAN1/20
PO102330Quantity Ordered MR1/15
PO103 355

Unit or Basis for Measurement Code

  • EA - Each
O ID 2/2
PO104212Item PriceMR1/17
PO106 235

Item ID Qualifier

  • IN - Retailer's Item Number
O ID 2/2
PO107234Item IDOAN1/48
PO108 235

Item ID Qualifier

  • VN - Vendor's Item Number
M ID 2/2
PO109234Item IDMAN1/48
PO110 235

Item ID Qualifier

  • UP - 12 digit UPC/13 digit EAN Number
O ID 2/2
PO111234Item IDOAN1/48

Back to Top

SegmentPID Product / Item Description
LoopPO1
LevelDetail
UsageMandatory
Max Use1
PurposeTo describe a product or process in coded or free-form format.
Ref Des Element Name Usage Type Min/Max
PID01 349

Item Description Type

  • F - Free Form Description
M ID 1/1
PID05 352

Description

  • Note:
  • First PID01/PID05 Loop will contain Vendor Description.
  • Second PID01/PID05 Loop will contain Retailer Description.
C AN 1/80

Back to Top

SegmentPO4 Item Physical Details
LoopPO1
LevelDetail
UsageOptional
Max Use1
PurposeTo describe item physical details.
Ref Des Element Name Usage Type Min/Max
PO405 187

Weight Qualifier

  • N - Actual Net Weight
O ID 1/2
PO406 384 Gross Weight per Pack O R 1/9
PO407 355

Unit or Basis for Measurement Code

  • 01 - Pounds
O ID 2/2

Back to Top

SegmentCTT Transaction Totals
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top

SegmentAMT Monetary Amount
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo indicate the total monetary amount.
Ref Des Element Name Usage Type Min/Max
AMT01 522

Amount Qualifier Code

  • 10 - Shipment Value in US Dollars
M ID 1/3
AMT02 782 Monetary Amount M R 1/18

Back to Top

SegmentSE Transaction Set Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top

SegmentGE Functional Group Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top

SegmentIEA Interchange Control Trailer
Loop
LevelSummary
UsageMandatory
Max Use1
PurposeTo 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

Back to Top