Stedi maintains this guide based on public documentation from Amazon. Contact Amazon for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Direct Fulfillment Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- DS
- Dropship—
- SS
- Supply or Service Order—
- ZZ
- Mutually Defined—
REF
050
Heading > REF
Order Number
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFStore NumberREF
050
Heading > REF
Store Number
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFOrder NumberDTM
150
Heading > DTM
Delivery Requested
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMRequested ShipIf Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM
150
Heading > DTM
Requested Ship
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDelivery RequestedIf Time Code (DTM-04) is present, then Time (DTM-03) is required
N9 Loop
RequiredMax >1
—
- 01
- This shipment completes your order.
- 02
- We've sent this part of your order to ensure quicker service. The other items will ship separately at not additional shipping cost.
- 03
- As you requested, we've sent this part of your order to ensure quicker service. The other items will ship separately.
- 04
- This shipment represents part of your gift. The other portion of your gift is shipping separately.
- 05
- We hope you enjoy your gift, and we'd love to see you soon at www.amazon.com.
- 06
- For detailed information about your orders, please visit Your Account. You can also print invoices, change your email address and payment settings, alter your communication preferences, and much more - 24 hours a day - at http://www.amazon.com/your-account.
- 07
- Visit http://www.amazon.com/returns to return any item - including gifts - in unopened or original condition within 30 days for a full refund (other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!
N9 Loop end
N1 Bill-to-Party end
N1 Customer
RequiredMax 1
PER
360
Heading > Customer > PER
Administrative Communications Contact
OptionalMax use >1
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
N1 Customer end
N1 Ship From
RequiredMax 1
N1 Ship From end
N1 Ship To
RequiredMax 1
N4
340
Heading > Ship To > N4
Geographic Location
RequiredMax use >1
—
Usage notes
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
TD5
390
Heading > Ship To > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Usage notes
—
Example
If Location Qualifier (TD5-07) is present, then Location Identifier (TD5-08) is required
N1 Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
Example
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
CTP Loop
OptionalMax >1
CTP Loop end
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
SAC Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
B2B Order
ISA*00* *00* *ZZ*AMAZONDS *01*RECEIVERID *220428*1230*U*00401*000000013*0*P*>~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*96*X*004010~
ST*850*0001~
BEG*00*SS*T7Fd9Zn55**20220428~
CUR*BT*USD~
REF*OQ*002-9977742-6703449~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*03~
MSG*As you requested, we've sent this part of your order to ensure quicker service. The other items will ship separately.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your e-mail address and payment settings, alter your communication preferences, and much more-24 hours a day-at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item-including gifts-in unopened or original condition within 30 days for a full refund(other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.kydc,Inc.*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*Jennifer Smith~
N3*93 Hardwood Ln~
N4*Rochester*NY*14616-1629*US*CC*United States~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Jennifer Smith~
N3*93 Hardwood Ln~
N4*Rochester*NY*14616-1629*US~
PER*ZZ****TE*2065551214~
PO1*1*1*EA*2.41*NT*SK*1092189***TP*Kitchen*BL*1*ZZ*Amazon.com, LLC~
CTP**PUR*6.54~
MSG*Chicago Cutlery Essentials 3-1/2-Inch Parer Knife~
CTT*1*1~
SE*28*0001~
GE*1*96~
IEA*1*000000013~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*96*X*004010~
ST*850*0001~
BEG*00*SS*T7Fd9Zn55**20220428~
CUR*BT*USD~
REF*OQ*002-9977742-6703449~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*03~
MSG*As you requested, we've sent this part of your order to ensure quicker service. The other items will ship separately.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your e-mail address and payment settings, alter your communication preferences, and much more-24 hours a day-at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item-including gifts-in unopened or original condition within 30 days for a full refund(other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.kydc,Inc.*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*Jennifer Smith~
N3*93 Hardwood Ln~
N4*Rochester*NY*14616-1629*US*CC*United States~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Jennifer Smith~
N3*93 Hardwood Ln~
N4*Rochester*NY*14616-1629*US~
PER*ZZ****TE*2065551214~
PO1*1*1*EA*2.41*NT*SK*1092189***TP*Kitchen*BL*1*ZZ*Amazon.com, LLC~
CTP**PUR*6.54~
MSG*Chicago Cutlery Essentials 3-1/2-Inch Parer Knife~
CTT*1*1~
SE*28*0001~
GE*1*96~
IEA*1*000000013~
Gift Order
ISA*00* *00* *ZZ*AMAZONDS *ZZ*RECEIVERID *220428*1230*U*00401*000000021*0*P*>~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*98*X*004010~
ST*850*0001~
BEG*00*ZZ*T7Fd9Zn57**20220428~
CUR*BT*USD~
REF*OQ*123-4567890-1234567~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*05~
MSG*We hope you enjoy your gift, and we'd love to see you soon at www.amazon.com.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your email address and payment settings, alter your communication preferences, and much more - 24 hours a day - at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item - including gifts - in unopened or original condition within 30 days for a full refund (other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.KYDC Inc*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*William Smith~
N2*William Smith~
N3*1415 Lake Lane~
N4*Auburn*WA*98092*US~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Sam Smith~
N3*135 Mountain Rd~
N4*Orting*WA*98391*US~
PO1*1*1*EA*22.10*NT*SK*B0000E2RIA*****BL*1*ZZ*Amazon.com~
SAC*S*B790*************Y~
MSG*Elephant Vanilla Chai, 4lb.~
MSG*Happy Anniversary!~
CTT*1*1~
SE*29*0001~
GE*1*98~
IEA*1*000000021~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*98*X*004010~
ST*850*0001~
BEG*00*ZZ*T7Fd9Zn57**20220428~
CUR*BT*USD~
REF*OQ*123-4567890-1234567~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*05~
MSG*We hope you enjoy your gift, and we'd love to see you soon at www.amazon.com.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your email address and payment settings, alter your communication preferences, and much more - 24 hours a day - at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item - including gifts - in unopened or original condition within 30 days for a full refund (other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.KYDC Inc*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*William Smith~
N2*William Smith~
N3*1415 Lake Lane~
N4*Auburn*WA*98092*US~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Sam Smith~
N3*135 Mountain Rd~
N4*Orting*WA*98391*US~
PO1*1*1*EA*22.10*NT*SK*B0000E2RIA*****BL*1*ZZ*Amazon.com~
SAC*S*B790*************Y~
MSG*Elephant Vanilla Chai, 4lb.~
MSG*Happy Anniversary!~
CTT*1*1~
SE*29*0001~
GE*1*98~
IEA*1*000000021~
Multiple Item Order
ISA*00* *00* *ZZ*AMAZONDS *01*RECEIVERID *220428*1230*U*00401*000000040*1*P*>~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*95*X*004010~
ST*850*0001~
BEG*00*DS*T7Fd9Zn54**20220428~
CUR*BT*USD~
REF*OQ*111-3973054-1555434~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*01~
MSG*This shipment completes your order.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your e-mail address and payment settings, alter your communication preferences, and much more-24 hours a day-at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item-including gifts-in unopened or original condition within 30 days for a full refund(other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.kydc,Inc.*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*Charlie Smith~
N2*Darla Smith~
N3*11254 Main St*Suite 112~
N4*Seattle*WA*98104*US*CC*United States~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Amber Smith~
N3*123 Anderson Avenue~
N4*Seattle*WA*98103*US~
PER*ZZ****TE*2065551212~
PO1*1*3*EA*18.04*NT*SK*1617*****BL*1*ZZ*Amazon.com~
CTP**PUR*19.99~
MSG*Wide Tracker Activity Walker~
PO1*2*2*EA*54.42*NT*SK*4927*****BL*1*ZZ*Amazon.com~
CTP**PUR*59.99~
MSG*Deluxe Cozy Convertible~
PO1*3*1*EA*18*NT*SK*9876*****BL*1*ZZ*Amazon.com~
CTP**PUR*34.99~
MSG*Red Rattle~
CTT*3*6~
SE*35*0001~
GE*1*95~
IEA*1*000000040~
GS*PO*AMAZONDS*RECEIVERID*20220428*123038*95*X*004010~
ST*850*0001~
BEG*00*DS*T7Fd9Zn54**20220428~
CUR*BT*USD~
REF*OQ*111-3973054-1555434~
REF*ST*1~
DTM*010*20220503*2030*GM~
DTM*002*20220507*0659*GM~
N9*ZZ*01~
MSG*This shipment completes your order.~
N9*ZZ*06~
MSG*For detailed information about your orders, please visit Your Account. You can also print invoices, change your e-mail address and payment settings, alter your communication preferences, and much more-24 hours a day-at http://www.amazon.com/your-account.~
N9*ZZ*07~
MSG*Visit http://www.amazon.com/returns to return any item-including gifts-in unopened or original condition within 30 days for a full refund(other restrictions apply). Please have your order ID ready. Thanks for shopping at Amazon.com, and please come again!~
N1*BT*Amazon.com.kydc,Inc.*92*KYDC~
N1*SF*WHSE*92*WHSE~
N1*ST*Charlie Smith~
N2*Darla Smith~
N3*11254 Main St*Suite 112~
N4*Seattle*WA*98104*US*CC*United States~
TD5**92*UPS_GR_RES****ZZ*RES~
N1*LW*Amber Smith~
N3*123 Anderson Avenue~
N4*Seattle*WA*98103*US~
PER*ZZ****TE*2065551212~
PO1*1*3*EA*18.04*NT*SK*1617*****BL*1*ZZ*Amazon.com~
CTP**PUR*19.99~
MSG*Wide Tracker Activity Walker~
PO1*2*2*EA*54.42*NT*SK*4927*****BL*1*ZZ*Amazon.com~
CTP**PUR*59.99~
MSG*Deluxe Cozy Convertible~
PO1*3*1*EA*18*NT*SK*9876*****BL*1*ZZ*Amazon.com~
CTP**PUR*34.99~
MSG*Red Rattle~
CTT*3*6~
SE*35*0001~
GE*1*95~
IEA*1*000000040~
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.