MercuryGate
/
Motor Carrier Load Tender
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from MercuryGate. Contact MercuryGate for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
MercuryGate logo

X12 204 Motor Carrier Load Tender

X12 Release 4010
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sampel from MercuryGate
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/mercurygate/motor-carrier-load-tender/01H9K4E5FVKBNXNF9K87VKGCF1
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
B2
020
Beginning Segment for Shipment Information Transaction
Max use 1
Required
B2A
030
Set Purpose
Max use 1
Required
AT5
110
Bill of Lading Handling Requirements
Max use 6
Optional
PLD
120
Pallet Information
Max use 1
Optional
NTE
130
Note/Special Instruction
Max use 10
Optional
0100 Loop
0200 Loop
detail
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)
SM
Motor Carrier Load Tender (204)
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)
204
Motor Carrier Load Tender
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
B2
020
Heading > B2

Beginning Segment for Shipment Information Transaction

RequiredMax use 1
Example
B2-02
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4
B2-04
145
Shipment Identification Number
Required
String (AN)
Min 1Max 30
B2-06
146
Shipment Method of Payment
Required
Identifier (ID)
Min 2Max 2
B2A
030
Heading > B2A

Set Purpose

RequiredMax use 1
Example
B2A-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
01
Cancellation
04
Change
B2A-02
346
Application Type
Required
Identifier (ID)
LT
Load Tender - Truckload (TL) Carrier Only
AT5
110
Heading > AT5

Bill of Lading Handling Requirements

OptionalMax use 6
Example
Only one of Special Handling Code (AT5-01) or Special Handling Description (AT5-03) may be present
Only one of Special Services Code (AT5-02) or Special Handling Description (AT5-03) may be present
AT5-01
152
Special Handling Code
Optional
Identifier (ID)
HM
Endorsed as Hazardous Material
OPR
Perishable
AT5-02
560
Special Services Code
Optional
Identifier (ID)
Min 2Max 10
Usage notes
AT5-03
153
Special Handling Description
Optional
String (AN)
Min 2Max 30
Usage notes
PLD
120
Heading > PLD

Pallet Information

OptionalMax use 1
Example
PLD-01
406
Quantity of Pallets Shipped
Required
Numeric (N0)
Min 1Max 3
NTE
130
Heading > NTE

Note/Special Instruction

OptionalMax use 10
Example
NTE-01
363
Note Reference Code
Optional
Identifier (ID)
Min 3Max 3
Usage notes
NTE-02
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
0100 Loop
RequiredMax 5
N1
140
Heading > 0100 Loop > N1

Name

RequiredMax use 1
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)
BT
Bill-to-Party
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
160
Heading > 0100 Loop > N3

Address Information

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
170
Heading > 0100 Loop > N4

Geographic Location

RequiredMax use 1
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
G61
190
Heading > 0100 Loop > G61

Contact

OptionalMax use 3
Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
Required
String (AN)
Min 1Max 60
G61-03
365
Communication Number Qualifier
Required
Identifier (ID)
FX
Facsimile
TE
Telephone
G61-04
364
Communication Number
Required
String (AN)
Min 1Max 80
0100 Loop end
0200 Loop
OptionalMax 10
N7
200
Heading > 0200 Loop > N7

Equipment Details

RequiredMax use 1
Usage notes
Example
N7-01
206
Equipment Initial
Required
String (AN)
Min 1Max 4
Usage notes
N7-02
207
Equipment Number
Required
String (AN)
Min 1Max 10
N7-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
N7-04
187
Weight Qualifier
Required
Identifier (ID)
E
Estimated Net Weight
N7-11
40
Equipment Description Code
Required
Identifier (ID)
Min 2Max 2
0200 Loop end
Heading end

Detail

0300 Loading Stop
RequiredMax 999
Variants (all may be used)
Unloading Stop
S5
010
Detail > Loading Stop > S5

Stop Off Details

RequiredMax use 1
Example
S5-01
165
Stop Sequence Number
Required
Numeric (N0)
Min 1Max 3
S5-02
163
Stop Reason Code
Required
Identifier (ID)
CL
Complete
PL
Part Load
L11
020
Detail > Loading Stop > L11

Business Instructions and Reference Number

OptionalMax use 50
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 30
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
11
Account Number
BM
Bill of Lading Number
CR
Customer Reference Number
PO
Purchase Order Number
L11-03
352
Description
Required
String (AN)
Min 1Max 80
G62
030
Detail > Loading Stop > G62

Date/Time

RequiredMax use 2
Example
G62-01
432
Date Qualifier
Required
Identifier (ID)
37
Ship Not Before Date
38
Ship Not Later Than Date
Required
Date (DT)
CCYYMMDD format
G62-03
176
Time Qualifier
Required
Identifier (ID)
I
Earliest Requested Pick Up Time
K
Latest Requested Pick Up Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
AT8
040
Detail > Loading Stop > AT8

Shipment Weight, Packaging and Quantity Data

RequiredMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
K
Kilograms
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
0310 Loop
RequiredMax 1
N1
070
Detail > Loading Stop > 0310 Loop > N1

Name

RequiredMax use 1
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)
SH
Shipper
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
090
Detail > Loading Stop > 0310 Loop > N3

Address Information

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
100
Detail > Loading Stop > 0310 Loop > N4

Geographic Location

RequiredMax use 1
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
G61
120
Detail > Loading Stop > 0310 Loop > G61

Contact

OptionalMax use 3
Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
Required
String (AN)
Min 1Max 60
G61-03
365
Communication Number Qualifier
Required
Identifier (ID)
FX
Facsimile
TE
Telephone
G61-04
364
Communication Number
Required
String (AN)
Min 1Max 80
0310 Loop end
0320 Loop
OptionalMax 99
L5
130
Detail > Loading Stop > 0320 Loop > L5

Description, Marks and Numbers

RequiredMax use 1
Example
If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
If Marks and Numbers Qualifier (L5-07) is present, then Marks and Numbers (L5-06) is required
L5-02
79
Lading Description
Required
String (AN)
Min 1Max 50
L5-03
22
Commodity Code
Optional
String (AN)
Min 1Max 30
Usage notes
L5-04
23
Commodity Code Qualifier
Optional
Identifier (ID)
N
National Motor Freight Classification (NMFC)
L5-05
103
Packaging Code
Optional
String (AN)
Min 3Max 5
L5-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
L5-07
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
SI
Self-Identifying Container via Radio Frequency ID Device
AT8
135
Detail > Loading Stop > 0320 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
K
Kilograms
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
0325 Loop
OptionalMax 99
G61
140
Detail > Loading Stop > 0320 Loop > 0325 Loop > G61

Contact

RequiredMax use 1
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)
HM
Hazardous Material Contact
Required
String (AN)
Min 1Max 60
Usage notes
G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
0330 Loop
OptionalMax 25
LH1
143
Detail > Loading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH1

Hazardous Identification Information

RequiredMax use 1
Example
LH1-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
LH1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
LH1-03
277
UN/NA Identification Code
Optional
Identifier (ID)
Min 6Max 6
LH1-05
22
Commodity Code
Optional
String (AN)
Min 1Max 30
LH1-06
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
LH1-07
380
Quantity
Required
Decimal number (R)
Min 1Max 15
LH1-10
254
Packing Group Code
Optional
Identifier (ID)
Min 1Max 3
Usage notes
LH2
144
Detail > Loading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH2

Hazardous Classification Information

OptionalMax use 4
Example
If either Unit or Basis for Measurement Code (LH2-06) or Temperature (LH2-07) is present, then the other is required
LH2-01
215
Hazardous Classification
Optional
Identifier (ID)
Min 1Max 30
LH2-03
218
Hazardous Placard Notation
Optional
Identifier (ID)
Min 14Max 40
LH2-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CE
Centigrade, Celsius
FA
Fahrenheit
LH2-07
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
LH3
145
Detail > Loading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH3

Hazardous Material Shipping Name

OptionalMax use 10
Example
LH3-01
224
Hazardous Material Shipping Name
Required
String (AN)
Min 1Max 25
LH3-02
984
Hazardous Material Shipping Name Qualifier
Required
Identifier (ID)
D
Domestic (United States) Shipping Name
LH3-03
985
N.O.S. Indicator Code
Optional
Identifier (ID)
NOS
N.O.S. Regulatory Requirements Apply
LFH
146
Detail > Loading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LFH

Freeform Hazardous Material Information

OptionalMax use 20
Example
LFH-01
808
Hazardous Material Shipment Information Qualifier
Required
Identifier (ID)
ADI
Additional Descriptive Information Not Required by Regulation but Desired to Accompany the Movement by the Shipper
LFH-02
809
Hazardous Material Shipment Information
Required
String (AN)
Min 1Max 25
0330 Loop end
0325 Loop end
0320 Loop end
0350 Loop
OptionalMax 999
OID
150
Detail > Loading Stop > 0350 Loop > OID

Order Identification Detail

RequiredMax use 1
Example
OID-01
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
OID-02
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
0360 Loop
OptionalMax 99
L5
190
Detail > Loading Stop > 0350 Loop > 0360 Loop > L5

Description, Marks and Numbers

RequiredMax use 1
Example
L5-02
79
Lading Description
Required
String (AN)
Min 1Max 50
AT8
195
Detail > Loading Stop > 0350 Loop > 0360 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
Usage notes
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
Usage notes
0365 Loop
OptionalMax 99
G61
200
Detail > Loading Stop > 0350 Loop > 0360 Loop > 0365 Loop > G61

Contact

RequiredMax use 1
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)
HM
Hazardous Material Contact
Required
String (AN)
Min 1Max 60
Usage notes
G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
0365 Loop end
0360 Loop end
0350 Loop end
0300 Loading Stop end
0300 Unloading Stop
RequiredMax 999
Variants (all may be used)
Loading Stop
S5
010
Detail > Unloading Stop > S5

Stop Off Details

RequiredMax use 1
Example
S5-01
165
Stop Sequence Number
Required
Numeric (N0)
Min 1Max 3
S5-02
163
Stop Reason Code
Required
Identifier (ID)
CU
Complete Unload
PU
Part Unload
L11
020
Detail > Unloading Stop > L11

Business Instructions and Reference Number

OptionalMax use 50
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 30
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
11
Account Number
BM
Bill of Lading Number
CR
Customer Reference Number
PO
Purchase Order Number
L11-03
352
Description
Required
String (AN)
Min 1Max 80
G62
030
Detail > Unloading Stop > G62

Date/Time

RequiredMax use 2
Example
G62-01
432
Date Qualifier
Required
Identifier (ID)
53
Deliver Not Before Date
54
Deliver No Later Than Date
Required
Date (DT)
CCYYMMDD format
G62-03
176
Time Qualifier
Required
Identifier (ID)
G
Earliest Requested Deliver Time
L
Latest Requested Delivery Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
AT8
040
Detail > Unloading Stop > AT8

Shipment Weight, Packaging and Quantity Data

RequiredMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
K
Kilograms
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
0310 Loop
RequiredMax 1
N1
070
Detail > Unloading Stop > 0310 Loop > N1

Name

RequiredMax use 1
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)
CN
Consignee
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N3
090
Detail > Unloading Stop > 0310 Loop > N3

Address Information

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
100
Detail > Unloading Stop > 0310 Loop > N4

Geographic Location

RequiredMax use 1
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
G61
120
Detail > Unloading Stop > 0310 Loop > G61

Contact

OptionalMax use 3
Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
Required
String (AN)
Min 1Max 60
G61-03
365
Communication Number Qualifier
Required
Identifier (ID)
FX
Facsimile
TE
Telephone
G61-04
364
Communication Number
Required
String (AN)
Min 1Max 80
0310 Loop end
0320 Loop
OptionalMax 99
L5
130
Detail > Unloading Stop > 0320 Loop > L5

Description, Marks and Numbers

RequiredMax use 1
Example
If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
If Marks and Numbers Qualifier (L5-07) is present, then Marks and Numbers (L5-06) is required
L5-02
79
Lading Description
Required
String (AN)
Min 1Max 50
L5-03
22
Commodity Code
Optional
String (AN)
Min 1Max 30
Usage notes
L5-04
23
Commodity Code Qualifier
Optional
Identifier (ID)
N
National Motor Freight Classification (NMFC)
L5-05
103
Packaging Code
Optional
String (AN)
Min 3Max 5
L5-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48
Usage notes
L5-07
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
SI
Self-Identifying Container via Radio Frequency ID Device
AT8
135
Detail > Unloading Stop > 0320 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
K
Kilograms
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
0325 Loop
OptionalMax 99
G61
140
Detail > Unloading Stop > 0320 Loop > 0325 Loop > G61

Contact

RequiredMax use 1
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)
HM
Hazardous Material Contact
Required
String (AN)
Min 1Max 60
Usage notes
G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
0330 Loop
OptionalMax 25
LH1
143
Detail > Unloading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH1

Hazardous Identification Information

RequiredMax use 1
Example
LH1-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
KG
Kilogram
LB
Pound
LH1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
LH1-03
277
UN/NA Identification Code
Optional
Identifier (ID)
Min 6Max 6
LH1-05
22
Commodity Code
Optional
String (AN)
Min 1Max 30
LH1-06
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
LH1-07
380
Quantity
Required
Decimal number (R)
Min 1Max 15
LH1-10
254
Packing Group Code
Optional
Identifier (ID)
Min 1Max 3
Usage notes
LH2
144
Detail > Unloading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH2

Hazardous Classification Information

OptionalMax use 4
Example
If either Unit or Basis for Measurement Code (LH2-06) or Temperature (LH2-07) is present, then the other is required
LH2-01
215
Hazardous Classification
Optional
Identifier (ID)
Min 1Max 30
LH2-03
218
Hazardous Placard Notation
Optional
Identifier (ID)
Min 14Max 40
LH2-06
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
CE
Centigrade, Celsius
FA
Fahrenheit
LH2-07
408
Temperature
Optional
Decimal number (R)
Min 1Max 4
LH3
145
Detail > Unloading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LH3

Hazardous Material Shipping Name

OptionalMax use 10
Example
LH3-01
224
Hazardous Material Shipping Name
Required
String (AN)
Min 1Max 25
LH3-02
984
Hazardous Material Shipping Name Qualifier
Required
Identifier (ID)
D
Domestic (United States) Shipping Name
LH3-03
985
N.O.S. Indicator Code
Optional
Identifier (ID)
NOS
N.O.S. Regulatory Requirements Apply
LFH
146
Detail > Unloading Stop > 0320 Loop > 0325 Loop > 0330 Loop > LFH

Freeform Hazardous Material Information

OptionalMax use 20
Example
LFH-01
808
Hazardous Material Shipment Information Qualifier
Required
Identifier (ID)
ADI
Additional Descriptive Information Not Required by Regulation but Desired to Accompany the Movement by the Shipper
LFH-02
809
Hazardous Material Shipment Information
Required
String (AN)
Min 1Max 25
0330 Loop end
0325 Loop end
0320 Loop end
0350 Loop
OptionalMax 999
OID
150
Detail > Unloading Stop > 0350 Loop > OID

Order Identification Detail

RequiredMax use 1
Example
OID-01
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
OID-02
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
0360 Loop
OptionalMax 99
L5
190
Detail > Unloading Stop > 0350 Loop > 0360 Loop > L5

Description, Marks and Numbers

RequiredMax use 1
Example
L5-02
79
Lading Description
Required
String (AN)
Min 1Max 50
AT8
195
Detail > Unloading Stop > 0350 Loop > 0360 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 1
Example
AT8-01
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
AT8-02
188
Weight Unit Code
Required
Identifier (ID)
L
Pounds
AT8-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
Usage notes
AT8-05
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
Usage notes
0365 Loop
OptionalMax 99
G61
200
Detail > Unloading Stop > 0350 Loop > 0360 Loop > 0365 Loop > G61

Contact

RequiredMax use 1
Example
If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
G61-01
366
Contact Function Code
Required
Identifier (ID)
HM
Hazardous Material Contact
Required
String (AN)
Min 1Max 60
Usage notes
G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
0365 Loop end
0360 Loop end
0350 Loop end
0300 Unloading Stop end
Detail end

Summary

L3
010
Summary > L3

Total Weight and Charges

RequiredMax use 1
Example
If either Freight Rate (L3-03) or Rate/Value Qualifier (L3-04) is present, then the other is required
L3-01
81
Weight
Required
Decimal number (R)
Min 1Max 10
L3-02
187
Weight Qualifier
Required
Identifier (ID)
G
Gross Weight
L3-03
60
Freight Rate
Optional
Decimal number (R)
Min 1Max 9
L3-04
122
Rate/Value Qualifier
Optional
Identifier (ID)
FR
Flat Rate
L3-05
58
Charge
Optional
Numeric (N2)
Min 1Max 12
L3-11
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7
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

Sampel from MercuryGate

ISA*00**00**ZZ*MGSAMPLE *02*DAFG *140412*1532*U*00401*000000197*0*P*:
GS*SM*MGSAMPLE*DAFG*20140412*153258*48*X*004010
ST*204*000480001
B2**DAFG**60468**PP
B2A*00*LT
AT5*HM
N1*BT*Global Billing*93*1122
N3*6549 Carlton Ave
N4*Boca Raton*FL*33496*USA
S5*1*CL
L11*509941*PO*PO Number
L11*509942*PO*PO Number
L11*30244*CR*ShipmentID
L11*30245*CR*ShipmentID
G62*37*20140411*I*0800
G62*38*20140411*K*1730
AT8*G*L*6300.5**30
N1*SH*General Products*93*6040
N3*401 Franklin Drive
N4*Cleveland*OH*44101*US
G61*IC*Roger Smith*TE*888 366-3000
L5**Hazardous item***PLT*30244*SI
AT8*G*L*2000.0**20
G61*HM*Steve Bennett*TE*999-888-7777
LH1*LB*2000*UN2356**POC*PL*20***I
LH2*3**placard details***FA*100.0
LH3*Proper Shipping Name*D
LFH*ADI*hazmat comments go here
L5**Freight All Kinds***PLT*30245*SI
AT8*G*L*4300.5**10
S5*2*PU
L11*509941*PO*PO Number
L11*30244*CR*ShipmentID
G62*53*20140520*G*0800
G62*54*20140520*L*1700
AT8*G*L*2000.0**20
N1*CN*Fisher and Sons*93*0000501214
N3*100 Omicron Rd
N4*Long Prairie*MN*56347*US
G61*IC*Delivery Contact*TE*525 344-3232
L5**Hazardous item***PLT*30244*SI
AT8*G*L*2000.0**20
G61*HM*Steve Bennett*TE*999-888-7777
LH1*LB*2000*UN2356**POC*PL*20***I
LH2*3**placard details***FA*100.0
LH3*Proper Shipping Name*D
LFH*ADI*hazmat comments go here
S5*3*CU
L11*509942*PO*PO Number
L11*30245*CR*ShipmentID
G62*53*20130526*G*0800
G62*54*20130526*L*1600
AT8*G*L*4300.5**10
N1*CN*Delta Manufacturing*93*0000092255
N3*5101 Straight Blvd
N4*SHAKOPEE*MN*55379*US
G61*IC*Mary Anderson*TE*800-555-1212
L5**Freight All Kinds***PLT*30245*SI
AT8*G*L*4300.5**10
L3*6300.5*G*259.5*FR*25950******30
SE*59*000480001
GE*1*48
IEA*1*000000197

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.