**These specifications are a base model. All customers are responsible for ensuring their map or EDI is compliant with their trading partner's most current specifications.
Retail X12 Purchase Order
X12/V4010/850: Purchase Order
Version: 2.2 Final
Company: | Amazon |
Created: | 7/8/2014 |
Modified: | 6/7/2024 |
850 Purchase Order
Functional Group=PO
Purpose: 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.
Not Defined:
Pos | Id | Segment Name | Req | Max Use | Repeat | Notes | Usage |
| ISA | Interchange Control Header | M | 1 |
|
| Must use |
| GS | Functional Group Header | M | 1 |
|
| Must use |
Heading:
Pos | Id | Segment Name | Req | Max Use | Repeat | Notes | Usage |
010 | ST | Transaction Set Header | M | 1 |
|
| Must use |
020 | BEG | Beginning Segment for Purchase Order | M | 1 |
|
| Must use |
050 | REF | Reference Identification | M | >1 |
|
| Must use |
050 | REF | Reference Identification | C | >1 |
|
| Dependent |
050 | REF | Reference Identification | C | >1 |
|
| Dependent |
080 | FOB | F.O.B. Related Instructions | C | >1 |
|
| Dependent |
110 | CSH | Sales Requirements | M | 5 |
|
| Must use |
150 | DTM | Date/Time Reference | M | 10 |
|
| Must use |
150 | DTM | Date/Time Reference | M | 10 |
|
| Must use |
220 | PKG | Marking, Packaging, Loading | C | 200 |
|
| Used |
|
| LOOP ID - N9 |
|
| 1000 |
|
|
295 | N9 | Reference Identification | C | 1 |
|
| Dependent |
300 | MSG | Message Text | C | 1000 |
|
| Dependent |
|
| LOOP ID - N1 |
|
| 200 |
|
|
310 | N1 | Name | M | 1 |
|
| Must use |
Detail:
Pos | Id | Segment Name | Req | Max Use | Repeat | Notes | Usage |
|
| LOOP ID - PO1 |
|
| 100000 | N2/010L | N2/010L |
010 | PO1 | Baseline Item Data | M | 1 |
| N2/010 | Must use |
Summary:
Pos | Id | Segment Name | Req | Max Use | Repeat | Notes | Usage |
|
| LOOP ID - CTT |
|
| 1 | N3/010L | N3/010L |
010 | CTT | Transaction Totals | M | 1 |
| N3/010 | Must use |
030 | SE | Transaction Set Trailer | M | 1 |
|
| Must use |
Not Defined:
Pos | Id | Segment Name | Req | Max Use | Repeat | Notes | Usage |
| GE | Functional Group Trailer | M | 1 |
|
| Must use |
| IEA | Interchange Control Trailer | M | 1 |
|
| Must use |
ISA Interchange Control Header Pos: Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 16
User Option (Usage): Must use
Purpose: To start and identify an interchange of zero or more functional groups and interchange-related control segments
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
ISA01 | Authorization Information Qualifier Code List Summary (Total Codes: 7, Included: 1) Code Name 00 No Authorization Information Present (No Meaningful Information in I02) | M | ID | 2/2 | Must use |
ISA02 | Authorization Information | M | AN | 10/10 | Must use |
ISA03 | Security Information Qualifier Code List Summary (Total Codes: 2, Included: 1) Code Name 00 No Security Information Present (No Meaningful Information in I04) | M | ID | 2/2 | Must use |
ISA04 | Security Information | M | AN | 10/10 | Must use |
ISA05 | Interchange ID Qualifier Code List Summary (Total Codes: 38, Included: 1) Code Name ZZ Mutually Defined | M | ID | 2/2 | Must use |
ISA06 | Interchange Sender ID Notes: This will be Amazon's ISA sender ID: AMAZON for Amazon US, AMAZONCA for Amazon Canada, AMAZONMX for Amazon Mexico, AMAZONJP for Amazon Japan, AMAZONBR for Amazon Brazil, AMAZONSG for Singapore, AMAZONAU for Australia | M | AN | 15/15 | Must use |
ISA07 | Interchange ID Qualifier Code List Summary (Total Codes: 38, Included: 1) Code Name ZZ Mutually Defined | M | ID | 2/2 | Must use |
ISA08 | Interchange Receiver ID Notes: This element provides the vendor's ISA receiver ID. | M | AN | 15/15 | Must use |
ISA09 | Interchange Date Notes: Date on which this message was created. Formatting Notes: YYMMDD | M | DT | 6/6 | Must use |
ISA10 | Interchange Time Formatting Notes: HHMM | M | TM | 4/4 | Must use |
ISA11 | Repetition Separator | M | ID | 1/1 | Must use |
ISA12 | Interchange Control Version Number Code List Summary (Total Codes: 14, Included: 1) Code Name 00401 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997 | M | ID | 5/5 | Must use |
ISA13 | Interchange Control Number Notes: This element contains the unique control number representing the ISA - IEA transaction. | M | N0 | 9/9 | Must use |
ISA14 | Acknowledgment Requested Code List Summary (Total Codes: 2, Included: 1) Code Name 0 No Acknowledgment Requested | M | ID | 1/1 | Must use |
ISA15 | Usage Indicator Code List Summary (Total Codes: 3, Included: 1) Code Name P Production Data | M | ID | 1/1 | Must use |
ISA16 | Component Element Separator Formatting Notes: '>' | M |
| 1/1 | Must use |
Segment Usage:
Only one ISA/IEA loop per data file is sent.
Example:
ISA*00* *00* *ZZ*AMAZON *ZZ*VENDOR *240607*0832*U*00400*000000112*0*P*>
GS Functional Group Header Pos: Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 8
User Option (Usage): Must use
Purpose: To indicate the beginning of a functional group and to provide control information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
GS01 | Functional Identifier Code Code List Summary (Total Codes: 240, Included: 1) Code Name PO Purchase Order (850) | M | ID | 2/2 | Must use |
GS02 | Application Sender's Code Notes: This will be Amazon's GS sender ID: AMAZON for Amazon US, AMAZONCA for Amazon Canada, AMAZONMX for Amazon Mexico, AMAZONJP for Amazon Japan, AMAZONBR for Amazon Brazil, AMAZONSG for Singapore, AMAZONAU for Australia | M | AN | 2/15 | Must use |
GS03 | Application Receiver's Code Notes: This element provides the receiver's GS ID | M | AN | 2/15 | Must use |
GS04 | Date Notes: This element provides the date on which the message was created. Formatting Notes: CCYYMMDD | M | DT | 8/8 | Must use |
GS05 | Time Formatting Notes: HHMM | M | TM | 4/8 | Must use |
GS06 | Group Control Number Notes: This field will be a unique control number representing the GS - GE transaction. | M | N0 | 1/9 | Must use |
GS07 | Responsible Agency Code Code List Summary (Total Codes: 2, Included: 1) Code Name X Accredited Standards Committee X12 | M | ID | 1/2 | Must use |
GS08 | Version / Release / Industry Identifier Code Code List Summary (Total Codes: 39, Included: 1) Code Name 004010 Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997 | M | AN | 1/12 | Must use |
Segment Usage:
Only one GS/GE loop per data file is sent.
Example:
GS*PO*AMAZON*VENDOR*20240607*1400*367*X*004010
ST Transaction Set Header Pos: 010 Max: 1
Heading - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To indicate the start of a transaction set and to assign a control number
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
ST01 | Transaction Set Identifier Code Code List Summary (Total Codes: 298, Included: 1) Code Name 850 Purchase Order | M | ID | 3/3 | Must use |
ST02 | Transaction Set Control Number Notes: This element will be a unique control number representing the ST - SE transaction. | M | AN | 4/9 | Must use |
Example:
ST*850*0001
BEG Beginning Segment for Purchase Order Pos: 020 Max: 1
Heading - Mandatory
Loop: N/A Elements: 4
User Option (Usage): Must use
Purpose: To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
BEG01 | Transaction Set Purpose Code Code List Summary (Total Codes: 65, Included: 1) Code Name 00 Original | M | ID | 2/2 | Must use |
BEG02 | Purchase Order Type Code Code List Summary (Total Codes: 69, Included: 4) Code Name CN Consigned Order NE New Order NP New Product Introduction RO Rush Order | M | ID | 2/2 | Must use |
BEG03 | Purchase Order Number Notes: This field will contain the Amazon PO number for this order. The PO number must be returned on response messages (855, 856, 810). Formatting Notes: 8-character alpha-numeric and case sensitive code. | M | AN | 1/22 | Must use |
BEG05 | Date Notes: This field will be the PO date Formatting Notes: CCYYMMDD | M | DT | 8/8 | Must use |
Segment Usage:
This segment provides the order type, PO Number, and date on which the PO was created.
Example:
BEG*00*NE*G7984251**20240607
REF Reference Identification Pos: 050 Max: >1
Heading - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To specify identifying information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
REF01 | Reference Identification Qualifier Code List Summary (Total Codes: 1503, Included: 1) Code Name CR Customer Reference Number | M | ID | 2/3 | Must use |
REF02 | Reference Identification | M | AN | 1/30 | Must use |
Segment Usage:
This segment contains the Amazon vendor code for which the PO is issued.
Example:
REF*CR*AMZN_VENDORCODE
REF Reference Identification Pos: 050 Max: >1
Heading - Conditional
Loop: N/A Elements: 2
User Option (Usage): Dependent
Purpose: To specify identifying information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
REF01 | Reference Identification Qualifier Code List Summary (Total Codes: 1503, Included: 1) Code Name PD Promotion/Deal Number | M | ID | 2/3 | Must use |
REF02 | Reference Identification | M | AN | 1/30 | Must use |
Segment Usage:
This segment will be sent for Direct Import vendors only. To receive this segment in the PO with your promo code, please reach out to your Amazon business representative.
Example:
REF*PD*PROMO_CODE
REF Reference Identification Pos: 050 Max: >1
Heading - Conditional
Loop: N/A Elements: 2
User Option (Usage): Dependent
Purpose: To specify identifying information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
REF01 | Reference Identification Qualifier Code List Summary (Total Codes: 1503, Included: 1) Code Name AN Associated Purchase Orders | M | ID | 2/3 | Must use |
REF02 | Reference Identification | M | AN | 1/30 | Must use |
Segment Usage:
This field contains the Amazon Container Consolidation ID (CCID). All purchase orders from Amazon with the same CCID should be shipped together as a Full Truck Load (FTL). To enroll into this program, work with your Amazon business representative. This applies only to vendors who participate in Amazon's FTL program.
Example:
REF*AN*A131243523
FOB F.O.B. Related Instructions Pos: 080 Max: >1
Heading - Conditional
Loop: N/A Elements: 5
User Option (Usage): Dependent
Purpose: To specify transportation instructions relating to shipment
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
FOB01 | Shipment Method of Payment Notes: This element contains the ship method payment terms code. Code List Summary (Total Codes: 28, Included: 6) Code Name BP Paid by Buyer CC Collect DF Defined by Buyer and Seller FO FOB Port of Call PP Prepaid (by Seller) PS Paid by Seller | M | ID | 2/2 | Must use |
FOB04 | Transportation Terms Qualifier Code Code List Summary (Total Codes: 3, Included: 1) Code Name 01 Incoterms | M | ID | 2/2 | Must use |
FOB05 | Transportation Terms Code Code List Summary (Total Codes: 26, Included: 12) Code Name CFR Cost and Freight CIF Cost, Insurance, and Freight CIP Carriage and Insurance Paid To CPT Carriage Paid To DAF Delivered at Frontier DDP Delivered Duty Paid DDU Deliver Duty Unpaid EXW Ex Works FCA Free Carrier FOB Free on Board MFP Modified Factory Pickup - Amazon created incoterm that allows the vendor to retain importer of record status while maintaining the supply chain relationships of the FCA incoterm where ownership transfers to Amazon at the vendor's factory when the freight forwarder takes possession. MPP Modified Port Pickup - Amazon created incoterm that allows the vendor to retain importer of record status while maintaining the supply chain relationships of the FOB incoterm where ownership transfers to Amazon at the origin port when the freight forwarder takes possession. | M | ID | 3/3 | Must use |
FOB06 | Location Qualifier Code List Summary (Total Codes: 172, Included: 1) Code Name OV On Vessel (Free On Board [FOB] point) | C | ID | 1/2 | Dependent |
FOB07 | Description Notes: This element specifies the FOB port. | C | AN | 1/80 | Dependent |
Segment Usage:
This segment is only sent for Direct Import vendors.
Example:
FOB*BP***01*CFR*OV*YANTIAN, CHINA
CSH Sales Requirements Pos: 110 Max: 5
Heading - Mandatory
Loop: N/A Elements: 1
User Option (Usage): Must use
Purpose: To specify general conditions or requirements of the sale
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
CSH01 | Sales Requirement Code Code List Summary (Total Codes: 54, Included: 2) Code Name N No Back Order Y Back Order if Out of Stock | M | ID | 1/2 | Must use |
Segment Usage:
This segment indicates if backorder is allowed for the PO.
Example:
CSH*N
DTM Date/Time Reference Pos: 150 Max: 10
Heading - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To specify pertinent dates and times
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
DTM01 | Date/Time Qualifier Code List Summary (Total Codes: 1112, Included: 1) Code Name 063 Do Not Deliver After | M | ID | 3/3 | Must use |
DTM02 | Date Formatting Notes: CCYYMMDD | M | DT | 8/8 | Must use |
Segment Usage:
1) Amazon paid freight: Read the date in the field as the latest date that Amazon expects to pick up the freight. If the same date is listed in both DTM02 fields, then read that date as the date that Amazon expects to pick up the freight.
2) Vendor paid freight: Read the date in the DTM02 field as the latest date that Amazon expects the freight to be delivered to the Amazon fulfillment center listed on the purchase order.
Example:
DTM*063*20240607
DTM Date/Time Reference Pos: 150 Max: 10
Heading - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To specify pertinent dates and times
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
DTM01 | Date/Time Qualifier Code List Summary (Total Codes: 1112, Included: 1) Code Name 064 Do Not Deliver Before | M | ID | 3/3 | Must use |
DTM02 | Date Formatting Notes: CCYYMMDD | M | DT | 8/8 | Must use |
Segment Usage:
1) Amazon paid freight: Read the date in the field as the earliest date that Amazon expects to pick up the freight. If the same date is listed in both DTM02 fields, then read that date as the date that Amazon expects to pick up the freight.
2) Vendor paid freight: Read the date in the DTM02 field as the earliest date that Amazon expects the freight to be delivered to the Amazon fulfillment center listed on the purchase order.
Example:
DTM*064*20240604
PKG Marking, Packaging, Loading Pos: 220 Max: 200
Heading - Conditional
Loop: N/A Elements: 3
User Option (Usage): Used
Purpose: To describe marking, packaging, loading, and unloading requirements
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
PKG01 | Item Description Type Code List Summary (Total Codes: 3, Included: 1) Code Name F Free-form | O | ID | 1/1 | Used |
PKG02 | Packaging Characteristic Code Code List Summary (Total Codes: 44, Included: 1) Code Name CS Container Shape | O | ID | 1/5 | Used |
PKG05 | Description Notes: This field will specify the container size | O | AN | 1/80 | Used |
Segment Usage:
This segment is used for Direct Import POs only and provides container size.
Example:
PKG*F*CS***40'HC
N9 Reference Identification Pos: 295 Max: 1
Heading - Conditional
Loop: N9 Elements: 2
User Option (Usage): Dependent
Purpose: To transmit identifying information as specified by the Reference Identification Qualifier
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
N901 | Reference Identification Qualifier Code List Summary (Total Codes: 1503, Included: 1) Code Name L1 Letters or Notes | M | ID | 2/3 | Must use |
N902 | Reference Identification | M | AN | 1/30 | Must use |
Segment Usage:
If segment N9 is used, segment MSG is required. Only used for Direct Import.
Example:
N9*L1*SPECIAL INSTRUCTIONS
MSG Message Text Pos: 300 Max: 1000
Heading - Conditional
Loop: N9 Elements: 1
User Option (Usage): Dependent
Purpose: To provide a free-form format that allows the transmission of text information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
MSG01 | Free-Form Message Text Notes: This field will specify additional comments or messages from the buying contact. | M | AN | 1/264 | Must use |
Segment Usage:
If segment MSG is used, segment N9 is required. Only used for Direct Import.
Example:
MSG*PREFERENCE IS PALLET-LOAD, BUT IF CONTAINERS ARE FLOOR-LOADED, THEN PLEASE DO CLAMP-LOAD OR STRAIGHT FLOOR-LOAD. DO NOT USE SLIP SHEET FOR THIS FC DESTINATION. PAYMENT TERMS ARE PER CONTAINER.
N1 Name Pos: 310 Max: 1
Heading - Mandatory
Loop: N1 Elements: 3
User Option (Usage): Must use
Purpose: To identify a party by type of organization, name, and code
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
N101 | Entity Identifier Code Code List Summary (Total Codes: 1312, Included: 1) Code Name ST Ship To | M | ID | 2/3 | Must use |
N103 | Identification Code Qualifier Code List Summary (Total Codes: 215, Included: 2) Code Name 15 Standard Address Number (SAN) 92 Assigned by Buyer or Buyer's Agent (FC code) | M | ID | 1/2 | Must use |
N104 | Identification Code Notes: This element provides the code which represents the ship-to location. | M | AN | 2/80 | Must use |
Segment Usage:
This segment provides the ship-to location identifier code for the PO. Depending on your preference and business location, you can choose to either receive the Amazon FC code or SAN to identify the location.
To obtain the list of Amazon ship-to locations with addresses and identifier codes, navigate to the EDI Resources help page (Vendor Central > Help > Automation at Amazon > EDI Resources). Amazon will periodically launch new ship-to locations or update addresses. We recommend for you to periodically download the list for up-to-date information.
Example:
N1*ST**15*1553992 N1*ST**92*RNO1
PO1 Baseline Item Data Pos: 010 Max: 1
Detail - Mandatory
Loop: PO1 Elements: 7
User Option (Usage): Must use
Purpose: To specify basic and most frequently used line item data
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
PO101 | Assigned Identification Notes: This element provides the line item ID for differentiation. | M | AN | 1/20 | Must use |
PO102 | Quantity Ordered Notes: This element provides the quantity ordered for the line item. | M | R | 1/15 | Must use |
PO103 | Unit or Basis for Measurement Code Code List Summary (Total Codes: 794, Included: 2) Code Name CA Case EA Each | M | ID | 2/2 | Must use |
PO104 | Unit Price Notes: This field will either be the Price to Amazon per Each item unit (Cost) or the Price to Amazon per Each item unit (List), depending on the price basis coded in the PO105 element. Formatting Notes: nnnnn.nn - Please note: Only two decimals are included for values provided via this field (e.g., 8.20). | M | R | 1/17 | Must use |
PO105 | Basis of Unit Price Code Code List Summary (Total Codes: 91, Included: 2) Code Name PE Price per Each RE Retail Price per Each | M | ID | 2/2 | Must use |
PO106 | Product/Service ID Qualifier Notes: This element provides the product ID type qualifier. This qualifier and related product ID should be used on all return messages (855, 856, 810). Code List Summary (Total Codes: 477, Included: 6) Code Name BP Buyer's Part Number EN European Article Number (EAN) (2-5-5-1) IB International Standard Book Number (ISBN) UK U.P.C./EAN Shipping Container Code (1-2-5-5-1) UP U.P.C. Consumer Package Code (1-5-5-1) VN Vendor's (Seller's) Item Number | M | ID | 2/2 | Must use |
PO107 | Product/Service ID Notes: This element provides the product ID for the line item. The same product ID should be returned on all return messages (855, 856, 810) | M | AN | 1/48 | Must use |
Example:
PO1*1*1*EA*4.12*PE*EN*9780812508420
CTT Transaction Totals Pos: 010 Max: 1
Summary - Mandatory
Loop: CTT Elements: 2
User Option (Usage): Must use
Purpose: To transmit a hash total for a specific element in the transaction set
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
CTT01 | Number of Line Items | M | N0 | 1/6 | Must use |
CTT02 | Hash Total Notes: This field will be the total number of items ordered. | M | R | 1/10 | Must use |
Example:
CTT*5*60
SE Transaction Set Trailer Pos: 030 Max: 1
Summary - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
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)
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
SE01 | Number of Included Segments Notes: Total number of segments included in a transaction set including SE and ST segments. | M | N0 | 1/10 | Must use |
SE02 | Transaction Set Control Number | M | AN | 4/9 | Must use |
Example:
SE*16*0001
GE Functional Group Trailer Pos: Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To indicate the end of a functional group and to provide control information
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
GE01 | Number of Transaction Sets Included | M | N0 | 1/6 | Must use |
GE02 | Group Control Number | M | N0 | 1/9 | Must use |
Segment Usage:
Only one GS/GE loop per data file is sent.
Example:
GE*1*367
IEA Interchange Control Trailer Pos: Max: 1
Not Defined - Mandatory
Loop: N/A Elements: 2
User Option (Usage): Must use
Purpose: To define the end of an interchange of zero or more functional groups and interchange-related control segments
Element Summary:
Ref Id | Element Name | Req | Type | Min/Max | Usage |
IEA01 | Number of Included Functional Groups | M | N0 | 1/5 | Must use |
IEA02 | Interchange Control Number | M | N0 | 9/9 | Must use |
Segment Usage:
Only one ISA/IEA loop per data file is sent.
Example:
IEA*1*000000112
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article