Stedi maintains this guide based on public documentation from H-E-B. Contact H-E-B for official EDI specifications. To report any errors in this guide, please contact us.

X12 850 Warehouse GM Import-International Purchase Order
X12 Release 4010Revised
Jul 25, 2023, 1:00 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
PER
060
Administrative Communications Contact
Max use 3
Required
FOB
080
F.O.B. Related Instructions
Max use 1
Required
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
150
Delivery Requested
Max use 10
Required
DTM
150
Purchase Order
Max use 10
Required
DTM
150
Requested Ship
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
PER
060
Heading > PER
Administrative Communications Contact
RequiredMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
—
- AA
- Authorized Representative
- BD
- Buyer Name or Department
- FB
- Coordinator
N9 Agreement Number
RequiredMax >1
Variants (all may be used)
Freight Payor Reference NumberN9 Agreement Number end
N9 Freight Payor Reference Number
RequiredMax >1
Variants (all may be used)
Agreement NumberN9 Freight Payor Reference Number end
N1 Loop
RequiredMax >1
N1
310
Heading > N1 Loop > 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
—
Usage notes
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix—
- ZZ
- Mutually Defined
N4
340
Heading > N1 Loop > N4
Geographic Location
OptionalMax use >1
—
Usage notes
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
TD5
390
Heading > N1 Loop > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Example
N1 Loop 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-24) or Product/Service ID (PO1-25) is present, then the other is required
—
Usage notes
—
- UA
- U.P.C./EAN Case Code (2-5-5)—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)—
—
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)—
PID Loop
RequiredMax >1
—
- 08
- Product
- AGE
- Age—
- B8
- Bureau of Alcohol, Tobacco and Firearms Class Code—
- BCC
- Beverage Contents Characteristics, (e.g., Kosher, No Sulfites, etc. (Industry List)
- BEV
- Beverage Category—
- BND
- Brand Group—
- FLV
- Flavor—
- FQ
- Quality—
- P6
- Percentage of Alcohol—
- PRI
- Grape Variety—
- R3
- Proof—
- VI
- Vintage—
- WF
- Wine Fruit—
PID 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
—
- B872
- Customs Duty
- C310
- Discount
SAC Loop end
FOB
180
Detail > PO1 Loop > FOB
F.O.B. Related Instructions
RequiredMax use >1
—
Example
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
If Risk of Loss Code (FOB-08) is present, then Description (FOB-09) is required
PKG Loop
OptionalMax >1
PKG Loop end
N1 Loop
OptionalMax >1
REF
390
Detail > PO1 Loop > N1 Loop > REF
Certification
RequiredMax use 12
—
Usage notes
—
Example
Variants (all may be used)
REFType of CommentREF
390
Detail > PO1 Loop > N1 Loop > REF
Type of Comment
RequiredMax use 12
—
Usage notes
—
Example
Variants (all may be used)
REFCertificationPER
400
Detail > PO1 Loop > N1 Loop > PER
Administrative Communications Contact
RequiredMax use 3
—
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
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop end
SLN Loop
RequiredMax >1
SLN
470
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
RequiredMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)—
MSG
475
Detail > PO1 Loop > SLN Loop > MSG
Message Text
RequiredMax use >1
—
Example
If Number (MSG-03) is present, then Printer Carriage Control Code (MSG-02) is required
PID
490
Detail > PO1 Loop > SLN Loop > PID
Product/Item Description
RequiredMax use 1000
—
Example
If Yes/No Condition or Response Code (PID-08) is present, then Product Description Code (PID-04) is required
SAC Loop
OptionalMax >1
SAC
526
Detail > PO1 Loop > SLN Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
SAC Loop end
SLN Loop end
AMT Loop
RequiredMax >1
AMT Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT
010
Summary > CTT Loop > CTT
Transaction Totals
RequiredMax use 1
—
Example
If either Weight (CTT-03) or Unit or Basis for Measurement Code (CTT-04) is present, then the other is required
If either Volume (CTT-05) or Unit or Basis for Measurement Code (CTT-06) is present, then the other is required
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.