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

X12 856 Ship Notice/Manifest Baseline

X12 Release 5010Revised
Oct 1, 1:30 AM
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://portal.stedi.com/app/guides/view/i-trade-network/ship-noticemanifest-baseline/01K6EKQW3528F8RM19SY9CET1Z
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 Order
HL
0100
Hierarchical Level
Max use 1
Required
SN1
0300
Item Detail (Shipment)
Max use 1
Optional
PRF
0500
Purchase Order Reference
Max use 1
Required
PKG
1000
Marking, Packaging, Loading
Max use 25
Optional
TD1
1100
Carrier Details (Quantity and Weight)
Max use 20
Optional
REF
1500
Reference Information
Max use 1
Required
N1 Loop
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
Example
BSN-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
05
Replace
06
Confirmation
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
Heading end

Detail

HL Loop Order
RequiredMax >1
Variants (all may be used)
HL Loop PackHL Loop ShipmentHL Loop Shipping TareHL Loop Unit or Lot
HL
0100
Detail > HL Loop Order > 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)
O
Order
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
SN1
0300
Detail > HL Loop Order > SN1

Item Detail (Shipment)

OptionalMax use 1
Example
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)
PL
Pallet/Unit Load
PRF
0500
Detail > HL Loop Order > PRF

Purchase Order Reference

RequiredMax use 1
Example
PRF-01
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
PRF-02
328
Release Number
Optional
String (AN)
Min 1Max 30
PRF-03
327
Change Order Sequence Number
Optional
String (AN)
Min 1Max 8
Required
Date (DT)
CCYYMMDD format
PRF-07
92
Purchase Order Type Code
Optional
Identifier (ID)
DS
Dropship
SO
Shipped Order
PKG
1000
Detail > HL Loop Order > PKG

Marking, Packaging, Loading

OptionalMax use 25
Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
PKG-01
349
Item Description Type
Optional
Identifier (ID)
F
Free-form
PKG-02
753
Packaging Characteristic Code
Optional
Identifier (ID)
68
Skid/Pallet Type
PKG-05
352
Description
Optional
String (AN)
Min 1Max 80
TD1
1100
Detail > HL Loop Order > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Example
If Packaging Code (TD1-01) is present, then Lading Quantity (TD1-02) 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
TD1-01
103
Packaging Code
Optional
String (AN)
Part 1/1
CTN
Carton
PLT
Pallet
TD1-02
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7
TD1-06
187
Weight Qualifier
Optional
Identifier (ID)
G
Gross Weight
TD1-07
81
Weight
Optional
Decimal number (R)
Min 1Max 10
TD1-08
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
KG
Kilogram
LB
Pound
REF
1500
Detail > HL Loop Order > REF

Reference Information

RequiredMax use >1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CR
Customer Reference Number
IA
Internal Vendor Number
IL
Internal Order Number
IV
Seller's Invoice Number
L1
Letters or Notes
VN
Vendor Order Number
VR
Vendor ID Number
YB
Revision Number
YD
Buyer Identification
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
N1 Loop
OptionalMax >1
N1
2200
Detail > HL Loop Order > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
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)
BY
Buying Party (Purchaser)
MA
Party for whom Item is Ultimately Intended
VN
Vendor
Optional
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
91
Assigned by Seller or Seller's Agent
92
Assigned by Buyer or Buyer's Agent
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N1 Loop end
HL Loop Order end
HL Loop Pack
RequiredMax >1
HL
0100
Detail > HL Loop Pack > 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)
P
Pack
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
0200
Detail > HL Loop Pack > LIN

Item Identification

OptionalMax use 1
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
LIN-02
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-03
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
MG
Manufacturer's Part Number
UK
GTIN 14-digit Data Structure
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)
PI
Purchaser's Item Code
VN
Vendor's (Seller's) Item Number
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CH
Country of Origin Code
IN
Buyer's Item Number
VN
Vendor's (Seller's) Item Number
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CH
Country of Origin Code
VN
Vendor's (Seller's) Item Number
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
0300
Detail > HL Loop Pack > SN1

Item Detail (Shipment)

OptionalMax use 1
Example
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
UN
Unit
SLN
0400
Detail > HL Loop Pack > SLN

Subline Item Detail

OptionalMax use 1000
Example
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
SLN-03
662
Relationship Code
Required
Identifier (ID)
S
Substituted
SLN-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
SLN-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CA
Case
SLN-09
235
Product/Service ID Qualifier
Required
Identifier (ID)
LT
Lot Number
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
SLN-10
234
Product/Service ID
Required
String (AN)
Min 1Max 48
PID
0700
Detail > HL Loop Pack > PID

Product/Item Description

OptionalMax use 200
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)
08
Product
PID-05
352
Description
Optional
String (AN)
Min 1Max 80
MEA
0800
Detail > HL Loop Pack > MEA

Measurements

OptionalMax use 40
Example
MEA-01
737
Measurement Reference ID Code
Required
Identifier (ID)
WT
Weights
MEA-02
738
Measurement Qualifier
Required
Identifier (ID)
G
Gross Weight
N
Actual Net Weight
VOL
Volume
MEA-03
739
Measurement Value
Required
Decimal number (R)
Min 1Max 15
MEA-04
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
CF
Cubic Feet
KG
Kilogram
LB
Pound
REF
1500
Detail > HL Loop Pack > REF

Reference Information

OptionalMax use >1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
PZ
Product Change Notice Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
N1 Loop
RequiredMax >1
N1
2200
Detail > HL Loop Pack > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
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)
MP
Manufacturing Plant
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
UL
Global Location Number (GLN)
UR
Uniform Resource Locator (URL)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
2400
Detail > HL Loop Pack > N1 Loop > 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 Pack > N1 Loop > 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 Loop end
HL Loop Pack end
HL Loop Shipment
RequiredMax >1
HL
0100
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)
0
No Subordinate HL Segment in This Hierarchical Structure.
TD1
1100
Detail > HL Loop Shipment > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Example
TD1-01
103
Packaging Code
Required
String (AN)
Part 1/1
CAS
Case
CTN
Carton
INT
Intermediate Container
MIX
Mixed Container Types
PLT
Pallet
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
TD1-06
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
N
Actual Net 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
TD5
1200
Detail > HL Loop Shipment > TD5

Carrier Details (Routing Sequence/Transit Time)

OptionalMax use 20
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
At least one of Identification Code Qualifier (TD5-02), Transportation Method/Type Code (TD5-04) or Routing (TD5-05) is required
TD5-02
66
Identification Code Qualifier
Optional
Identifier (ID)
2
Standard Carrier Alpha Code (SCAC)
TD5-03
67
Identification Code
Optional
String (AN)
Min 2Max 80
TD5-04
91
Transportation Method/Type Code
Optional
Identifier (ID)
CE
Customer Pickup / Customer's Expense
H
Customer Pickup
M
Motor (Common Carrier)
R
Rail
TD5-05
387
Routing
Optional
String (AN)
Min 1Max 35
TD3 Loop
OptionalMax >1
TD3
1300
Detail > HL Loop Shipment > TD3 Loop > TD3

Carrier Details (Equipment)

RequiredMax use 1
Example
If Equipment Initial (TD3-02) is present, then Equipment Number (TD3-03) is required
TD3-02
206
Equipment Initial
Optional
String (AN)
Min 1Max 4
TD3-03
207
Equipment Number
Optional
String (AN)
Min 1Max 15
TD3-08
407
Seal Status Code
Optional
Identifier (ID)
01
Intact
04
Replaced
TD3-09
225
Seal Number
Optional
String (AN)
Min 2Max 15
TD3 Loop end
REF
1500
Detail > HL Loop Shipment > REF

Reference Information

RequiredMax use >1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
2I
Tracking Number
AO
Appointment Number
BM
Bill of Lading Number
CN
Carrier's Reference Number (PRO/Invoice)
DJ
Delivery Ticket Number
LO
Load Planning Number
MG
Meter Number
P8
Pickup Reference Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 50
DTM
2000
Detail > HL Loop Shipment > DTM

Date/Time Reference

RequiredMax use 10
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
011
Shipped
067
Current Schedule Delivery
Required
Date (DT)
CCYYMMDD format
N1 Loop
RequiredMax >1
N1
2200
Detail > HL Loop Shipment > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
ST
Ship To
Optional
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
92
Assigned by Buyer or Buyer's Agent
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Required
String (AN)
Min 2Max 80
N3
2400
Detail > HL Loop Shipment > N1 Loop > N3

Party Location

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

Geographic Location

OptionalMax use 1
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
Optional
Identifier (ID)
Min 2Max 3
PER
2700
Detail > HL Loop Shipment > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 3
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
SH
Shipper Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
N1 Loop end
HL Loop Shipment end
HL Loop Shipping Tare
RequiredMax >1
HL
0100
Detail > HL Loop Shipping Tare > 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)
T
Shipping Tare
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
PKG
1000
Detail > HL Loop Shipping Tare > PKG

Marking, Packaging, Loading

OptionalMax use 25
Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
If Packaging Description Code (PKG-04) is present, then Agency Qualifier Code (PKG-03) is required
At least one of Packaging Description Code (PKG-04) or Description (PKG-05) is required
PKG-01
349
Item Description Type
Optional
Identifier (ID)
F
Free-form
S
Structured (From Industry Code List)
PKG-02
753
Packaging Characteristic Code
Optional
Identifier (ID)
35
Type of Package
68
Skid/Pallet Type
PKG-03
559
Agency Qualifier Code
Optional
Identifier (ID)
FD
Uniform Code Council (UCS)
PKG-04
754
Packaging Description Code
Optional
String (AN)
37
CHEP (Commonwealth Handling Equipment Pool)
41
iGPS Logistics
47
PECO Pallet Exchange Company
52
White Wood General Exchange, non-rental pallet
PKG-05
352
Description
Optional
String (AN)
Min 1Max 80
TD1
1100
Detail > HL Loop Shipping Tare > TD1

Carrier Details (Quantity and Weight)

OptionalMax use 20
Example
TD1-01
103
Packaging Code
Required
String (AN)
Part 1/1
CAS
Case
TD1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
TD1-06
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
N
Actual Net Weight
TD1-07
81
Weight
Required
Decimal number (R)
Min 1Max 10
TD1-08
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
01
Actual Pounds
LB
Pound
REF
1500
Detail > HL Loop Shipping Tare > REF

Reference Information

OptionalMax use >1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
MG
Meter Number
MAN
1900
Detail > HL Loop Shipping Tare > MAN

Marks and Numbers Information

RequiredMax use >1
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)
GM
EAN.UCC Serial Shipping Container Code (SSCC) 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
MAN-05
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
PAL
2150
Detail > HL Loop Shipping Tare > PAL

Pallet Type and Load Characteristics

OptionalMax use 1
Example
PAL-01
883
Pallet Type Code
Required
Identifier (ID)
4
Standard
PAL-02
884
Pallet Tiers
Required
Numeric (N0)
Min 1Max 3
PAL-03
885
Pallet Blocks
Required
Numeric (N0)
Min 1Max 3
N1 Loop
OptionalMax >1
N1
2200
Detail > HL Loop Shipping Tare > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
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)
SN
Store
Optional
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
91
Assigned by Seller or Seller's Agent
92
Assigned by Buyer or Buyer's Agent
UL
Global Location Number (GLN)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N1 Loop end
HL Loop Shipping Tare end
HL Loop Unit or Lot
RequiredMax >1
HL
0100
Detail > HL Loop Unit or Lot > 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)
UT
Unit or Lot
HL-04
736
Hierarchical Child Code
Optional
Identifier (ID)
0
No Subordinate HL Segment in This Hierarchical Structure.
LIN
0200
Detail > HL Loop Unit or Lot > LIN

Item Identification

OptionalMax use 1
Example
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
UA
U.P.C./EAN Case Code (2-5-5)
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-04
235
Product/Service ID Qualifier
Required
Identifier (ID)
LT
Lot Number
LIN-05
234
Product/Service ID
Required
String (AN)
Min 1Max 48
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
CH
Country of Origin Code
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
SN1
0300
Detail > HL Loop Unit or Lot > SN1

Item Detail (Shipment)

OptionalMax use 1
Example
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
MEA
0800
Detail > HL Loop Unit or Lot > MEA

Measurements

OptionalMax use 40
Example
MEA-01
737
Measurement Reference ID Code
Optional
Identifier (ID)
WT
Weights
MEA-02
738
Measurement Qualifier
Optional
Identifier (ID)
N
Actual Net Weight
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)
CF
Cubic Feet
KG
Kilogram
LB
Pound
REF
1500
Detail > HL Loop Unit or Lot > REF

Reference Information

OptionalMax use >1
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
LT
Lot Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
DTM
2000
Detail > HL Loop Unit or Lot > DTM

Date/Time Reference

OptionalMax use 10
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
405
Production
510
Date Packed
511
Shelf Life Expiration
906
Collection
Required
Date (DT)
CCYYMMDD format
N1 Loop
OptionalMax >1
N1
2200
Detail > HL Loop Unit or Lot > N1 Loop > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
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)
MP
Manufacturing Plant
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
UL
Global Location Number (GLN)
UR
Uniform Resource Locator (URL)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
2400
Detail > HL Loop Unit or Lot > N1 Loop > 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 Unit or Lot > N1 Loop > 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
PER
2700
Detail > HL Loop Unit or Lot > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 3
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
PL
Manufacturing Plant Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
N1 Loop end
HL Loop Unit or Lot end
Detail end

Summary

CTT
0100
Summary > CTT

Transaction Totals

RequiredMax use 1
Example
If either Weight (CTT-03) or Unit or Basis for Measurement Code (CTT-04) is present, then the other is required
If either Volume (CTT-05) or Unit or Basis for Measurement Code (CTT-06) is present, then the other is required
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
CTT-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10
CTT-04
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
KG
Kilogram
LB
Pound
CTT-05
183
Volume
Optional
Decimal number (R)
Min 1Max 8
CTT-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CF
Cubic Feet
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

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.