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

X12 856 Retail Ship Notice/Manifest

X12 Release 4010
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample 856
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/target/retail-ship-noticemanifest/01HBRP6PWKSXRZ1EHA29Q3V0KY
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
010
Hierarchical Level
Max use 1
Required
TD5
120
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
REF
150
Reference Identification
Max use 1
Required
HL Loop
HL
010
Hierarchical Level
Max use 1
Required
PRF
050
Purchase Order Reference
Max use 1
Required
PID
070
Product/Item Description
Max use 200
Optional
TD1
110
Carrier Details (Quantity and Weight)
Max use 20
Required
Item
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
07
Duplicate
BSN-02
396
Shipment Identification
Required
String (AN)
Min 2Max 30
Usage notes
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
0002
Shipment, Order, Item, Packaging
Heading end

Detail

HL Loop
RequiredMax >1
HL
010
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.
TD5
120
Detail > HL Loop > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use 12
Usage notes
Example
TD5-01
133
Routing Sequence Code
Required
Identifier (ID)
B
Origin/Delivery Carrier (Any Mode)
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
TD5-04
91
Transportation Method/Type Code
Required
Identifier (ID)
Usage notes
A
Air
C
Consolidation
M
Motor (Common Carrier)
U
Private Parcel Service
TD5-05
387
Routing
Optional
String (AN)
Min 1Max 35
REF
150
Detail > HL Loop > REF

Reference Identification

RequiredMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
BM
Bill of Lading Number
CN
Carrier's Reference Number (PRO/Invoice)
MB
Master Bill of Lading
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
N1 Loop
RequiredMax >1
N1
220
Detail > HL Loop > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
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 4
Usage notes
N1 Loop end
HL Loop
RequiredMax >1
HL
010
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
050
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
PID
070
Detail > HL Loop > HL Loop > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
S
Structured (From Industry Code List)
PID-03
559
Agency Qualifier Code
Required
Identifier (ID)
VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID-04
751
Product Description Code
Required
String (AN)
FL
Compliant with Fair Labor Standards Act
ZZ
FLSA Non-Compliance or Not applicable.
TD1
110
Detail > HL Loop > HL Loop > TD1

Carrier Details (Quantity and Weight)

RequiredMax use 20
Usage notes
Example
TD1-01
103
Packaging Code
Required
String (AN)
Min 3Max 5
Usage notes
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
N1 Loop
RequiredMax >1
N1
220
Detail > HL Loop > HL Loop > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
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 4
Usage notes
N1 Loop end
HL Item
OptionalMax >1
Usage notes
Variants (all may be used)
PackTare
HL
010
Detail > HL Loop > 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 > 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
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop > HL Loop > Item > SN1

Item Detail (Shipment)

RequiredMax use 1
Usage notes
Example
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
LB
Pound
PO4
060
Detail > HL Loop > HL Loop > Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
REF
150
Detail > HL Loop > HL Loop > Item > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
DTM
200
Detail > HL Loop > HL Loop > Item > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
HL Pack
RequiredMax >1
HL
010
Detail > HL Loop > HL Loop > Item > 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.
PO4
060
Detail > HL Loop > HL Loop > Item > Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
REF
150
Detail > HL Loop > HL Loop > Item > Pack > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
MAN
190
Detail > HL Loop > HL Loop > Item > Pack > 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
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
DTM
200
Detail > HL Loop > HL Loop > Item > Pack > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
HL Pack end
HL Item end
HL Pack
OptionalMax >1
Usage notes
Variants (all may be used)
ItemTare
HL
010
Detail > 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)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
PO4
060
Detail > HL Loop > HL Loop > Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
Optional
Numeric (N0)
Min 1Max 9
Usage notes
REF
150
Detail > HL Loop > HL Loop > Pack > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
MAN
190
Detail > HL Loop > HL Loop > Pack > 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
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
DTM
200
Detail > HL Loop > HL Loop > Pack > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
HL Item
RequiredMax >1
HL
010
Detail > HL Loop > HL Loop > Pack > 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 > HL Loop > Pack > 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
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop > HL Loop > Pack > Item > SN1

Item Detail (Shipment)

RequiredMax use 1
Usage notes
Example
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
LB
Pound
PO4
060
Detail > HL Loop > HL Loop > Pack > Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
REF
150
Detail > HL Loop > HL Loop > Pack > Item > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
DTM
200
Detail > HL Loop > HL Loop > Pack > Item > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
HL Item end
HL Pack end
HL Tare
OptionalMax >1
Usage notes
Variants (all may be used)
ItemPack
HL
010
Detail > HL Loop > HL Loop > 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)
1
Additional Subordinate HL Data Segment in This Hierarchical Structure.
MAN
190
Detail > HL Loop > HL Loop > Tare > MAN

Marks and Numbers

OptionalMax 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
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
AA
SSCC-18
GM
SSCC-18 and Application Identifier
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
HL Pack
RequiredMax >1
HL
010
Detail > HL Loop > HL Loop > Tare > 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.
PO4
060
Detail > HL Loop > HL Loop > Tare > Pack > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
REF
150
Detail > HL Loop > HL Loop > Tare > Pack > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
MAN
190
Detail > HL Loop > HL Loop > Tare > Pack > 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
If Marks and Numbers (MAN-06) is present, then Marks and Numbers (MAN-05) is required
MAN-01
88
Marks and Numbers Qualifier
Required
Identifier (ID)
AA
SSCC-18
EN
EAN European Article Number (2-5-5-1)
GM
SSCC-18 and Application Identifier
UC
U.P.C. Shipping Container Code
UP
U.P.C. Consumer Package Code (1-5-5-1)
MAN-02
87
Marks and Numbers
Required
String (AN)
Min 1Max 48
Usage notes
MAN-03
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-04
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
AA
SSCC-18
EN
EAN European Article Number (2-5-5-1)
GM
SSCC-18 and Application Identifier
UC
U.P.C. Shipping Container Code
UP
U.P.C. Consumer Package Code (1-5-5-1)
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
MAN-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
DTM
200
Detail > HL Loop > HL Loop > Tare > Pack > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
HL Item
RequiredMax >1
HL
010
Detail > HL Loop > HL Loop > Tare > Pack > 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 > HL Loop > Tare > Pack > 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
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CB
Buyer's Catalog Number
EN
European Article Number (EAN) (2-5-5-1)
EO
EAN-8
IN
Buyer's Item Number
UP
U.P.C. Consumer Package Code (1-5-5-1)
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
030
Detail > HL Loop > HL Loop > Tare > Pack > Item > SN1

Item Detail (Shipment)

RequiredMax use 1
Usage notes
Example
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
LB
Pound
PO4
060
Detail > HL Loop > HL Loop > Tare > Pack > Item > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
Required
Numeric (N0)
Min 1Max 6
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
REF
150
Detail > HL Loop > HL Loop > Tare > Pack > Item > REF

Reference Identification

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
DTM
200
Detail > HL Loop > HL Loop > Tare > Pack > Item > DTM

Date/Time Reference

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

Summary

CTT
010
Summary > CTT

Transaction Totals

RequiredMax use 1
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
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
EDI Samples

Sample 856

ISA*00* *00* *ZZ*1111991111 *08*1111471111 *230702*1543*U*00401*100000283*0*P*>~
GS*SH*1111991111*1111471111*20230702*1543*1283*X*004010~
ST*856*1283~
BSN*00*123456*20230702*1328*0001~
HL*1**S~
TD5*B*2*ABCD*U*FedEx Ground~
REF*CN*9988776655~
N1*ST**92*1234~
HL*2*1*O~
PRF*1111-22222222-3333~
PID*S**VI*FL~
TD1*CTN25*1~
N1*BY**92*1234~
HL*3*2*P~
MAN*GM*00001234567890123456~
HL*4*3*I~
LIN*1*CB*111111111*UP*2222222222~
SN1**6*EA~
PO4*6*************1~
CTT*4~
SE*19*1283~
GE*1*1283~
IEA*1*100000283~

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.