Stedi maintains this guide based on public documentation from Dollar Tree. Contact Dollar Tree for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
EDI samples
- None included
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
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
REF
0500
Department Number
Max use 1
Optional
REF
0500
Merchandise Type Code
Max use 1
Optional
REF
0500
Mutually Defined
Max use 1
Optional
REF
0500
System Number
Max use 1
Optional
REF
0500
Vendor ID Number
Max use 1
Required
FOB
0800
F.O.B. Related Instructions
Max use 1
Optional
ITD
1300
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
1500
Cancel if Not Delivered by
Max use 1
Optional
DTM
1500
Estimated Delivery
Max use 1
Optional
DTM
1500
Purchase Order
Max use 1
Optional
DTM
1500
Ship No Later
Max use 1
Optional
DTM
1500
Ship Not Before
Max use 1
Optional
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
Optional
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)
—
- 00403
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
REF
0500
Heading > REF
Department Number
OptionalMax use 1
—
Example
Variants (all may be used)
REFMerchandise Type CodeREFMutually DefinedREFSystem NumberREFVendor ID NumberREF
0500
Heading > REF
Merchandise Type Code
OptionalMax use 1
—
Example
Variants (all may be used)
REFDepartment NumberREFMutually DefinedREFSystem NumberREFVendor ID NumberREF
0500
Heading > REF
Mutually Defined
OptionalMax use 1
—
Example
Variants (all may be used)
REFDepartment NumberREFMerchandise Type CodeREFSystem NumberREFVendor ID NumberREF
0500
Heading > REF
System Number
OptionalMax use 1
—
Example
Variants (all may be used)
REFDepartment NumberREFMerchandise Type CodeREFMutually DefinedREFVendor ID NumberAt least one of Reference Identification (REF-02) or Description (REF-03) is required
REF
0500
Heading > REF
Vendor ID Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFDepartment NumberREFMerchandise Type CodeREFMutually DefinedREFSystem NumberFOB
0800
Heading > FOB
F.O.B. Related Instructions
OptionalMax use >1
—
Example
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
—
- CC
- Collect
- CD
- Collect on Delivery
- DF
- Defined by Buyer and Seller
- MX
- Mixed
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
DTM
1500
Heading > DTM
Estimated Delivery
OptionalMax use 1
—
Example
Variants (all may be used)
DTMCancel if Not Delivered byDTMPurchase OrderDTMShip No LaterDTMShip Not BeforeDTM
1500
Heading > DTM
Purchase Order
OptionalMax use 1
—
Example
Variants (all may be used)
DTMCancel if Not Delivered byDTMEstimated DeliveryDTMShip No LaterDTMShip Not BeforeDTM
1500
Heading > DTM
Ship No Later
OptionalMax use 1
—
Example
Variants (all may be used)
DTMCancel if Not Delivered byDTMEstimated DeliveryDTMPurchase OrderDTMShip Not BeforeDTM
1500
Heading > DTM
Ship Not Before
OptionalMax use 1
—
Example
Variants (all may be used)
DTMCancel if Not Delivered byDTMEstimated DeliveryDTMPurchase OrderDTMShip No LaterTD5
2400
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use >1
—
Example
If Location Qualifier (TD5-07) is present, then Location Identifier (TD5-08) is required
N1
3100
Heading > Bill-to-Party > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1 Bill-to-Party end
N1 Remit To
OptionalMax 1
N1 Remit To end
N1 Ship To
OptionalMax 1
PER
3600
Heading > Ship To > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 Ship To end
N1 Vendor
OptionalMax 1
N1 Vendor end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) 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
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
—
- UA
- U.P.C./EAN Case Code (2-5-5)
- UP
- UCC - 12—
CTP Loop
OptionalMax >1
CTP Loop end
PID Loop
OptionalMax >1
PID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
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.