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

X12 856 Retail Ship Notice/Manifest (V2)

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • Carton with SSCC
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/amazon/retail-ship-noticemanifest-v2/01H198YX4SPW2EJ7ZJQAPMQ9R5
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
HL
0100
Hierarchical Level
Max use 1
Required
TD1
1100
Carrier Details (Quantity and Weight)
Max use 20
Required
TD5
1200
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
TD3 Loop
REF
1500
Bill of Lading Number
Max use 1
Optional
REF
1500
Buyer's Shipment Mark Number
Max use 1
Optional
REF
1500
Carrier's Tracking/Airbill Number
Max use 1
Optional
REF
1500
Seal Number
Max use 1
Optional
DTM
2000
Estimated Delivery
Max use 1
Required
DTM
2000
Shipped
Max use 1
Required
FOB
2100
F.O.B. Related Instructions
Max use 1
Optional
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
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
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 Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange 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)
005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
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
0200
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
05
Replace
BSN-02
396
Shipment Identification
Required
String (AN)
Min 2Max 30
Usage notes
Required
Date (DT)
CCYYMMDD format
Usage notes
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
BSN-05
1005
Hierarchical Structure Code
Optional
Identifier (ID)
0001
Pick and Pack Structure
Heading end

Detail

HL Loop
RequiredMax >1
Usage notes
HL
0100
Detail > HL Loop > 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
1100
Detail > HL Loop > TD1

Carrier Details (Quantity and Weight)

RequiredMax use 20
Usage notes
Example
If Weight Qualifier (TD1-06) is present, then Weight (TD1-07) is required
If either Weight (TD1-07) or Unit or Basis for Measurement Code (TD1-08) is present, then the other is required
If either Volume (TD1-09) or Unit or Basis for Measurement Code (TD1-10) is present, then the other is required
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
Usage notes
TD1-04
22
Commodity Code
Optional
String (AN)
Min 1Max 30
Usage notes
TD1-05
79
Lading Description
Optional
String (AN)
Min 1Max 50
Usage notes
TD1-06
187
Weight Qualifier
Optional
Identifier (ID)
Usage notes
G
Gross Weight
TD1-07
81
Weight
Optional
Decimal number (R)
Min 1Max 10
Usage notes
TD1-08
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Usage notes
GR
Gram
KG
Kilogram
LB
Pound
OZ
Ounce - Av
TD1-09
183
Volume
Optional
Decimal number (R)
Min 1Max 8
Usage notes
TD1-10
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Usage notes
CF
Cubic Feet
CI
Cubic Inches
CR
Cubic Meter
CY
Cubic Yard
TD5
1200
Detail > HL Loop > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use 12
Usage notes
Example
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
Usage notes
TD3 Loop
OptionalMax >1
Usage notes
TD3
1300
Detail > HL Loop > TD3 Loop > TD3

Carrier Details (Equipment)

RequiredMax use 1
Usage notes
Example
If Weight Qualifier (TD3-04) is present, then Weight (TD3-05) is required
If either Weight (TD3-05) or Unit or Basis for Measurement Code (TD3-06) is present, then the other is required
TD3-01
40
Equipment Description Code
Optional
Identifier (ID)
Min 2Max 2
TD3-04
187
Weight Qualifier
Required
Identifier (ID)
B
Billed Weight
TD3-05
81
Weight
Optional
Decimal number (R)
Min 1Max 10
TD3-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
TD3 Loop end
REF
1500
Detail > HL Loop > REF

Bill of Lading Number

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
REFBuyer's Shipment Mark NumberREFCarrier's Tracking/Airbill NumberREFSeal Number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
BM
Bill of Lading Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
REF
1500
Detail > HL Loop > REF

Buyer's Shipment Mark Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
BX
Buyer's Shipment Mark Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
REF
1500
Detail > HL Loop > REF

Carrier's Tracking/Airbill Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CN
Carrier's Tracking/Airbill Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
REF
1500
Detail > HL Loop > REF

Seal Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SN
Seal Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
DTM
2000
Detail > HL Loop > DTM

Estimated Delivery

RequiredMax use 1
Usage notes
Example
Variants (all may be used)
DTMShipped
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
017
Estimated Delivery
Required
Date (DT)
CCYYMMDD format
Usage notes
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
GM
Greenwich Mean Time
UT
Universal Time Coordinate
DTM
2000
Detail > HL Loop > DTM

Shipped

RequiredMax use 1
Usage notes
Example
Variants (all may be used)
DTMEstimated Delivery
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
011
Shipped
Required
Date (DT)
CCYYMMDD format
Usage notes
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
GM
Greenwich Mean Time
UT
Universal Time Coordinate
FOB
2100
Detail > HL Loop > FOB

F.O.B. Related Instructions

OptionalMax use 1
Usage notes
Example
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
Min 2Max 2
N1 Ship From
RequiredMax 1
Usage notes
Variants (all may be used)
Ship To
N1
2200
Detail > HL Loop > Ship From > N1

Party Identification

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
1
D-U-N-S Number, Dun & Bradstreet
15
Standard Address Number (SAN)
92
Assigned by Buyer or Buyer's Agent
UL
Global Location Number (GLN)
ZZ
Mutually Defined
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
2400
Detail > HL Loop > Ship From > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
2500
Detail > HL 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
Optional
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
Usage notes
N1 Ship From end
N1 Ship To
RequiredMax 1
Usage notes
Variants (all may be used)
Ship From
N1
2200
Detail > HL Loop > Ship To > N1

Party Identification

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Required
Identifier (ID)
15
Standard Address Number (SAN)
92
Assigned by Buyer or Buyer's Agent
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
N3
2400
Detail > HL Loop > Ship To > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
2500
Detail > HL Loop > Ship To > N4

Geographic Location

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

Vessel Identification

RequiredMax use 1
Usage notes
Example
At least one of Vessel Code (V1-01) or Vessel Name (V1-02) is required
If Vessel Code Qualifier (V1-08) is present, then Vessel Code (V1-01) is required
V1-01
597
Vessel Code
Optional
Identifier (ID)
Min 1Max 8
V1-02
182
Vessel Name
Optional
String (AN)
Min 2Max 28
V1-03
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
V1-04
55
Flight/Voyage Number
Optional
String (AN)
Min 2Max 10
V1-05
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4
V1-06
249
Vessel Requirement Code
Optional
Identifier (ID)
Min 1Max 1
V1-07
854
Vessel Type Code
Optional
Identifier (ID)
Min 2Max 2
V1-08
897
Vessel Code Qualifier
Optional
Identifier (ID)
Min 1Max 1
V1-09
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2
R4
3700
Detail > HL Loop > V1 Loop > R4

Port or Terminal

OptionalMax use >1
Usage notes
Example
If either Location Qualifier (R4-02) or Location Identifier (R4-03) is present, then the other is required
R4-01
115
Port or Terminal Function Code
Required
Identifier (ID)
D
Port of Discharge (Operational)
F
Freight Payable At (Contractual)
L
Port of Loading (Operational)
R4-02
309
Location Qualifier
Optional
Identifier (ID)
UN
United Nations Location Code (UNLOCODE)
R4-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30
R4-04
114
Port Name
Optional
String (AN)
Min 2Max 24
R4-05
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
R4-06
174
Terminal Name
Optional
String (AN)
Min 2Max 30
R4-07
113
Pier Number
Optional
String (AN)
Min 1Max 4
R4-08
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
DTM
3800
Detail > HL Loop > V1 Loop > DTM

Date/Time Reference

OptionalMax use >1
Usage notes
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
AAA
Arrival in Country
DFS
Departure From Specification
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
V1 Loop end
HL Loop
RequiredMax >1
Usage notes
HL
0100
Detail > HL Loop > HL Loop > 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
0500
Detail > HL Loop > HL Loop > PRF

Purchase Order Reference

RequiredMax use 1
Usage notes
Example
PRF-01
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
HL Loop Pack
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Shipping Tare
HL
0100
Detail > HL Loop > HL Loop > 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.
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
TD1
1100
Detail > HL Loop > HL Loop > HL Loop Pack > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Usage notes
Example
If Commodity Code Qualifier (TD1-03) is present, then Commodity Code (TD1-04) is required
TD1-01
103
Packaging Code
Required
String (AN)
Part 1/1
CTN
Carton
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
TD1-03
23
Commodity Code Qualifier
Optional
Identifier (ID)
Min 1Max 1
TD1-04
22
Commodity Code
Optional
String (AN)
Min 1Max 30
TD1-05
79
Lading Description
Optional
String (AN)
Min 1Max 50
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)
GR
Gram
KG
Kilogram
LB
Pound
OZ
Ounce - Av
REF
1500
Detail > HL Loop > HL Loop > HL Loop Pack > REF

Reference Information

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
CN
Carrier's Tracking/Airbill Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
MAN
1900
Detail > HL Loop > HL Loop > HL Loop Pack > MAN

Marks and Numbers Information

OptionalMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
GM
EAN.UCC Serial Shipping Container Code (SSCC) and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
HL Loop
OptionalMax >1
Usage notes
HL
0100
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > 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
0200
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > LIN

Item Identification

RequiredMax 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
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
BP
Buyer's Part Number
EN
EAN/UCC - 13
IB
International Standard Book Number (ISBN)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
SN1
0300
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > SN1

Item Detail (Shipment)

RequiredMax 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)
Usage notes
CA
Case
EA
Each
MEA
0800
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > MEA

Measurements

OptionalMax use 40
Usage notes
Example
MEA-01
737
Measurement Reference ID Code
Optional
Identifier (ID)
SF
Shelf Life
MEA-02
738
Measurement Qualifier
Optional
Identifier (ID)
SHA
Shelf Life
MEA-03
739
Measurement Value
Optional
Decimal number (R)
Min 1Max 15
MEA-04
C001
Composite Unit of Measure
OptionalMax 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)
DA
Days
MO
Months
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > DTM

Expiration

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMManufacture
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Pack > HL Loop > DTM

Manufacture

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMExpiration
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
094
Manufacture
Optional
Date (DT)
CCYYMMDD format
HL Loop end
HL Loop Pack end
HL Loop Shipping Tare
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Pack
HL
0100
Detail > HL Loop > HL Loop > 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.
TD1
1100
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Usage notes
Example
If Commodity Code Qualifier (TD1-03) is present, then Commodity Code (TD1-04) is required
If Weight Qualifier (TD1-06) is present, then Weight (TD1-07) is required
If either Weight (TD1-07) or Unit or Basis for Measurement Code (TD1-08) is present, then the other is required
If either Volume (TD1-09) or Unit or Basis for Measurement Code (TD1-10) is present, then the other is required
TD1-01
103
Packaging Code
Optional
String (AN)
Part 1/1
CTN
Carton
TD1-02
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
TD1-03
23
Commodity Code Qualifier
Optional
Identifier (ID)
Min 1Max 1
TD1-04
22
Commodity Code
Optional
String (AN)
Min 1Max 30
TD1-05
79
Lading Description
Optional
String (AN)
Min 1Max 50
TD1-06
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
TD1-07
81
Weight
Optional
Decimal number (R)
Min 1Max 10
TD1-08
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
TD1-09
183
Volume
Optional
Decimal number (R)
Min 1Max 8
TD1-10
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
MAN
1900
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > MAN

Marks and Numbers Information

RequiredMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
GM
EAN.UCC Serial Shipping Container Code (SSCC) and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
HL Loop Item
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Pack
HL
0100
Detail > HL Loop > HL Loop > 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
0200
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Item > LIN

Item Identification

RequiredMax 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
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
BP
Buyer's Part Number
EN
EAN/UCC - 13
IB
International Standard Book Number (ISBN)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
SN1
0300
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Item > SN1

Item Detail (Shipment)

RequiredMax 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)
Usage notes
CA
Case
EA
Each
MEA
0800
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Item > MEA

Measurements

OptionalMax use 40
Usage notes
Example
MEA-01
737
Measurement Reference ID Code
Optional
Identifier (ID)
SF
Shelf Life
MEA-02
738
Measurement Qualifier
Optional
Identifier (ID)
SHA
Shelf Life
MEA-03
739
Measurement Value
Optional
Decimal number (R)
Min 1Max 15
MEA-04
C001
Composite Unit of Measure
OptionalMax 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)
DA
Days
MO
Months
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Item > DTM

Expiration

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMManufacture
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Item > DTM

Manufacture

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMExpiration
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
094
Manufacture
Optional
Date (DT)
CCYYMMDD format
HL Loop Item end
HL Loop Pack
OptionalMax >1
Usage notes
Variants (all may be used)
HL Loop Item
HL
0100
Detail > HL Loop > HL Loop > 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.
TD1
1100
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Usage notes
Example
If Commodity Code Qualifier (TD1-03) is present, then Commodity Code (TD1-04) is required
TD1-01
103
Packaging Code
Required
String (AN)
Part 1/1
CTN
Carton
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
TD1-03
23
Commodity Code Qualifier
Optional
Identifier (ID)
Min 1Max 1
TD1-04
22
Commodity Code
Optional
String (AN)
Min 1Max 30
TD1-05
79
Lading Description
Optional
String (AN)
Min 1Max 50
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)
GR
Gram
KG
Kilogram
LB
Pound
OZ
Ounce - Av
REF
1500
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > REF

Reference Information

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
CN
Carrier's Tracking/Airbill Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
MAN
1900
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > MAN

Marks and Numbers Information

OptionalMax use >1
Usage notes
Example
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
GM
EAN.UCC Serial Shipping Container Code (SSCC) and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
HL Loop
RequiredMax >1
Usage notes
HL
0100
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > 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
0200
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > LIN

Item Identification

RequiredMax 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
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
BP
Buyer's Part Number
EN
EAN/UCC - 13
IB
International Standard Book Number (ISBN)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
VN
Vendor's (Seller's) Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
LT
Lot Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
SN1
0300
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > SN1

Item Detail (Shipment)

RequiredMax 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)
Usage notes
CA
Case
EA
Each
MEA
0800
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > MEA

Measurements

OptionalMax use 40
Usage notes
Example
MEA-01
737
Measurement Reference ID Code
Optional
Identifier (ID)
SF
Shelf Life
MEA-02
738
Measurement Qualifier
Optional
Identifier (ID)
SHA
Shelf Life
MEA-03
739
Measurement Value
Optional
Decimal number (R)
Min 1Max 15
MEA-04
C001
Composite Unit of Measure
OptionalMax 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)
DA
Days
MO
Months
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > DTM

Expiration

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMManufacture
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
DTM
2000
Detail > HL Loop > HL Loop > HL Loop Shipping Tare > HL Loop Pack > HL Loop > DTM

Manufacture

OptionalMax use 1
Usage notes
Example
Variants (all may be used)
DTMExpiration
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
094
Manufacture
Optional
Date (DT)
CCYYMMDD format
HL Loop end
HL Loop Pack end
HL Loop Shipping Tare end
HL Loop end
HL Loop end
Detail end

Summary

CTT
0100
Summary > CTT

Transaction Totals

RequiredMax use 1
Usage notes
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
Usage notes
CTT-02
347
Hash Total
Required
Decimal number (R)
Min 1Max 10
Usage notes
SE
0200
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
EDI Samples

Carton with SSCC

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD5**2*UPSN~
REF*BM*BOL NUMBER~
REF*CN*PRO NUMBER~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*00100746460944048555~
HL*4*3*I~
LIN*1*UP*ITEM NUMBER~
SN1**30*EA~
HL*5*3*I~
LIN*2*UP*ITEM NUMBER~
SN1**98*EA~
HL*6*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*00100746460944048565~
HL*7*6*I~
LIN*1*UP*ITEM NUMBER~
SN1**50*EA~
HL*8*6*I~
LIN*2*UP*ITEM NUMBER~
SN1**50*EA~
CTT*8*228~
SE*37*0001~
GE*1*20642~
IEA*1*000143657~

CollectASN - Small Parcel with Expiration and Lot Numbers

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD5**2*UPSN~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*SSCC CODE~
HL*4*3*I~
LIN*1*UP*ITEM NUMBER*LT*12345~
SN1**30*EA~
DTM*036*20140725~
HL*5*3*I~
LIN*2*UP*ITEM NUMBER*LT*12345~
SN1**98*EA~
DTM*036*20140725~
HL*6*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*SSCC CODE~
HL*7*6*I~
LIN*1*UP*ITEM NUMBER*LT*12345~
SN1**50*EA~
DTM*036*20140725~
HL*8*6*I~
LIN*2*UP*ITEM NUMBER*LT*12345~
SN1**50*EA~
DTM*036*20140725~
CTT*8*228~
SE*39*0001~
GE*1*20642~
IEA*1*000143657~

Expiration and Lot Numbers

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD5**2*UPSN~
REF*BM*BOL NUMBER~
REF*CN*PRO NUMBER~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*00100746460944048555~
HL*4*3*I~
LIN*1*UP*ITEM NUMBER*LT*12345~
SN1**30*EA~
DTM*036*20140725~
HL*5*3*I~
LIN*2*UP*ITEM NUMBER*LT*12345~
SN1**98*EA~
DTM*036*20140725~
HL*6*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*00100746460944048565~
HL*7*6*I~
LIN*1*UP*ITEM NUMBER*LT*12345~
SN1**50*EA~
DTM*036*20140725~
HL*8*6*I~
LIN*2*UP*ITEM NUMBER*LT*12345~
SN1**50*EA~
DTM*036*20140725~
CTT*8*228~
SE*41*0001~
GE*1*20642~
IEA*1*000143657~

Pallet with SSCC at Tare and Pack

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD1*PLT*2~
TD5**2*ABFS~
REF*BM*BOL NUMBER~
REF*CN*PRO NUMBER~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*T~
MAN*GM*00100746460944048575~
HL*4*3*P~
MAN*GM*00100746460944048577~
HL*5*4*I~
LIN*1*UP*ITEM NUMBER~
SN1**30*EA~
HL*6*4*I~
LIN*2*UP*ITEM NUMBER~
SN1**98*EA~
HL*7*2*T~
MAN*GM*00100746460944048576~
HL*8*7*P~
MAN*GM*00100746460944048578~
HL*9*8*I~
LIN*1*UP*ITEM NUMBER~
SN1**50*EA~
HL*10*8*I~
LIN*2*UP*ITEM NUMBER~
SN1**50*EA~
CTT*10*228~
SE*40*0001~
GE*1*20642~
IEA*1*000143657

Pallet with SSCC at Tare level Only (Amazon Authorization Required)

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD1*PLT*2~
TD5**2*ABFS~
REF*BM*BOL NUMBER~
REF*CN*PRO NUMBER~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*T~
MAN*GM*00100746460944048575~
HL*4*3*P~
HL*5*4*I~
LIN*1*UP*ITEM NUMBER~
SN1**30*EA~
HL*6*2*T~
MAN*GM*00100746460944048576~
HL*7*6*P~
HL*8*7*I~
LIN*1*UP*ITEM NUMBER~
SN1**50*EA~
CTT*10*80~
SE*32*0001~
GE*1*20642~
IEA*1*000143657

Pallet with SSCC at Tare Only SOTI Hierarchy

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*20****G*30*LB~
TD1*PLT*2~
TD5**2*ABFS~
REF*BM*BOL NUMBER~
REF*CN*PRO NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*T~
TD1*CTN*10~
MAN*GM*00100746460944048575~
HL*4*3*I~
LIN**UK*10037000725692*LT*11241505N1~
SN1**10*CA~
DTM*036*20230407~
DTM*094*20220115~
HL*5*2*T~
TD1*CTN*10~
MAN*GM*00100746460944048543~
HL*6*5*I~
LIN**UK*10037000726541*LT*11241505N1~
SN1**10*CA~
DTM*036*20230807~
DTM*094*20220215~
CTT*6*20~
SE*35*0001~
GE*1*20642~
IEA*1*000143657

Small Parcel

ISA*00* *00* *ZZ*VENDOR ID *ZZ*AMAZON *140223*0111*^*00501*000143657*0*T*>~
GS*SH*VENDOR ID*AMAZON*20140223*0111*20642*X*005010~
ST*856*0001~
BSN*00*UNIQUE ASN ID*20140223*011147*0001~
HL*1**S~
TD1*CTN*2****G*30*LB~
TD5**2*UPSN~
REF*BX*ARN NUMBER~
DTM*011*20140223~
DTM*017*20140228~
FOB*CC~
N1*SF*VENDOR NAME*15*LOCCODE~
N4*City*ST*NNNNN*US~
N1*ST*AMAZON.COM*15*1553992~
N4*NEW CASTLE*DE*19720*US~
HL*2*1*O~
PRF*P3618661~
HL*3*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*SSCC CODE~
HL*4*3*I~
LIN*1*UP*ITEM NUMBER~
SN1**30*EA~
HL*5*3*I~
LIN*2*UP*ITEM NUMBER~
SN1**98*EA~
HL*6*2*P~
REF*CN*UPS TRACKING NUMBER~
MAN*GM*SSCC CODE~
HL*7*6*I~
LIN*1*UP*ITEM NUMBER~
SN1**50*EA~
HL*8*6*I~
LIN*2*UP*ITEM NUMBER~
SN1**50*EA~
CTT*8*228~
SE*35*0001~
GE*1*20642~
IEA*1*000143657~

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.