
X12 850 Purchase Order (copy)
X12 Release 4010Revised
Sep 20, 2022, 8:37 PM
—
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
Required
REF
050
Reference Identification – Customer Order Number
Max use 1
Optional
REF
050
Reference Identification – Web-Site Code
Max use 1
Optional
DTM
150
Date/Time Reference
Max use 10
Required
DTM
150
Date/Time Reference
Max use 10
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
REF
050
Heading > REF
Reference Identification – Customer Order Number
OptionalMax use >1
—
Example
Variants (all may be used)
REFReference Identification – Web-Site CodeREF
050
Heading > REF
Reference Identification – Web-Site Code
OptionalMax use >1
—
Example
Variants (all may be used)
REFReference Identification – Customer Order NumberDTM
150
Heading > DTM
Date/Time Reference
RequiredMax use 10
—
Example
Variants (all may be used)
DTMDate/Time ReferenceDTM
150
Heading > DTM
Date/Time Reference
RequiredMax use 10
—
Example
Variants (all may be used)
DTMDate/Time ReferenceN9 Loop
OptionalMax >1
N9 Loop end
N1 Loop – Amazon Bill To Location
RequiredMax >1
Variants (all may be used)
N1 Loop – Customer Bill To PartyN1 Loop – Ship To PartyN1 Loop – Vendor WarehouseN1
310
Heading > N1 Loop – Amazon Bill To Location > N1
Name – Amazon Bill To Location
RequiredMax use 1
—
Example
N1 Loop – Amazon Bill To Location end
N1 Loop – Customer Bill To Party
RequiredMax >1
Variants (all may be used)
N1 Loop – Amazon Bill To LocationN1 Loop – Ship To PartyN1 Loop – Vendor WarehouseN1
310
Heading > N1 Loop – Customer Bill To Party > N1
Name – Customer Bill To Party
RequiredMax use 1
—
Example
N2
320
Heading > N1 Loop – Customer Bill To Party > N2
Additional Name Information
OptionalMax use 2
—
Example
PER
360
Heading > N1 Loop – Customer Bill To Party > PER
Administrative Communications Contact
RequiredMax 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-05) or Communication Number (PER-06) is present, then the other is required
N1 Loop – Customer Bill To Party end
N1 Loop – Ship To Party
RequiredMax >1
Variants (all may be used)
N1 Loop – Amazon Bill To LocationN1 Loop – Customer Bill To PartyN1 Loop – Vendor WarehouseN4
340
Heading > N1 Loop – Ship To Party > N4
Geographic Location
RequiredMax use >1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
TD5
390
Heading > N1 Loop – Ship To Party > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Example
N1 Loop – Ship To Party end
N1 Loop – Vendor Warehouse
RequiredMax >1
Variants (all may be used)
N1 Loop – Amazon Bill To LocationN1 Loop – Customer Bill To PartyN1 Loop – Ship To PartyN1 Loop – Vendor Warehouse end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
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-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
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) 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
—
Example
SAC Loop end
MSG
289
Detail > PO1 Loop > MSG
Message Text – Gift Message
OptionalMax use >1
—
Example
Variants (all may be used)
MSGMessage Text – Item DescriptionMSG
289
Detail > PO1 Loop > MSG
Message Text – Item Description
OptionalMax use >1
—
Example
Variants (all may be used)
MSGMessage Text – Gift MessagePO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >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.