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

X12 210 Motor Carrier Freight Details and Invoice

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI sample
  • Sample From LG
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/lg/motor-carrier-freight-details-and-invoice/01HATC45B4E3ZMZGAPKF6MRRP5
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
0300 Loop
0400 Loop
LX
1200
Transaction Set Line Number
Max use 1
Required
L1
1800
Rate and Charges
Max use 50
Optional
L7
2000
Tariff Reference
Max use 10
Optional
K1
2100
Remarks
Max use 10
Optional
0460 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)
IM
Motor Carrier Freight Details and Invoice (210, 980)
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)
210
Motor Carrier Freight Details and Invoice
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
B3
0200
Heading > B3

Beginning Segment for Carrier's Invoice

RequiredMax use 1
Example
B3-02
76
Invoice Number
Required
String (AN)
Min 1Max 22
Usage notes
B3-03
145
Shipment Identification Number
Required
String (AN)
Min 1Max 30
Usage notes
B3-04
146
Shipment Method of Payment
Required
Identifier (ID)
Usage notes
CC
Collect
PP
Prepaid (by Seller)
B3-05
188
Weight Unit Code
Required
Identifier (ID)
Usage notes
L
Pounds
Required
Date (DT)
CCYYMMDD format
Usage notes
B3-07
193
Net Amount Due
Required
Numeric (N2)
Min 1Max 12
Usage notes
B3-09
32
Delivery Date
Required
Date (DT)
CCYYMMDD format
Usage notes
B3-10
374
Date/Time Qualifier
Required
Identifier (ID)
011
Shipped
B3-11
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4
Usage notes
L11
0600
Heading > L11

Account Number

RequiredMax use 1
Example
Variants (all may be used)
L11Business Instructions and Reference NumberL11Master Bill of LadingL11Payment CategoryL11Service Performed CodeL11Special Charge or Allowance CodeL11Transaction Reference NumberL11Vendor Abbreviation Code
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
11
Account Number
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
V0
Version
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
MB
Master Bill of Lading
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
9V
Payment Category
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
QY
Service Performed Code
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
22
Special Charge or Allowance Code
L11-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
TN
Transaction Reference Number
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
VE
Vendor Abbreviation Code
G62
0700
Heading > G62

Date/Time

RequiredMax use 6
Example
G62-01
432
Date Qualifier
Required
Identifier (ID)
86
Actual Pickup Date
Required
Date (DT)
CCYYMMDD format
Usage notes
G62-03
176
Time Qualifier
Required
Identifier (ID)
8
Actual Pickup Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
G62-05
623
Time Code
Required
Identifier (ID)
ES
Eastern Standard Time
Heading end

Detail

0300 Loop
OptionalMax 999
Usage notes
S5
0100
Detail > 0300 Loop > S5

Stop-off Details

RequiredMax use 1
Example
S5-01
165
Stop Sequence Number
Required
Numeric (N0)
Min 1Max 3
Usage notes
S5-02
163
Stop Reason Code
Optional
Identifier (ID)
PU
Part Unload
UL
Unload
S5-03
81
Weight
Required
Decimal number (R)
Min 1Max 10
Usage notes
S5-04
188
Weight Unit Code
Required
Identifier (ID)
L
Pounds
L11
0200
Detail > 0300 Loop > L11

Government Bill of Lading

RequiredMax use 1
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
BL
Government Bill of Lading
L11
0200
Detail > 0300 Loop > L11

Lessee Bill Code Number

OptionalMax use 1
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
B1
Lessee Bill Code Number
L11
0200
Detail > 0300 Loop > L11

Load Planning Number

RequiredMax use 10
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
LO
Load Planning Number
L11
0200
Detail > 0300 Loop > L11

Mutually Defined

OptionalMax use 1
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
L11
0200
Detail > 0300 Loop > L11

Technical Documentation Type

RequiredMax use 1
Example
L11-01
127
Reference Identification
Required
String (AN)
Min 1Max 50
Usage notes
L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)
TDT
Technical Documentation Type
0300 Loop end
0400 Loop
OptionalMax >1
Usage notes
LX
1200
Detail > 0400 Loop > LX

Transaction Set Line Number

RequiredMax use 1
Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6
L1
1800
Detail > 0400 Loop > L1

Rate and Charges

OptionalMax use 50
Example
If either Freight Rate (L1-02) or Rate/Value Qualifier (L1-03) is present, then the other is required
If either Billed/Rated-as Quantity (L1-17) or Billed/Rated-as Qualifier (L1-18) is present, then the other is required
L1-01
213
Lading Line Item Number
Optional
Numeric (N0)
Min 1Max 3
L1-02
60
Freight Rate
Optional
Decimal number (R)
Min 1Max 9
Usage notes
L1-03
122
Rate/Value Qualifier
Optional
Identifier (ID)
PM
Per Mile
L1-04
58
Amount Charged
Optional
Numeric (N2)
Min 1Max 15
Usage notes
L1-17
220
Billed/Rated-as Quantity
Optional
Decimal number (R)
Min 1Max 11
Usage notes
L1-18
221
Billed/Rated-as Qualifier
Optional
Identifier (ID)
Usage notes
DM
Miles
L7
2000
Detail > 0400 Loop > L7

Tariff Reference

OptionalMax use 10
Example
L7-07
59
Freight Class Code
Optional
String (AN)
Min 2Max 5
Usage notes
K1
2100
Detail > 0400 Loop > K1

Remarks

OptionalMax use 10
Example
K1-01
61
Free-form Information
Required
String (AN)
Min 1Max 30
K1-02
61
Free-form Information
Optional
String (AN)
Min 1Max 30
0460 Loop
RequiredMax 999999
Usage notes
N1
2400
Detail > 0400 Loop > 0460 Loop > N1

Party Identification

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SF
Ship From
ST
Ship To
Required
String (AN)
Min 1Max 60
Usage notes
N4
2700
Detail > 0400 Loop > 0460 Loop > N4

Geographic Location

RequiredMax use 1
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
0463 Loop
OptionalMax 999999
Usage notes
CD3
3000
Detail > 0400 Loop > 0460 Loop > 0463 Loop > CD3

Carton (Package) Detail

RequiredMax use 1
Example
CD3-01
187
Weight Qualifier
Required
Identifier (ID)
A
Consolidated Weight
CD3-02
81
Weight
Required
Decimal number (R)
Min 1Max 10
Usage notes
L9
3300
Detail > 0400 Loop > 0460 Loop > 0463 Loop > L9

Charge Detail

RequiredMax use 50
Example
L9-01
150
Special Charge or Allowance Code
Required
Identifier (ID)
Usage notes
260
Delivery Surcharge
405
Fuel Surcharge
697
Special Tooling Charge
BEY
Beyond Freight Charges
DEL
Delivery Charge
DTL
Detention Loading
DTU
Detention Unloading
FAK
Barge Freight All Kinds Service
FUE
Fuel Charge
GST
Goods and Services Tax Charge
IDL
Inside Delivery
INS
Insurance
LFT
Lift Gate (Truck) or Forklift Service at Pickup/Delivery
LHS
Linehaul Service
MSG
Miscellaneous Charge
OVR
Over Dimension
PKS
Packing Surcharge
PPN
Pallet Charge
PUC
Pickup Charge
RCC
Reconsignment Charge
RCL
Redelivery
RES
Residential Delivery
SOC
Stop-off Charge
SPD
Spreader Charge
SRG
Storage
SSS
Software Support Service
SUR
Surcharge
TAX
Tax Charge
TER
Terminal Charge
TPS
Third-Party Service
TTM
Tax on Miscellaneous Charges
WTV
Weight Verification Charge
L9-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
0463 Loop end
0460 Loop end
0400 Loop end
Detail end

Summary

L3
0100
Summary > L3

Total Weight and Charges

RequiredMax use 1
Example
L3-05
58
Amount Charged
Required
Numeric (N2)
Min 1Max 15
Usage notes
L3-08
150
Special Charge or Allowance Code
Required
Identifier (ID)
BAS
Base Charge
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

Sample From LG

ISA*00**00**02*SCAC *01*029049590 *140501*1418*U*00302*000001236*0*P*>~
GS*IM*SCAC*029049590*20140501*1418*1236*X*005010~
ST*210*012360020~
B3**12345678*123123123*CC*L*20140430*30444**20140429*011*SCAC~
L11*95999999-2.1*MB~
L11*1234567*TN~
L11*SCAC*VE~
L11*FP*9V~
L11*Ground*QY~
L11*30152*11~
L11*V2*V0~
L11*0.23*22*1234~
G62*86*20140424*8*1200*ES~
S5*2*PU*380*L~
L11*INVO*TDT~
L11*95999999-2.1*BL~
L11*707456*LO~
L11*28*ZZ~
LX*1~
L1**100*PM*2800*************100*DM~
L7*******85~
N1*SF*N1A - JAMESBURG NJ~
N4*JAMESBURG*NJ*08831*US~
N1*ST*SHIP TO~
N4*CITY*ST*ZIP##*CT~
CD3*A*380~
L9*FUE*50.44~
L9*SOC*60.00~
L3*****19400***BAS~
SE*28*012360020~
GE*1*1236~
IEA*1*000001236~

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.