H-E-B
/
Warehouse GM Import-International Purchase Order
  • Specification
  • EDI Inspector
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.
Go to Stedi Network
H-E-B logo

X12 850 Warehouse GM Import-International Purchase Order

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Purchase Order Transaction Set (850) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to the placement of purchase orders for goods and services. This transaction set should not be used to convey purchase order changes or purchase order acknowledgment information.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/h-e-b/warehouse-gm-import-international-purchase-order/01H66J67ESFYKPJR3WHRS49SQX
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
Agreement Number
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
PO3
030
Additional Item Detail
Max use 25
Required
PO4
090
Item Physical Details
Max use 1
Required
SAC Loop
FOB
180
F.O.B. Related Instructions
Max use 1
Required
TC2
235
Commodity
Max use 1
Optional
MSG
289
Message Text
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

PO
Purchase Order (850)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
850
Purchase Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BEG
020
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1

To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates

Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

00
Original
01
Cancellation
05
Replace
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)

Code specifying the type of Purchase Order

CP
Change to Purchase Order
NE
New Order
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

The H-E-B PO number will be sent in an alpha-numeric / numeric-alpha combination.

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • BEG05 is the date assigned by the purchaser to purchase order.
PER
060
Heading > PER

Administrative Communications Contact

RequiredMax use 3

To identify a person or office to whom administrative communications should be directed

Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

AA
Authorized Representative
BD
Buyer Name or Department
FB
Coordinator
Required
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Unformatted Telephone Number for vendor.

PER-09
443
Contact Inquiry Reference
Required
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

Usage notes

HEB Internal ID for Contact, ex: If Buyer or Supply Chain Analyst, HEB internal ID - HEB. If Administrative or authorized contact it will be their ID number - VDR for Vendor.

FOB
080
Heading > FOB

F.O.B. Related Instructions

RequiredMax use >1

To specify transportation instructions relating to shipment

Usage notes

This is the pickup point for Purchase Order.

Example
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)

Code identifying payment terms for transportation charges

  • FOB01 indicates which party will pay the carrier.
Usage notes

For all air shipments, use code in IATA rule 650. For Warehouse Transaction Set usage only.

PU
Pickup
FOB-02
309
Location Qualifier
Required
Identifier (ID)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
OV
On Vessel (Free On Board [FOB] point)
FOB-03
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

Port of Pick Up

FOB-04
334
Transportation Terms Qualifier Code
Required
Identifier (ID)

Code identifying the source of the transportation terms

01
Incoterms
FOB-05
335
Transportation Terms Code
Required
Identifier (ID)

Code identifying the trade terms which apply to the shipment transportation responsibility

FOB
Free on Board
ITD
130
Heading > ITD

Terms of Sale/Deferred Terms of Sale

RequiredMax use >1

To specify terms of sale

Example
ITD-14
107
Payment Method Code
Required
Identifier (ID)

Code identifying type of payment procedures

Usage notes

Payment method for the vendor.

L
Letter of Credit
T
Wire Transfer
DTM
150
Heading > DTM

Delivery Requested

RequiredMax use 10

To specify pertinent dates and times

Example
Variants (all may be used)
DTMPurchase OrderDTMRequested Ship
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

002
Delivery Requested
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

DTM
150
Heading > DTM

Purchase Order

RequiredMax use 10

To specify pertinent dates and times

Example
Variants (all may be used)
DTMDelivery RequestedDTMRequested Ship
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

004
Purchase Order
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

DTM
150
Heading > DTM

Requested Ship

RequiredMax use 10

To specify pertinent dates and times

Example
Variants (all may be used)
DTMDelivery RequestedDTMPurchase Order
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

010
Requested Ship
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

N9 Agreement Number
RequiredMax >1
Variants (all may be used)
Freight Payor Reference Number
N9
295
Heading > Agreement Number > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

AH
Agreement Number
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

For WINS, reference numbers pertaining to the entire order as a whole should be put in the header level of the transaction set. Reference numbers pertaining to individual line items should appear in the detail level of the transaction set.

N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

MSG
300
Heading > Agreement Number > MSG

Message Text

RequiredMax use 1000

To provide a free-form format that allows the transmission of text information

Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

N9 Agreement Number end
N9 Freight Payor Reference Number
RequiredMax >1
Variants (all may be used)
Agreement Number
N9
295
Heading > Freight Payor Reference Number > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

F9
Freight Payor Reference Number
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

For WINS, reference numbers pertaining to the entire order as a whole should be put in the header level of the transaction set. Reference numbers pertaining to individual line items should appear in the detail level of the transaction set.

N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

MSG
300
Heading > Freight Payor Reference Number > MSG

Message Text

RequiredMax use 1000

To provide a free-form format that allows the transmission of text information

Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

N9 Freight Payor Reference Number end
N1 Loop
RequiredMax >1
N1
310
Heading > N1 Loop > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes

Use this segment with a code in N104 whenever possible. This will eliminate the need to send complete name and address information in the N2 - N4 segments.

Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

AG
Agent/Agency

The management oversight of the vendor, see
N1_02 code.

SF
Ship From

This code is optional. Use of this code value is
required for Bailment Purchase Orders.

ST
Ship To

Use of this code value is required for Bailment
Purchase Orders.

VN
Vendor

Used to specify the supplier or the supplier's division in a multi-divisional organization. Use of this code value is required for Bailment Purchase Orders.

Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

If N1_01 = "AG" then it identifies the Management Oversight Team.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

Usage notes

"9" - D-U-N-S+4 but if it is a VN it should be "ZZ".

9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix

The identification code consists of a 9-digit DUNS number for the party followed by a 4-character suffix defined by the party.

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

D-U-N-S number with four character suffix. if N1_01 = "VN", VN identifies which office manages the purchase order.

N2
320
Heading > N1 Loop > N2

Additional Name Information

OptionalMax use 2

To specify additional names or those longer than 35 characters in length

Example
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

When the N1_01 = 'VN', then this segment will be included and it will contain the HEB Vendor ID.

It will either be a 8 digit Bicep for whse (E.G. 44070272 - 2 digit fac + 6 digit Bicep) or a DSD AP number (E.G. D0017349).

N3
330
Heading > N1 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

Use segments N2 - N4 only if address information for the referenced organization or company in the N1 segment cannot be derived from the code in N1_04.

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

Usage notes

Address 1

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

Usage notes

Address 2

N4
340
Heading > N1 Loop > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Usage notes

Use segments N2 - N4 only if address information for the referenced organization or company in the N1 segment cannot be derived from the code in N104.

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

Usage notes

N04_04 see appendix for code source.

N4-05
309
Location Qualifier
Optional
Identifier (ID)

Code identifying type of location

CA
Country of Origin
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

Usage notes

Country

TD5
390
Heading > N1 Loop > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use 12

To specify the carrier and sequence of routing and provide transit time information

Example
TD5-04
91
Transportation Method/Type Code
Required
Identifier (ID)

Code specifying the method or type of transportation for the shipment

S
Ocean
N1 Loop end
Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1

To specify basic and most frequently used line item data

  • PO102 is required.
Example
If either Product/Service ID Qualifier (PO1-24) or Product/Service ID (PO1-25) is present, then the other is required
PO1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • PO101 is the line item identification.
Usage notes

PO1_01 is used to assign a sequential number to the corresponding line items (e.g. 11, 12).

PO1-02
330
Quantity Ordered
Required
Decimal number (R)
Min 1Max 5

Quantity ordered

Usage notes

Up to a 5 digit real number / no decimal spaces.

PO1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CA
Case
EA
Each
LB
Pound
PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

Usage notes

Up to a 8 digit real number / up to 4 decimal places.

PO1-05
639
Basis of Unit Price Code
Required
Identifier (ID)

Code identifying the type of unit price for an item

CP
Current Price (Subject to Change)
PO1-06
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • PO106 through PO125 provide for ten different product/service IDs per each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
Usage notes

If the PO1_06 is sent then the PO1_07 must be sent as well.

UA
U.P.C./EAN Case Code (2-5-5)

A 12-digit Universal Product Code which uniquely
identifies each consumer unit.

Code is formatted as:
*1 digit number system character (U.S. Grocery
and general Merchandise = 0, 6, or 7; U.S.
Drug = 3)
*5 digit manufacturer identification number
*5 digit item number
*1 digit check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)

A 12-digit Universal Product Code which uniquely identifies each consumer unit.

Code is formatted as:
*1 digit number system character (U.S.
Grocery and General Merchandise = 0, 6
or 7; U.S. Drug = 3)
*5 digit manufacturer identification number
*5 digit item number
*1 digit check digit

PO1-07
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Case Code ( 2-5-5 )

PO1-08
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

VN
Vendor's (Seller's) Item Number
PO1-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

U.P.C. or N.D.C. Code

PO1-10
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

IN
Buyer's Item Number
PO1-11
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-12
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

UA
U.P.C./EAN Case Code (2-5-5)

A 12-digit number identifying the manufacturers shipping unit.

Code is formated as:
*2 digit number system character (U.S. Grocery
and General Merchandise = 00, 06, or 07; U.S.
Drug = 03) (EAN = 2 digit county flag);
*5 digit manufacturer identification number
*5 digit item number

PO1-13
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

PO1-14
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

ZZ
Mutually Defined
PO1-15
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

SP: Inner Pack Dimensions vs. NSP: Case Pack Dimensions of the PO4.

PO1-16
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

IZ
Buyer's Size Code
PO1-17
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

HEB's Size Description

PO1-18
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

CL
Color
PO1-19
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Color of Item

PO1-20
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

CH
Country of Origin Code
PO1-21
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Country

PO1-22
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

BL
Brand/Label
PO1-23
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

H.E.Buddy, School Style, Chef Style, etc...

PO1-24
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the
manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit.

PO1-25
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

If PO1_24 = UK and PO1_25 = 14 digit Case UPC (1-2-5-5-1 format).

PO3
030
Detail > PO1 Loop > PO3

Additional Item Detail

RequiredMax use 25

To specify additional item-related data involving variations in normal price/quantity structure

Example
PO3-01
371
Change Reason Code
Required
Identifier (ID)

Code specifying the reason for price or quantity change

AQ
Alternate Quantity and Unit of Measure
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

PO3-03
236
Price Identifier Code
Required
Identifier (ID)

Code identifying pricing specification

UCP
Unit cost price

Item List Cost

PO3-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

PO3-05
639
Basis of Unit Price Code
Required
Identifier (ID)

Code identifying the type of unit price for an item

CP
Current Price (Subject to Change)
PO3-06
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

PO3-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • PO307 defines the unit of measure for PO306.
Usage notes

The unit or basis for measurement code is used to qualify the contents of various data elements. It will vary depending on the data element it qualifies and the convention within industry groups.

PO3-08
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PID Loop
RequiredMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1

To describe a product or process in coded or free-form format

Example
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form

Use free-form text to report brand name and other characteristics associated with the product/item that cannot be captured using structured text from an industry code list.

PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
AGE
Age

The period during which, after distillation and before bottling, distilled spirits have been stored in oak containers.

Use the format MM or YR (e.g. 24MM or 12YR).

B8
Bureau of Alcohol, Tobacco and Firearms Class Code

Categories of broad definitions and characteristics for different compositions or "classes" of alcoholic beverages (i.e., Whiskey, Brandy, Vodka).

BCC
Beverage Contents Characteristics, (e.g., Kosher, No Sulfites, etc. (Industry List)
BEV
Beverage Category

A description to designate the category the beverage falls into, e.g., blends, bourbons, scotch, vodka, gin.

BND
Brand Group

Products similar in name only, but of different size, age, proof, quality and flavour.

FLV
Flavor

Distinctions from the base product that result in
different taste or flavour, e.g., citrus, pepper.

FQ
Quality

The base product that results in a different grade; also known as a product line, e.g., Cognac can be
Classico, V.S., VSOP, or XO.

P6
Percentage of Alcohol

The percentage of alcohol as measured against the total volume of a product such as cordials, liqueurs, cocktails, highballs, bitters and other such specialty alcoholic beverages.

PRI
Grape Variety

The grape that comprises the largest percentage of the ingredients used in wine production, e.g., Merlot.

R3
Proof

Strength of a liquor as measured in proof spirit where 50% alcohol by volume is equal to 100 proof.

VI
Vintage

The harvest year of the grapes that are part of the composition of a particular wine.

WF
Wine Fruit

The fruit used as a base to produce a wine, e.g.,
apple, blackberry.

PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PID Loop end
PO4
090
Detail > PO1 Loop > PO4

Item Physical Details

RequiredMax use >1

To specify the physical qualities, packaging, weights, and dimensions relating to the item

Example
Required
Numeric (N0)
Min 1Max 6

The number of inner containers, or number of eaches if there are no inner containers, per outer container

PO4-06
384
Gross Weight per Pack
Required
Decimal number (R)
Min 1Max 9

Numeric value of gross weight per pack

PO4-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

LB
Pound

The unit or basis for measurement code is used to qualify the contents of various data elements. It will vary depending on the data element it qualifies and the convention within industry groups.

PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9

Numeric value of gross volume per pack

PO4-09
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CF
Cubic Feet

The unit or basis for measurement code is used to qualify the contents of various data elements. It will vary depending on the data element it qualifies and the convention within industry groups.

PO4-10
82
Length
Required
Decimal number (R)
Min 1Max 8

Largest horizontal dimension of an object measured when the object is in the upright position

Required
Decimal number (R)
Min 1Max 8

Shorter measurement of the two horizontal dimensions measured with the object in the upright position

PO4-12
65
Height
Required
Decimal number (R)
Min 1Max 8

Vertical dimension of an object measured when the object is in the upright position

PO4-13
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • PO413 defines the unit of measure for PO410, PO411, and PO412.
IN
Inch

The unit or basis for measurement code is used to qualify the contents of various data elements. It will vary depending on the data element it qualifies and the convention within industry groups.

PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6

The number of eaches per inner container

Usage notes

1=Inner Pack

>

1= Case Pack

PO4-16
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • PO416 is the package identifier or the beginning package identifier in a range of identifiers.
Usage notes

Container Size to be used for transport of product by carrier (CFS, FCL40).

SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

Usage notes

SAC09 and SAC10 are required when SAC08 is used and, SAC09 and SAC10 are different than item detail in PO102 and PO103.

Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
A
Allowance
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)

Code identifying the service, promotion, allowance, or charge

B872
Customs Duty
C310
Discount
Required
Decimal number (R)
Min 1Max 9

Rate expressed in the standard monetary denomination for the currency specified

  • SAC08 is the allowance or charge rate per unit.
Usage notes

Up to a 5 digit real number / up to 4 decimal places.

If SAC_01 = A and SAC_02 = B872 then SAC_08 is for Customs only.

SAC-12
331
Allowance or Charge Method of Handling Code
Required
Identifier (ID)
Min 2Max 2

Code indicating method of handling for an allowance or charge

SAC Loop end
FOB
180
Detail > PO1 Loop > FOB

F.O.B. Related Instructions

RequiredMax use >1

To specify transportation instructions relating to shipment

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
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
Min 2Max 2

Code identifying payment terms for transportation charges

  • FOB01 indicates which party will pay the carrier.
Usage notes

For all air shipments, use code in IATA rule 650.

For Warehouse Transaction Set usage only.

FOB-02
309
Location Qualifier
Required
Identifier (ID)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
OV
On Vessel (Free On Board [FOB] point)

Pickup Point Identifier

FOB-03
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

Name of Pickup Point

FOB-04
334
Transportation Terms Qualifier Code
Required
Identifier (ID)

Code identifying the source of the transportation terms

01
Incoterms
FOB-05
335
Transportation Terms Code
Required
Identifier (ID)
Min 3Max 3

Code identifying the trade terms which apply to the shipment transportation responsibility

Usage notes

3 Character Identifier EX: FOB

FOB-06
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

  • FOB06 is the code specifying the title passage location.
FOB-07
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

FOB-08
54
Risk of Loss Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying where responsibility for risk of loss passes

  • FOB08 is the code specifying the point at which the risk of loss transfers.
    This may be different than the location specified in FOB02/FOB03 and FOB06/FOB07.
FOB-09
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

TC2
235
Detail > PO1 Loop > TC2

Commodity

OptionalMax use >1

To identify a commodity or a group of commodities or a tariff page commodity

Example
TC2-01
23
Commodity Code Qualifier
Required
Identifier (ID)

Code identifying the commodity coding system used for Commodity Code

A
Harmonized Tariff Schedule of the United States Annotated

Classification of imported merchandise for rate of
duty and statistical purposes.

TC2-02
22
Commodity Code
Required
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

Usage notes

Commodity Code - HTS (Harmonized Tariff Schedule) Code.

MSG
289
Detail > PO1 Loop > MSG

Message Text

RequiredMax use >1

To provide a free-form format that allows the transmission of text information

Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

PKG Loop
OptionalMax >1
PKG
305
Detail > PO1 Loop > PKG Loop > PKG

Marking, Packaging, Loading

RequiredMax use 1

To describe marking, packaging, loading, and unloading requirements

Example
PKG-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PKG01 equals "F", then PKG05 is used. If PKG01 equals "S", then PKG04 is used. If PKG01 equals "X", then both PKG04 and PKG05 are used.
F
Free-form
PKG-02
753
Packaging Characteristic Code
Required
Identifier (ID)

Code specifying the marking, packaging, loading and related characteristics being described

10
Shipping Package Labeling
PKG-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

  • Special marking or tagging data can be given in PKG05 (description).
Usage notes

Specific Wording for the Carton

PKG Loop end
N1 Loop
OptionalMax >1
N1
350
Detail > PO1 Loop > N1 Loop > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes

Use this segment with a code in N1_04 whenever possible. This will eliminate the need to send complete name and address information in the N2 - N4 segments.

This segment is only used on multi-point purchase orders when it is necessary to link reference numbers such as stop sequence numbers or store purchase order numbers to a ship-to previously identified in the SDQ segment.

The ship-to location is identified in the N1_04 segment and the reference numbers are indicated in the REF segment contained within this loop.

Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

MP
Manufacturing Plant
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

Factory Name

N1-03
66
Identification Code Qualifier
Required
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

92
Assigned by Buyer or Buyer's Agent

Code may be used to identify payer's internal
identification number.

N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

HEB Factory ID

N3
370
Detail > PO1 Loop > N1 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

Use segments N2 - N4 only if address information for the referenced organization or company in the N1 segment cannot be derived from the code in N1_04.

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
380
Detail > PO1 Loop > N1 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Usage notes

Factory Geographical Location

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Usage notes

Factory City

N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
Usage notes

Factory State

N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

Usage notes

Factory Zip

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

Usage notes

Factory Country

N4-05
309
Location Qualifier
Required
Identifier (ID)

Code identifying type of location

CA
Country of Origin
N4-06
310
Location Identifier
Required
String (AN)
Min 1Max 30

Code which identifies a specific location

Usage notes

Factory Country

NX2
385
Detail > PO1 Loop > N1 Loop > NX2

Location ID Component

OptionalMax use >1

To define types and values of a geographic location

Example
NX2-01
1106
Address Component Qualifier
Required
Identifier (ID)

Code qualifying the type of address component

08
State Name
20
County
NX2-02
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

Usage notes

Factory County or Factory State name.

NX2-03
1096
County Designator
Optional
Identifier (ID)
Min 5Max 5

Code identifying the county within a state

REF
390
Detail > PO1 Loop > N1 Loop > REF

Certification

RequiredMax use 12

To specify identifying information

Usage notes

Reference numbers identified in this segment are linked to the ship-to identified in the SDQ segment by indicating the ship-to location in the N1 at the beginning of this loop.

Example
Variants (all may be used)
REFType of Comment
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

KW
Certification

A number, taken from an acquisition regulation, which represents a specific certification that must be made by a prospective vendor before a contract or order can be placed with that vendor.

REF-02
127
Reference Identification
Required
String (AN)

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

Factory Remark and HEB internal codes A = Active and I = Inactive - factory status.

A
Active
I
Inactive
REF-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

REF
390
Detail > PO1 Loop > N1 Loop > REF

Type of Comment

RequiredMax use 12

To specify identifying information

Usage notes

Reference numbers identified in this segment are linked to the ship-to identified in the SDQ segment by indicating the ship-to location in the N1 at the beginning of this loop.

Example
Variants (all may be used)
REFCertification
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

TOC
Type of Comment
REF-02
127
Reference Identification
Required
String (AN)

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

Factory Remark and HEB internal codes A = Active and I = Inactive - factory status.

A
Active
I
Inactive
REF-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PER
400
Detail > PO1 Loop > N1 Loop > PER

Administrative Communications Contact

RequiredMax use 3

To identify a person or office to whom administrative communications should be directed

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
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

PL
Manufacturing Plant Contact
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

Factory Contact Name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Unformatted Telephone Number

PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

FX
Facsimile
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Unformatted Fax Number

PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Factory Contact E-mail Address

PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

N1 Loop end
SLN Loop
RequiredMax >1
SLN
470
Detail > PO1 Loop > SLN Loop > SLN

Subline Item Detail

RequiredMax use 1

To specify product subline detail item data

Usage notes

Effective with the UCS version coinciding with the UCC-published sunset date (2005) for the discontinuation of the use of 12-digit product identifiers, the qualifier UA (U.P.C./EAN Case Code) (2-5-5) in DE235 will be marked as not used and will be replaced with the qualifier UK (U.P.C./EAN shipping container code) (1-2-5-5-1). The corresponding 14 digit product code will be relected in DE234. this parallels the global transition to the 14-digit UCC/EAC-14 product identification numbering structure. In preparation for this transition, the UK qualifier and the corresponding 14-digit product code should be communicated in SLN11 and SLN12, respectively.

Example
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • SLN01 is the identifying number for the subline item.
  • SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
SLN-03
662
Relationship Code
Required
Identifier (ID)

Code indicating the relationship between entities

  • SLN03 is the configuration code indicating the relationship of the subline item to the baseline item.
I
Included
SLN-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SLN-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

EA
Each
SLN-09
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • SLN09 through SLN28 provide for ten different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
UP
U.P.C. Consumer Package Code (1-5-5-1)

A 12-digit Universal Product Code which uniquely
identifies each consumer unit.

Code is formatted as:
*1 digit number system character (U.S. Grocery
and General Merchandise = 0, 6 or 7; U.S. Drug
= 3)
*5 digit manufacturer identification number
*5 digit item number
*1 digit check digit

SLN-10
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Item UPC

SLN-11
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

IN
Buyer's Item Number
SLN-12
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

HEB Item Code

SLN-13
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

VN
Vendor's (Seller's) Item Number
SLN-14
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Vendor's Item Code

SLN-15
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

IZ
Buyer's Size Code
SLN-16
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

HEB's Size Description

MSG
475
Detail > PO1 Loop > SLN Loop > MSG

Message Text

RequiredMax use >1

To provide a free-form format that allows the transmission of text information

Example
If Number (MSG-03) is present, then Printer Carriage Control Code (MSG-02) is required
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
Min 2Max 2

A field to be used for the control of the line feed of the receiving printer

  • MSG02 is not related to the specific characteristics of a printer, but identifies top of page, advance a line, etc.
Optional
Numeric (N0)
Min 1Max 9

A generic number

  • MSG03 is the number of lines to advance before printing.
  • If MSG02 is "AA - Advance the specified number of lines before print" then MSG03 is required.
PID
490
Detail > PO1 Loop > SLN Loop > PID

Product/Item Description

RequiredMax use 1000

To describe a product or process in coded or free-form format

Example
If Yes/No Condition or Response Code (PID-08) is present, then Product Description Code (PID-04) is required
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)

Code identifying the general class of a product or process characteristic

09
Sub-product
PID-03
559
Agency Qualifier Code
Required
Identifier (ID)
Min 2Max 2

Code identifying the agency assigning the code values

  • Use PID03 to indicate the organization that publishes the code list being referred to.
PID-04
751
Product Description Code
Optional
String (AN)
Min 1Max 12

A code from an industry code list which provides specific data about a product characteristic

  • PID04 should be used for industry-specific product description codes.
PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PID-06
752
Surface/Layer/Position Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating the product surface, layer or position that is being described

  • Use PID06 when necessary to refer to the product surface or layer being described in the segment.
PID-07
822
Source Subqualifier
Optional
String (AN)
Min 1Max 15

A reference that indicates the table or text maintained by the Source Qualifier

  • PID07 specifies the individual code list of the agency specified in PID03.
PID-08
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

  • PID08 describes the physical characteristics of the product identified in PID04. A "Y" indicates that the specified attribute applies to this item; an "N" indicates it does not apply. Any other value is indeterminate.
PID-09
819
Language Code
Optional
Identifier (ID)
Min 2Max 3

Code designating the language used in text, from a standard code list maintained by the International Standards Organization (ISO 639)

  • PID09 is used to identify the language being used in PID05.
TC2
505
Detail > PO1 Loop > SLN Loop > TC2

Commodity

OptionalMax use >1

To identify a commodity or a group of commodities or a tariff page commodity

Example
TC2-01
23
Commodity Code Qualifier
Required
Identifier (ID)
Min 1Max 1

Code identifying the commodity coding system used for Commodity Code

TC2-02
22
Commodity Code
Required
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

Usage notes

Commodity Code - HTS (Harmonized Tariff Schedule) Code.

SAC Loop
OptionalMax >1
SAC
526
Detail > PO1 Loop > SLN Loop > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
A
Allowance
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)

Code identifying the service, promotion, allowance, or charge

B872
Customs Duty
Optional
Decimal number (R)
Min 1Max 9

Rate expressed in the standard monetary denomination for the currency specified

  • SAC08 is the allowance or charge rate per unit.
Usage notes

Up to a 5 digit real number / up to 4 decimal places. If SAC_01 and SAC_02 = B872 then SAC_08 is for Customs Only.

SAC-12
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating method of handling for an allowance or charge

SAC Loop end
SLN Loop end
AMT Loop
RequiredMax >1
AMT
600
Detail > PO1 Loop > AMT Loop > AMT

Monetary Amount

RequiredMax use 1

To indicate the total monetary amount

Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)

Code to qualify amount

1
Line Item Total
AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15

Monetary amount

AMT-03
478
Credit/Debit Flag Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating whether amount is a credit or debit

AMT Loop end
PO1 Loop end
Detail end

Summary

CTT Loop
RequiredMax >1
CTT
010
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1

To transmit a hash total for a specific element in the transaction set

  • The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
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-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

CTT-03
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

Usage notes

Up to a 6 digit real number / up to 2 decimal places.

CTT-04
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

LB
Pound
OZ
Ounce - Av
UN
Unit
CTT-05
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

Usage notes

Up to a 5 digit real number / up to 3 decimal places.

CTT-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CF
Cubic Feet
AMT
020
Summary > CTT Loop > AMT

Monetary Amount

RequiredMax use 1

To indicate the total monetary amount

  • If AMT is used in the summary area, then AMT01 will = TT and AMT02 will indicate total transaction amount as calculated by the sender.
Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)

Code to qualify amount

TT
Total Transaction Amount
AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15

Monetary amount

Usage notes

Up to a 10 digit real number / up to 2 decimal places.

CTT Loop end
SE
030
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

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.