Stedi maintains this guide based on public documentation from Navy Exchange Service Command (NEXCOM). Contact Navy Exchange Service Command (NEXCOM) for official EDI specifications. To report any errors in this guide, please contact us.

X12 850 Purchase Order
X12 Release 4010Revised
Feb 7, 4:37 AM
—
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
ST
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
REF
050
Reference Identification Customer Order Number
Max use 1
Optional
REF
050
Reference Identification Department Number
Max use 1
Optional
REF
050
Reference Identification Internal Vendor Number
Max use 1
Required
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
150
Date/Time Reference Requested Ship
Max use 1
Optional
DTM
150
Date/Time Reference Ship No Later
Max use 1
Optional
DTM
150
Date/Time Reference Ship Not Before
Max use 10
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
CTB
280
Restrictions/Conditions
Max use 5
Required
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
—
- DR
- Direct Ship—
- DS
- Dropship
- OS
- Special Order—
- RE
- Reorder
- SA
- Stand-alone Order
REF
050
Heading > REF
Reference Identification Customer Order Number
OptionalMax use >1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Identification Department NumberREFReference Identification Internal Vendor NumberREF
050
Heading > REF
Reference Identification Department Number
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Identification Customer Order NumberREFReference Identification Internal Vendor NumberREF
050
Heading > REF
Reference Identification Internal Vendor Number
RequiredMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Identification Customer Order NumberREFReference Identification Department NumberSAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
—
- PR
- Promotional Order
SAC Loop end
ITD
130
Heading > ITD
Terms of Sale/Deferred Terms of Sale
RequiredMax use >1
—
Example
If Terms Discount Percent (ITD-03) is present, then Terms Discount Days Due (ITD-05) is required
DTM
150
Heading > DTM
Date/Time Reference Requested Ship
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Ship No LaterDTMDate/Time Reference Ship Not BeforeDTM
150
Heading > DTM
Date/Time Reference Ship No Later
OptionalMax use 1
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested ShipDTMDate/Time Reference Ship Not BeforeTD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Usage notes
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
CTB
280
Heading > CTB
Restrictions/Conditions
RequiredMax use 5
—
Usage notes
—
Example
If either Quantity Qualifier (CTB-03) or Quantity (CTB-04) is present, then the other is required
At least one of Description (CTB-02) or Quantity (CTB-04) is required
N1 Loop Bill-to-Party
RequiredMax 1
Variants (all may be used)
N1 Loop Ship ToN1 Loop Bill-to-Party end
N1 Loop Ship To
OptionalMax >1
Variants (all may be used)
N1 Loop Bill-to-PartyN1
310
Heading > N1 Loop Ship To > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
PER
360
Heading > N1 Loop Ship To > 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
N1 Loop Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) 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-12) or Product/Service ID (PO1-13) is present, then the other is required
—
- EN
- European Article Number (EAN) (2-5-5-1)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- IZ
- Buyer's Size Code
- SM
- National Retail Merchants Association Size Code
CTP Loop
RequiredMax >1
CTP Loop end
PID Loop
RequiredMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
SDQ
190
Detail > PO1 Loop > SDQ
Destination Quantity
OptionalMax use 500
—
Usage notes
—
Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *260207*0437*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20260207*043744*1*X*004010~
ST*850*0001~
BEG*00*SA*0037915163**20260115~
REF*DP*585~
REF*IA*087403341~
ITD***0**0**30*****Terms Net 30 DATE OF INVOICE MUST NOT PRECEDE DATE OF SHIPMENT~
DTM*037*20260317~
DTM*038*20260328~
TD5**92*Website https://nextms.nexweb.org/ for ORDERS ROUTED/CONFIRMED.~
TD5**92*Email issues to NEX.Traffic.Management.Group@nexweb.org~
CTB*AA*PO TERMS&COND at www.mynavyexchange.com/nex/doing-business-with-us/vendor-guide~
N1*ST*SE RETAIL DIST CTR*92*983~
N3*BLDG 781 PAGE ROAD~
N4*PENSACOLA*FL*32508~
N1*BT**92*001~
N2*NAVY EXCHANGE SERVICE COMMAND~
N3*9222 HAMPTON BLVD BLDG CD-1~
N4*NORFOLK*VA*23505~
PO1**98*EA*25*WE*UP*086702628384*VA*AK/3295SVST*IT*14039916~
CTP**RES*39.99~
PID*F*08***ANNE KLEIN SP CRYSTAL BANGLE WATCH SET SILVER 32MM~
PID*F*75***Silver~
PO4*1~
SDQ*EA*92*010*8*016*2*034*2*164*8*191*8*221*2*305*14*335*2*407*2*437*14~
SDQ*EA*92*440*14*464*8*652*14~
PO1**72*EA*25*WE*UP*086702628414*VA*AK/3286BYST*IT*14039918~
CTP**RES*39.99~
PID*F*08***ANNE KLEIN SP SWAROVSKI CRYSTAL ACCENTED WATCH SET ROSE GOLD 32MM~
PID*F*75***Rose Gold~
PO4*1~
SDQ*EA*92*010*6*164*6*191*6*305*12*437*12*440*12*464*6*652*12~
PO1**66*EA*25*WE*UP*086702607990*VA*AK/3083SVST*IT*14530201~
CTP**RES*50~
PID*F*08***ANNE KLEIN PREMIUM CRYSTAL ACCENTED WATCH AND BRACELET SET SILVER 22MM~
PID*F*75***Silver~
PO4*1~
SDQ*EA*92*010*6*016*2*034*2*164*6*191*6*221*2*305*8*335*2*407*2*437*8~
SDQ*EA*92*440*8*464*6*652*8~
PO1**82*EA*25*WE*UP*086702628292*VA*AK-3284WTST*IT*14684102~
CTP**RES*50~
PID*F*08***ANNE KLEIN WATCH AND BRACELET 3 PC SET GOLD TONE~
PID*F*75***Gold Tone~
PO4*1~
SDQ*EA*92*010*6*016*2*034*2*164*6*191*6*221*2*305*12*335*2*407*2*437*12~
SDQ*EA*92*440*12*464*6*652*12~
PO1**114*EA*25*WE*UP*086702700493*VA*AK-3296IVST*IT*19827957~
CTP**RES*45~
PID*F*08***ANNE KLEIN BANGLE BRACELET WATCH SET GOLD/IVORY~
PID*F*75***Gold/Ivory~
PO4*1~
SDQ*EA*92*010*10*016*2*034*2*164*10*191*10*221*2*305*16*335*2*407*2*437*16~
SDQ*EA*92*440*16*464*10*652*16~
CTT*5~
SE*53*0001~
ST*850*0001~
BEG*00*SA*0037860645**20251211~
REF*DP*585~
REF*IA*087403341~
ITD***0**0**30*****Terms Net 30 DATE OF INVOICE MUST NOT PRECEDE DATE OF SHIPMENT~
DTM*037*20251211~
DTM*038*20251218~
TD5**92*Website https://nextms.nexweb.org/ for ORDERS ROUTED/CONFIRMED.~
TD5**92*Email issues to NEX.Traffic.Management.Group@nexweb.org~
CTB*AA*PO TERMS&COND at www.mynavyexchange.com/nex/doing-business-with-us/vendor-guide~
N1*ST*SE RETAIL DIST CTR*92*983~
N3*BLDG 781 PAGE ROAD~
N4*PENSACOLA*FL*32508~
N1*BT**92*001~
N2*NAVY EXCHANGE SERVICE COMMAND~
N3*9222 HAMPTON BLVD BLDG CD-1~
N4*NORFOLK*VA*23505~
PO1**322*EA*17*WE*UP*086702745531*VA*AK-5142BKST*IT*19778823~
CTP**RES*30~
PID*F*08***ANNE KLEIN WOMENS DIAMOND DIAL BANGLE BRACELET WATCH SET GOLD/BLACK~
PID*F*75***Gold/Black~
PO4*1~
CTT*1~
SE*24*0001~
GE*2*1~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20260207*043744*1*X*004010~
ST*850*0001~
BEG*00*SA*0037915163**20260115~
REF*DP*585~
REF*IA*087403341~
ITD***0**0**30*****Terms Net 30 DATE OF INVOICE MUST NOT PRECEDE DATE OF SHIPMENT~
DTM*037*20260317~
DTM*038*20260328~
TD5**92*Website https://nextms.nexweb.org/ for ORDERS ROUTED/CONFIRMED.~
TD5**92*Email issues to NEX.Traffic.Management.Group@nexweb.org~
CTB*AA*PO TERMS&COND at www.mynavyexchange.com/nex/doing-business-with-us/vendor-guide~
N1*ST*SE RETAIL DIST CTR*92*983~
N3*BLDG 781 PAGE ROAD~
N4*PENSACOLA*FL*32508~
N1*BT**92*001~
N2*NAVY EXCHANGE SERVICE COMMAND~
N3*9222 HAMPTON BLVD BLDG CD-1~
N4*NORFOLK*VA*23505~
PO1**98*EA*25*WE*UP*086702628384*VA*AK/3295SVST*IT*14039916~
CTP**RES*39.99~
PID*F*08***ANNE KLEIN SP CRYSTAL BANGLE WATCH SET SILVER 32MM~
PID*F*75***Silver~
PO4*1~
SDQ*EA*92*010*8*016*2*034*2*164*8*191*8*221*2*305*14*335*2*407*2*437*14~
SDQ*EA*92*440*14*464*8*652*14~
PO1**72*EA*25*WE*UP*086702628414*VA*AK/3286BYST*IT*14039918~
CTP**RES*39.99~
PID*F*08***ANNE KLEIN SP SWAROVSKI CRYSTAL ACCENTED WATCH SET ROSE GOLD 32MM~
PID*F*75***Rose Gold~
PO4*1~
SDQ*EA*92*010*6*164*6*191*6*305*12*437*12*440*12*464*6*652*12~
PO1**66*EA*25*WE*UP*086702607990*VA*AK/3083SVST*IT*14530201~
CTP**RES*50~
PID*F*08***ANNE KLEIN PREMIUM CRYSTAL ACCENTED WATCH AND BRACELET SET SILVER 22MM~
PID*F*75***Silver~
PO4*1~
SDQ*EA*92*010*6*016*2*034*2*164*6*191*6*221*2*305*8*335*2*407*2*437*8~
SDQ*EA*92*440*8*464*6*652*8~
PO1**82*EA*25*WE*UP*086702628292*VA*AK-3284WTST*IT*14684102~
CTP**RES*50~
PID*F*08***ANNE KLEIN WATCH AND BRACELET 3 PC SET GOLD TONE~
PID*F*75***Gold Tone~
PO4*1~
SDQ*EA*92*010*6*016*2*034*2*164*6*191*6*221*2*305*12*335*2*407*2*437*12~
SDQ*EA*92*440*12*464*6*652*12~
PO1**114*EA*25*WE*UP*086702700493*VA*AK-3296IVST*IT*19827957~
CTP**RES*45~
PID*F*08***ANNE KLEIN BANGLE BRACELET WATCH SET GOLD/IVORY~
PID*F*75***Gold/Ivory~
PO4*1~
SDQ*EA*92*010*10*016*2*034*2*164*10*191*10*221*2*305*16*335*2*407*2*437*16~
SDQ*EA*92*440*16*464*10*652*16~
CTT*5~
SE*53*0001~
ST*850*0001~
BEG*00*SA*0037860645**20251211~
REF*DP*585~
REF*IA*087403341~
ITD***0**0**30*****Terms Net 30 DATE OF INVOICE MUST NOT PRECEDE DATE OF SHIPMENT~
DTM*037*20251211~
DTM*038*20251218~
TD5**92*Website https://nextms.nexweb.org/ for ORDERS ROUTED/CONFIRMED.~
TD5**92*Email issues to NEX.Traffic.Management.Group@nexweb.org~
CTB*AA*PO TERMS&COND at www.mynavyexchange.com/nex/doing-business-with-us/vendor-guide~
N1*ST*SE RETAIL DIST CTR*92*983~
N3*BLDG 781 PAGE ROAD~
N4*PENSACOLA*FL*32508~
N1*BT**92*001~
N2*NAVY EXCHANGE SERVICE COMMAND~
N3*9222 HAMPTON BLVD BLDG CD-1~
N4*NORFOLK*VA*23505~
PO1**322*EA*17*WE*UP*086702745531*VA*AK-5142BKST*IT*19778823~
CTP**RES*30~
PID*F*08***ANNE KLEIN WOMENS DIAMOND DIAL BANGLE BRACELET WATCH SET GOLD/BLACK~
PID*F*75***Gold/Black~
PO4*1~
CTT*1~
SE*24*0001~
GE*2*1~
IEA*1*000000001~
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.