Stedi maintains this guide based on public documentation from One Kings Lane. Contact One Kings Lane for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
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
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
CUR
040
Currency
Max use 1
Optional
REF
050
Internal Control Number
Max use 1
Required
REF
050
Internal Vendor Number
Max use 1
Required
REF
050
Reference Identification
Max use 1
Optional
PER
060
Administrative Communications Contact
Max use 3
Required
DTM
150
Purchase Order
Max use 1
Optional
DTM
150
Sold
Max use 1
Required
PWK
210
Paperwork
Max use 25
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
CTB
280
Restrictions/Conditions
Max use 5
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)
—
- 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
—
- 11
- Account Number—
- CO
- Customer Order Number—
- IO
- Inbound-to or Outbound-from Party—
- PK
- Packing List Number—
- PQ
- Payee Identification—
- WS
- Warehouse storage location number—
SAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
—
- F050
- Other (See related description)—
- H151
- Special Services—
SAC Loop end
PER
360
Heading > Bill To Party > 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
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Bill To Party end
N1 Ship From
RequiredMax 1
PER
360
Heading > Ship From > 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
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Ship From end
N1 Ship To
RequiredMax 1
PER
360
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
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other 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-08) or Product/Service ID (PO1-09) 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
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
PID Loop
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
PO4
090
Detail > PO1 Loop > PO4
Item Physical Details
RequiredMax use >1
—
Example
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
—
- F050
- Other (See related description)—
- F150
- Packaging Service—
SAC Loop end
DTM
210
Detail > PO1 Loop > DTM
Delivery Requested
RequiredMax use 1
—
Example
Variants (all may be used)
DTMShip No LaterDTM
210
Detail > PO1 Loop > DTM
Ship No Later
RequiredMax use 1
—
Example
Variants (all may be used)
DTMDelivery RequestedTD5
250
Detail > PO1 Loop > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Usage notes
—
Example
SLN Loop
OptionalMax >1
PO4
518
Detail > PO1 Loop > SLN Loop > PO4
Item Physical Details
OptionalMax use 1
—
Example
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
SLN Loop end
PO1 Loop end
Detail end
Summary
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.