Costco
/
Ship Notice/Manifest (Merchandise)
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from Costco. Contact Costco for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Costco logo

X12 856 Ship Notice/Manifest (Merchandise)

X12 Release 4010
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/costco/ship-noticemanifest-merchandise/01JADKT2QWK91512HEXS1RE4XX
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
detail
HL Loop Shipment
HL
010
Hierarchical Level
Max use 1
Required
TD1
110
Carrier Details (Quantity and Weight)
Max use 20
Required
TD5
120
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
TD3
130
Carrier Details (Equipment)
Max use 12
Optional
TD4
140
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max use 5
Optional
REF
150
Reference Identification Appointment Number
Max use 1
Optional
REF
150
Reference Identification Bill of Lading Number or Master Bill of Lading
Max use 1
Optional
REF
150
Reference Identification Booking Number
Max use 1
Optional
REF
150
Reference Identification Carrier's Reference Number (PRO/Invoice)
Max use 1
Optional
REF
150
Reference Identification Routing Instruction Number
Max use 1
Optional
REF
150
Reference Identification Seller's Invoice Number
Max use 1
Optional
REF
150
Reference Identification Serial Number
Max use 1
Optional
REF
150
Reference Identification Tracking Number
Max use 1
Optional
DTM
200
Date/Time Reference Current Schedule Delivery
Max use 1
Optional
DTM
200
Date/Time Reference Current Schedule Ship
Max use 1
Optional
DTM
200
Date/Time Reference Delivery Appointment Date and Time
Max use 10
Optional
DTM
200
Date/Time Reference Estimated Delivery
Max use 1
Required
DTM
200
Date/Time Reference Estimated Departure Date or Estimated Arrival Date
Max use 1
Optional
DTM
200
Date/Time Reference Estimated Point of Discharge
Max use 1
Optional
DTM
200
Date/Time Reference Invoice
Max use 1
Optional
DTM
200
Date/Time Reference Shipped
Max use 1
Required
FOB
210
F.O.B. Related Instructions
Max use 1
Required
N1 Loop Importer
HL Loop Order
HL
010
Hierarchical Level
Max use 1
Required
PRF
050
Purchase Order Reference
Max use 1
Required
REF
150
Reference Identification Promotion/Deal Number
Max use 1
Optional
REF
150
Reference Identification Vendor ID Number
Max use 1
Required
HL Loop Shipping Tare
HL
010
Hierarchical Level
Max use 1
Required
MAN
190
Marks and Numbers
Max use 1
Required
DTM
200
Date/Time Reference Date Packed
Max use 1
Optional
DTM
200
Date/Time Reference Expiration
Max use 10
Optional
DTM
200
Date/Time Reference Production
Max use 1
Optional
DTM
200
Date/Time Reference Shelf Life Expiration
Max use 1
Optional
PAL
215
Pallet Information
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
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)
U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
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
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
SH
Ship Notice/Manifest (856)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
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
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
856
Ship Notice/Manifest
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BSN
020
Heading > BSN

Beginning Segment for Ship Notice

RequiredMax use 1
Usage notes
Example
BSN-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
01
Cancellation
05
Replace
17
Cancel, to be Reissued
BSN-02
396
Shipment Identification
Required
String (AN)
Min 2Max 30
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
BSN-05
1005
Hierarchical Structure Code
Required
Identifier (ID)
0001
Shipment, Order, Packaging, Item
BSN-06
640
Transaction Type Code
Optional
Identifier (ID)
33
Normal
AD
Notice of Availability
AS
Shipment Advice
DT
Detail
ZW
Sort and Segregate Detail
Heading end

Detail

HL Loop Shipment
RequiredMax >1
Usage notes
HL
010
Detail > HL Loop Shipment > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
S
Shipment
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
TD1
110
Detail > HL Loop Shipment > TD1

Carrier Details (Quantity and Weight)

RequiredMax use 20
Usage notes
Example
TD1-01
103
Packaging Code
Required
String (AN)
Part 1/1
CTN
Carton
PLT
Pallet
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
TD1-06
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
TD1-07
81
Weight
Required
Decimal number (R)
Min 1Max 10
TD1-08
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
TD1-09
183
Volume
Required
Decimal number (R)
Min 1Max 8
TD1-10
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
TD5
120
Detail > HL Loop Shipment > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use 12
Usage notes
Example
If Transit Time Direction Qualifier (TD5-10) is present, then Transit Time (TD5-11) is required
TD5-01
133
Routing Sequence Code
Optional
Identifier (ID)
Min 1Max 2
TD5-02
66
Identification Code Qualifier
Required
Identifier (ID)
2
Standard Carrier Alpha Code (SCAC)
TD5-03
67
Identification Code
Required
String (AN)
Min 2Max 80
TD5-04
91
Transportation Method/Type Code
Required
Identifier (ID)
A
Air
D
Parcel Post
LT
Less Than Trailer Load (LTL)
M
Motor (Common Carrier)
S
Ocean
X
Intermodal (Piggyback)
TD5-05
387
Routing
Required
String (AN)
Min 1Max 35
TD5-06
368
Shipment/Order Status Code
Required
Identifier (ID)
CC
Shipment Complete on (Date)
CM
Shipment Complete with Additional Quantity
CP
Partial Shipment on (Date), Considered No Backorder
TD5-10
732
Transit Time Direction Qualifier
Optional
Identifier (ID)
Usage notes
CD
Calendar Days (Includes weekends and Holidays)
HO
Hours
TD5-11
733
Transit Time
Optional
Decimal number (R)
Min 1Max 4
Usage notes
TD5-12
284
Service Level Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
TD3
130
Detail > HL Loop Shipment > TD3

Carrier Details (Equipment)

OptionalMax use 12
Usage notes
Example
Only one of Equipment Description Code (TD3-01) or Equipment Type (TD3-10) may be present
TD3-01
40
Equipment Description Code
Required
Identifier (ID)
2B
20 ft. IL Container (Closed Top)
4B
40 ft. IL Container (Closed Top)
20
20 ft. IL Container (Open Top)
40
40 ft. IL Container (Open Top)
CN
Container
CZ
Refrigerated Container
HC
Hopper Car (Covered)
TF
Trailer, Dry Freight
TL
Trailer (not otherwise specified)
TW
Trailer, Refrigerated
TD3-02
206
Equipment Initial
Optional
String (AN)
Min 1Max 4
TD3-03
207
Equipment Number
Required
String (AN)
Min 1Max 10
TD3-09
225
Seal Number
Optional
String (AN)
Min 2Max 15
TD3-10
24
Equipment Type
Optional
Identifier (ID)
Min 4Max 4
TD4
140
Detail > HL Loop Shipment > TD4

Carrier Details (Special Handling, or Hazardous Materials, or Both)

OptionalMax use 5
Usage notes
Example
If Hazardous Material Code Qualifier (TD4-02) is present, then Hazardous Material Class Code (TD4-03) is required
TD4-01
152
Special Handling Code
Required
Identifier (ID)
CCH
Certification
HM
Endorsed as Hazardous Material
TD4-02
208
Hazardous Material Code Qualifier
Optional
Identifier (ID)
D
Hazardous Materials ID, DOT
X
Hazard Class or Division
TD4-03
209
Hazardous Material Class Code
Optional
String (AN)
Min 1Max 4
TD4-04
352
Description
Required
String (AN)
Min 1Max 80
REF
150
Detail > HL Loop Shipment > REF

Reference Identification Appointment Number

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
REFReference Identification Bill of Lading Number or Master Bill of LadingREFReference Identification Booking NumberREFReference Identification Carrier's Reference Number (PRO/Invoice)REFReference Identification Routing Instruction NumberREFReference Identification Seller's Invoice NumberREFReference Identification Serial NumberREFReference Identification Tracking Number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
AO
Appointment Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
BM
Bill of Lading Number
MB
Master Bill of Lading
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
BN
Booking Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CN
Carrier's Reference Number (PRO/Invoice)
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
S5
Routing Instruction Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
IV
Seller's Invoice Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
2I
Tracking Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
Usage notes
067
Current Schedule Delivery
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
068
Current Schedule Ship
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
704
Delivery Appointment Date and Time
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
017
Estimated Delivery
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
369
Estimated Departure Date
371
Estimated Arrival Date
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
AA2
Estimated Point of Discharge
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
003
Invoice
Required
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
011
Shipped
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
FOB
210
Detail > HL Loop Shipment > FOB

F.O.B. Related Instructions

RequiredMax use 1
Usage notes
Example
If Transportation Terms Qualifier Code (FOB-04) is present, then Transportation Terms Code (FOB-05) is required
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
CC
Collect
PP
Prepaid (by Seller)
FOB-02
309
Location Qualifier
Optional
Identifier (ID)
Usage notes
DL
Delivery Location
FOB-04
334
Transportation Terms Qualifier Code
Optional
Identifier (ID)
Usage notes
01
Incoterms
FOB-05
335
Transportation Terms Code
Optional
Identifier (ID)
Usage notes
EXS
Ex Ship
EXW
Ex Works
FAS
Free Alongside Ship
FCA
Free Carrier
FCI
Freight Carriage and Insurance Paid To
FCP
Freight Carriage Paid To
FOB
Free on Board
N1 Loop Consignee or Ship To
RequiredMax 1
N1
220
Detail > HL Loop Shipment > N1 Loop Consignee or Ship To > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
CN
Consignee
ST
Ship To
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
240
Detail > HL Loop Shipment > N1 Loop Consignee or Ship To > N3

Address Information

RequiredMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
250
Detail > HL Loop Shipment > N1 Loop Consignee or Ship To > N4

Geographic Location

RequiredMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
N1 Loop Consignee or Ship To end
N1 Loop Importer
OptionalMax 1
N1
220
Detail > HL Loop Shipment > N1 Loop Importer > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
IM
Importer
Required
String (AN)
Min 1Max 60
N1 Loop Importer end
N1 Loop Manufacturer of Goods
OptionalMax 1
N1
220
Detail > HL Loop Shipment > N1 Loop Manufacturer of Goods > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
MF
Manufacturer of Goods
Required
String (AN)
Costco
Costco
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
91
Assigned by Seller or Seller's Agent
UL
UCC/EAN Location Code
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
240
Detail > HL Loop Shipment > N1 Loop Manufacturer of Goods > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
250
Detail > HL Loop Shipment > N1 Loop Manufacturer of Goods > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
N1 Loop Manufacturer of Goods end
N1 Loop Ship From
RequiredMax >1
N1
220
Detail > HL Loop Shipment > N1 Loop Ship From > 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
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
240
Detail > HL Loop Shipment > N1 Loop Ship From > N3

Address Information

RequiredMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
250
Detail > HL Loop Shipment > N1 Loop Ship From > N4

Geographic Location

RequiredMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
N1 Loop Ship From end
SAC Loop
OptionalMax >1
SAC
320
Detail > HL Loop Shipment > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Usage notes
Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
D240
Freight
H850
Tax
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15
SAC Loop end
V1 Loop
OptionalMax >1
V1
360
Detail > HL Loop Shipment > V1 Loop > V1

Vessel Identification

RequiredMax use 1
Usage notes
Example
V1-01
597
Vessel Code
Required
Identifier (ID)
Min 1Max 8
V1-02
182
Vessel Name
Required
String (AN)
Min 2Max 28
V1-03
26
Country Code
Required
Identifier (ID)
Min 2Max 3
V1-04
55
Flight/Voyage Number
Required
String (AN)
Min 2Max 10
Usage notes
R4
370
Detail > HL Loop Shipment > V1 Loop > R4

Port or Terminal Origin (Operational)

OptionalMax use >1
Usage notes
Example
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
O
Origin (Operational)
R4-02
309
Location Qualifier
Required
Identifier (ID)
IA
International Air Transport Association (IATA) Location Qualifier
UN
United Nations Location Code (UNLOCODE)
R4-03
310
Location Identifier
Required
String (AN)
Min 1Max 30
R4
370
Detail > HL Loop Shipment > V1 Loop > R4

Port or Terminal Port of Discharge (Operational)

OptionalMax use 1
Usage notes
Example
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
D
Port of Discharge (Operational)
R4-02
309
Location Qualifier
Required
Identifier (ID)
IA
International Air Transport Association (IATA) Location Qualifier
UN
United Nations Location Code (UNLOCODE)
R4-03
310
Location Identifier
Required
String (AN)
Min 1Max 30
R4
370
Detail > HL Loop Shipment > V1 Loop > R4

Port or Terminal Port of Entry (Operational)

OptionalMax use 1
Usage notes
Example
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
G
Port of Entry (Operational)
R4-02
309
Location Qualifier
Required
Identifier (ID)
IA
International Air Transport Association (IATA) Location Qualifier
UN
United Nations Location Code (UNLOCODE)
R4-03
310
Location Identifier
Required
String (AN)
Min 1Max 30
R4
370
Detail > HL Loop Shipment > V1 Loop > R4

Port or Terminal Port of Loading (Operational)

OptionalMax use 1
Usage notes
Example
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
L
Port of Loading (Operational)
R4-02
309
Location Qualifier
Required
Identifier (ID)
IA
International Air Transport Association (IATA) Location Qualifier
UN
United Nations Location Code (UNLOCODE)
R4-03
310
Location Identifier
Required
String (AN)
Min 1Max 30
V1 Loop end
HL Loop Order
RequiredMax >1
Usage notes
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
O
Order
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
PRF
050
Detail > HL Loop Shipment > HL Loop Order > PRF

Purchase Order Reference

RequiredMax use 1
Usage notes
Example
PRF-01
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Required
Date (DT)
CCYYMMDD format
REF
150
Detail > HL Loop Shipment > HL Loop Order > REF

Reference Identification Promotion/Deal Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
PD
Promotion/Deal Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > REF

Reference Identification Vendor ID Number

RequiredMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
VR
Vendor ID Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
N1 Loop Established Location
OptionalMax 1
N1
220
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Established Location > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
EL
Established Location
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N1 Loop Established Location end
N1 Loop Manufacturing Plant
OptionalMax >1
N1
220
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Manufacturing Plant > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
MP
Manufacturing Plant
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
240
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Manufacturing Plant > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
250
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Manufacturing Plant > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
N1 Loop Manufacturing Plant end
N1 Loop Mutually Defined
OptionalMax 1
N1
220
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Mutually Defined > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ZZ
Mutually Defined
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
91
Assigned by Seller or Seller's Agent
UL
UCC/EAN Location Code
UR
Uniform Resource Locator (URL)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
240
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Mutually Defined > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
250
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Mutually Defined > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
N4-05
309
Location Qualifier
Required
Identifier (ID)
28
Latitude-Longitude Source
N4-06
310
Location Identifier
Required
String (AN)
Min 1Max 30
PER
270
Detail > HL Loop Shipment > HL Loop Order > N1 Loop Mutually Defined > PER

Administrative Communications Contact

OptionalMax use 3
Usage notes
Example
PER-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
Required
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Required
Identifier (ID)
EM
Electronic Mail
TE
Telephone
PER-04
364
Communication Number
Required
String (AN)
Min 1Max 80
N1 Loop Mutually Defined end
HL Loop Item
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop PackHL Loop Shipping Tare
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
I
Item
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > LIN

Item Identification

RequiredMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Required
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
GE
Generic Name Description
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CL
Color
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SZ
Vendor Alphanumeric Size Code (NRMA)
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
UQ
United Nations (UN) Number (Dangerous Goods)
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
Usage notes
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
SN1-08
668
Line Item Status Code
Optional
Identifier (ID)
Usage notes
AC
Item Accepted and Shipped
ID
Item Deleted
IF
Item on Hold, Incomplete Description
IR
Item Rejected
R1
Item Rejected, Not a Contract Item
R2
Item Rejected, Invalid Item Product Number
R4
Item Rejected, Contract Item not Available
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Required
Identifier (ID)
Usage notes
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-09
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
PID
070
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)
GEN
General Description
MSG
Market Segment
PID-05
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > REF

Reference Identification Destination of Shipment Harmonized-Based Code

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LY
Destination of Shipment Harmonized-Based Code
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > REF

Reference Identification Internal Vendor Number

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
IA
Internal Vendor Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > REF

Reference Identification Serial Number

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > REF

Reference Identification Suffix

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
W8
Suffix
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > DTM

Date/Time Reference Collection

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
906
Collection
Required
Date (DT)
CCYYMMDD format
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Pack
RequiredMax >1
Usage notes
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
P
Pack
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > LIN

Item Identification

OptionalMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
EA
Each
PL
Pallet/Unit Load
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Weight Qualifier (PO4-05) is present, then Gross Weight per Pack (PO4-06) is required
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Optional
Identifier (ID)
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
MAN
190
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > MAN

Marks and Numbers

RequiredMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
AI
UCC/EAN-128 Application Identifier (AI) and Data
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Item > HL Loop Pack > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Pack end
HL Loop Item end
HL Loop Pack
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop ItemHL Loop Shipping Tare
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
P
Pack
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > LIN

Item Identification

OptionalMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
EA
Each
PL
Pallet/Unit Load
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Weight Qualifier (PO4-05) is present, then Gross Weight per Pack (PO4-06) is required
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Optional
Identifier (ID)
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9
Usage notes
PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
MAN
190
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > MAN

Marks and Numbers

RequiredMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
AI
UCC/EAN-128 Application Identifier (AI) and Data
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Item
RequiredMax >1
Usage notes
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
I
Item
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > LIN

Item Identification

RequiredMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Required
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
GE
Generic Name Description
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CL
Color
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SZ
Vendor Alphanumeric Size Code (NRMA)
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
UQ
United Nations (UN) Number (Dangerous Goods)
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
Usage notes
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
SN1-08
668
Line Item Status Code
Optional
Identifier (ID)
Usage notes
AC
Item Accepted and Shipped
ID
Item Deleted
IF
Item on Hold, Incomplete Description
IR
Item Rejected
R1
Item Rejected, Not a Contract Item
R2
Item Rejected, Invalid Item Product Number
R4
Item Rejected, Contract Item not Available
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Required
Identifier (ID)
Usage notes
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-09
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
PID
070
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)
GEN
General Description
MSG
Market Segment
PID-05
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > REF

Reference Identification Destination of Shipment Harmonized-Based Code

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LY
Destination of Shipment Harmonized-Based Code
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > REF

Reference Identification Internal Vendor Number

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
IA
Internal Vendor Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > REF

Reference Identification Serial Number

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > REF

Reference Identification Suffix

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
W8
Suffix
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Collection

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
906
Collection
Required
Date (DT)
CCYYMMDD format
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Item end
HL Loop Pack end
HL Loop Shipping Tare
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop ItemHL Loop Pack
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
T
Shipping Tare
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
MAN
190
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > MAN

Marks and Numbers

RequiredMax use >1
Usage notes
Example
If either Marks and Numbers Qualifier (MAN-04) or Marks and Numbers (MAN-05) is present, then the other is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
AI
UCC/EAN-128 Application Identifier (AI) and Data
GM
SSCC-18 and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
SI
Self-Identifying Container via Radio Frequency ID Device
W
Pallet Number
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
PAL
215
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > PAL

Pallet Information

RequiredMax use 1
Usage notes
Example
PAL-01
883
Pallet Type Code
Required
Identifier (ID)
Min 1Max 2
PAL-02
884
Pallet Tiers
Required
Numeric (N0)
Min 1Max 3
PAL-03
885
Pallet Blocks
Required
Numeric (N0)
Min 1Max 3
Required
Numeric (N0)
Min 1Max 6
Usage notes
PAL-05
395
Unit Weight
Required
Decimal number (R)
Min 1Max 8
PAL-06
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
PAL-07
82
Length
Required
Decimal number (R)
Min 1Max 8
Required
Decimal number (R)
Min 1Max 8
PAL-09
65
Height
Required
Decimal number (R)
Min 1Max 8
PAL-10
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
IN
Inch
N1 Loop
OptionalMax >1
N1
220
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
MA
Party for whom Item is Ultimately Intended
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N1 Loop end
HL Loop Item
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Pack
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
I
Item
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > LIN

Item Identification

RequiredMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Required
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
GE
Generic Name Description
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CL
Color
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SZ
Vendor Alphanumeric Size Code (NRMA)
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
UQ
United Nations (UN) Number (Dangerous Goods)
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
Usage notes
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
Usage notes
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
SN1-08
668
Line Item Status Code
Optional
Identifier (ID)
Usage notes
AC
Item Accepted and Shipped
ID
Item Deleted
IF
Item on Hold, Incomplete Description
IR
Item Rejected
R1
Item Rejected, Not a Contract Item
R2
Item Rejected, Invalid Item Product Number
R4
Item Rejected, Contract Item not Available
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Required
Identifier (ID)
Usage notes
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-09
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
PID
070
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)
GEN
General Description
MSG
Market Segment
PID-05
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > REF

Reference Identification Destination of Shipment Harmonized-Based Code

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LY
Destination of Shipment Harmonized-Based Code
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > REF

Reference Identification Internal Vendor Number

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
IA
Internal Vendor Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > REF

Reference Identification Serial Number

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > REF

Reference Identification Suffix

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
W8
Suffix
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > DTM

Date/Time Reference Collection

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
906
Collection
Required
Date (DT)
CCYYMMDD format
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Item > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Item end
HL Loop Pack
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Item
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
P
Pack
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > LIN

Item Identification

OptionalMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
EA
Each
PL
Pallet/Unit Load
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Weight Qualifier (PO4-05) is present, then Gross Weight per Pack (PO4-06) is required
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Optional
Identifier (ID)
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
MAN
190
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > MAN

Marks and Numbers

RequiredMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
AI
UCC/EAN-128 Application Identifier (AI) and Data
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > DTM

Date/Time Reference Date Packed

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > DTM

Date/Time Reference Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Item
RequiredMax >1
Usage notes
HL
010
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > HL

Hierarchical Level

RequiredMax use 1
Example
HL-01
628
Hierarchical ID Number
Required
String (AN)
Min 1Max 12
HL-02
734
Hierarchical Parent ID Number
Required
String (AN)
Min 1Max 12
HL-03
735
Hierarchical Level Code
Required
Identifier (ID)
I
Item
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
020
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > LIN

Item Identification

RequiredMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
IN
Buyer's Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
VN
Vendor's (Seller's) Item Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Required
Identifier (ID)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
LT
Lot Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
GE
Generic Name Description
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CL
Color
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
SZ
Vendor Alphanumeric Size Code (NRMA)
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
UQ
United Nations (UN) Number (Dangerous Goods)
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > SN1

Item Detail (Shipment)

OptionalMax use 1
Usage notes
Example
SN1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
SN1-02
382
Number of Units Shipped
Required
Decimal number (R)
Min 1Max 10
Usage notes
SN1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
SN1-08
668
Line Item Status Code
Optional
Identifier (ID)
Usage notes
AC
Item Accepted and Shipped
ID
Item Deleted
IF
Item on Hold, Incomplete Description
IR
Item Rejected
R1
Item Rejected, Not a Contract Item
R2
Item Rejected, Invalid Item Product Number
R4
Item Rejected, Contract Item not Available
PO4
060
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
Usage notes
PO4-05
187
Weight Qualifier
Required
Identifier (ID)
Usage notes
G
Gross Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
PO4-08
385
Gross Volume per Pack
Required
Decimal number (R)
Min 1Max 9
PO4-09
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
PO4-14
810
Inner Pack
Required
Numeric (N0)
Min 1Max 6
Usage notes
PID
070
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)
GEN
General Description
MSG
Market Segment
PID-05
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > REF

Reference Identification Destination of Shipment Harmonized-Based Code

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LY
Destination of Shipment Harmonized-Based Code
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > REF

Reference Identification Internal Vendor Number

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
IA
Internal Vendor Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > REF

Reference Identification Serial Number

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SE
Serial Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
150
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > REF

Reference Identification Suffix

RequiredMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
W8
Suffix
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Collection

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
906
Collection
Required
Date (DT)
CCYYMMDD format
Usage notes
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Date Packed

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
510
Date Packed
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Expiration

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Production

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
405
Production
Required
Date (DT)
CCYYMMDD format
DTM
200
Detail > HL Loop Shipment > HL Loop Order > HL Loop Shipping Tare > HL Loop Pack > HL Loop Item > DTM

Date/Time Reference Shelf Life Expiration

OptionalMax use 1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
511
Shelf Life Expiration
Required
Date (DT)
CCYYMMDD format
HL Loop Item end
HL Loop Pack end
HL Loop Shipping Tare end
HL Loop Order end
HL Loop Shipment end
Detail end

Summary

CTT
010
Summary > CTT

Transaction Totals

RequiredMax use 1
Usage notes
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
CTT-02
347
Hash Total
Required
Decimal number (R)
Min 1Max 10
SE
020
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

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.