What is an EDI 201?

The EDI 210, also referred to as the Motor Carrier Freight Details and Invoice, is transmitted by a commercial carrier (like UPS Freight) to a shipper (such as a manufacturer or distributor) to provide billing information for a freight shipment.

Specifications and Key Data Elements:

  • Date of Invoice and Invoice number 
  • Product types and quantities 
  • Shipment size and weight 
  • Shipping method 
  • Delivery details 
  • Shipper information, such as name and address 
  • Recipient information, such as name and address 
  • Proof of delivery 
  • Route details 
  • Freight and Accessorial charges 
  • Total amount due 
  • Payment terms 

M = Mandatory, O = Optional, X = Not Needed

ElementRefDescriptionElement IDTypeReqFixed ValuesSample SegmentComments
ST Transaction Set HeaderST01Transaction Set Identifier Code

Code uniquely identifying a Transaction Set
210ST300942620001~

(Maximum use = 1 )
ST02Transaction Set Control Number

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
B3 Beginning Segment for Carrier’s InvoiceB301Shipment Qualifier

Code defining relationship of this shipment with respect to other shipments given to the carrier at the same time.

B – Bill of Lading for Individual Shipment
O
B3**22222222*TX22222*PP**20200222*223315**20200220*035*SCAC~

B3*B*28061234*102141*PP**20200222*208360****SCAC~

(Maximum Use = 1)
Used by rail companies
B302Invoice Number

Identifying number assigned by issuer.
MFreight Bill/Carrier’s Invoice Number
B303Shipment Identification Number

Identification number assigned to the shipment by the shipper that uniquely identifies the shipment from origin to ultimate destination and is not subject to modification; (Does not contain blanks or special characEquipment Description Codeters)
MThis is the value found in the B2-04 on the 204 document.

This is LFL’s TMS Load #.
B304Shipment Method of Payment

CodeList Summary

CC Collect
PP Prepaid (by Seller)
CC indicates that this is an LFL Inbound Shipment

PP indicates that this is an LFL Outbound or Inter-DC Shipment
From the B2-06 element in the EDI204.
B305Weight Unit Code

Code specifying the weight unit
X
B306Invoice Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year.
MThe Billing / Invoice Date.
B307Net Amount Due

Total charges to be paid by the receiver of this transaction set expressed in the standard monetary denomination for the currency specified.
MTotal charges to be paid by LFL.
Must = total of L104 charges and the total in the L305.
B308Correction Indicator

Code used to indicate you are sending LFL a Balance Due invoice.


Original invoice number cannot be used again. A letter should be added to the end of the original invoice number to create the new invoice number.


CodeList Summary

BD Balance Due Billing
B309Delivery Date

Date for delivery of cargo to final consignee or to next mode expressed in format CCYYMMDD.

If either B3-09 or B3-10 is present, then the other is required.


B310Date/Time Qualifier

CodeList Summary

035  Delivered

B311Standard Carrier Alpha Code (SCAC)

Code identifying the Standard Carrier Alpha Code
MSCAC of Carrier to receive payment.
SCAC must be in upper case.
Currency IdentifierC301Currency Code

Code specifying the Standard ISO code for country in whose currency the charges are specified.

C301 is the billing currency.

CAD
  Canadian Dollars

USD
  U.S. Dollars

C3*CAD~

C3*USD~

(Maximum Use = 1)
Reference IdentificationL1101Reference Identification Qualifier

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier.

At least one of L11-01 or L11-03 is required.

If either L11-01 or L11-02 is present, then the other is required.


Code Summary


BM
= Bill of Lading

CN
= Carrier’s Reference Number (PRO/Invoice)
4G = Provincial Tax Identification
4O = Quebec Sales Tax Reference Number
GT = Goods and Services Tax Registration Number
HS = Harmonized Sales Tax Number (“Harmonized Code System (Canada)”)

MB – Master BOL
WY
= Waybill Number
ANML11*GT*999999999RT0001*GOODS AND SERVICES TAX
REGISTRATION NUMBER~

L11*4O*9999999999ZZ9999*QUEBEC SALES TAX
REGISTRATION NUMBER~
L11*4G*999999999RT0001*PROVINCIAL SALES TAX
IDENTIFICATION~

L11*HS*9999999999ZZ9999*HARMONIZED SALES TAX
REGISTRATION NUMBER~

(Maximum Use = 300)
L1102Reference Identifier

Code qualifying the Reference Identification
IDM
L1103Free-form Description

A free-form description to clarify the related data elements and their content.
ANODescription for Taxation value
Date/TimeG6201Date Qualifier

At least one of G6201 or G6203 is required.
If either G6201 or G6202 is present, then the other is required.
 

Code List Summary


11 
Shipped on this Date

86
  Actual Pickup Date
G628619980603~

G621120030523~ (D & R)

(Maximum Use = 6)
G6202Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year


Transaction Set HeaderK101Free-form MessageXK1FREE-FORM MESSAGE/COMMENTSFREE-FORM MESSAGE/COMMENTS~

(Maximum Use = 10)
K102Free-form MessageX
LOOP ID – 0100 (Heading)
Party IdentificationN101Entity Identifier Code

Code identifying an organizational entity, a physical location, property or an individual


CodeList Summary


BT
 Bill-to
M
N1BTTHE BRICK~

(Maximum Use = 1)
At the Header level, Bill-To Party is the only iteration of the N1 segment. There will not be any N2, N3, or N4 Segments.


It is expected that only BT will be used to indicate LFL Business Unit from EDI204 N1-02…
 N1*BT*The Brick Warehouse Lp~
 N1*BT*Leon’s Furniture Ltd.”~
N102Name

Free-form name

Should come from the N102 on the 204 document.
MN1BTTHE BRICK~

N103Identification Code QualifierX
N104Identification CodeX
End of LOOP ID – 0100 (Heading)
LOOP ID – 0200 (Heading)
N7 Equipment DetailsN701Equipment Initial

Prefix or alphabetic part of an equipment unit’s identifying number.

N701 is mandatory for rail transactions.
ON7*OOCL*93940599*********TL~
N7**123456*********TL****5300~  (JB Hunt)
N7*TCNU*911084*36986*N*7500******CN****4000*A******U203~  (CN)

(Maximum Use = 1)
Equipment initial
from the actual Trailer/Container (letters must be upper case).

As provided in 204, N7-01 if prior move was Ocean.

Not required if already sent in 990 or 214
N702
Equipment Number
Sequencing or serial part of an equipment unit’s
identifying number (pure numeric form for equipment number is preferred).
MEquipment number
from the actual Trailer/Container.

As provided in 204, N7-02 if prior move was Ocean.
N703Weight

Numeric value of weight.

If either N7-03 or N7-04 is present, then the other is required
O
N704Weight Qualifier

Code defining the type of weight.

N = Actual Net Weight
O
N705Tare Weight

Weight of the equipment.

If either N7-05 or N7-16 is present, then the other is required.
O
N711Equipment Description Code

Code identifying type of equipment used for shipment

Code  Name

CN  Container
TL  Trailer (not otherwise specified)
TF  Trailer, Dry Freight
OIf prior move was Ocean, then provided in 204, N7-11.
N715Equipment Length

Length (in feet and inches) of equipment ordered or used to transport shipment (The format is FFFII where FFF is feet and II is inches; the range for II is 00 through 11).

4000 = 40 foot container
4800 = 48 foot trailer
5300 = 53 foot trailer

O
N716Weight Unit Code

Code specifying the weight unit.

A = Actual
O
N722Equipment Type

Code identifying equipment type
.
O
M7 Seal NumbersM701Seal Number

Unique number on seal used to close a shipment
OM7*93940599~

(Maximum Use = 1)
Not required if dray move as would have received from Ocean carrier/forwarder.
End of LOOP ID – 0200 (Heading)
LOOP ID – 0300 (Detail)
S5 Stop-off DetailsS501Stop Sequence Number

Identifying number for the specific stop and the sequence in which the stop is to be performed
N0MS5*1*CL~

(Maximum Use = 1)
S5 loop is required for each stop of shipment, including Origin (CL) and Destination (DT or CU).
S502Stop Reason Code

Code specifying the reason for the stop


Code List Summary  (163)

CL
  Complete Load

CU
  Complete Unload

DT
  Drop Trailer
PL  Part Load (Future)
PU  Part Unload (Future)
IDM
LOOP ID – 0310 (Detail)
N1 Party IdentificationN101Entity Identifier Code

Code identifying an organizational entity, a physical location, property or an individual

Code Name

SF
  Ship From

ST
  Ship To

N1*SF*PORT OF VANCOUVER*93*CAVAN~
N1*SF*EDMONTON RAILHEAD*93*CAEDM~

(Maximum Use = 1)
N1SFPORT OF VANCOUVER93CAVAN~
N1SFEDMONTON RAILHEAD93CAEDM~
N1STLFL GROUP DELTA DISTRIBUTION CENTRE93Z2~
N102Name

This is the name of the facility/location.

This field will contain either LFL’s Location Name, the Vendor Name or a Terminal Name.
N103Identification Code Qualifier

Code designating the system/method of code structure used for Identification Code.

If either N1-03 or N1-04 is present, then the other is required.

Use 93 to identify a non-LFL Location.
Use 94 to identify a consignee LFL facility.

Code List Summary

93  Code assigned by the organization originating the transaction set
94  Code assigned by the organization that is the ultimate destination of the transaction set
If the N1-03 contains a 94 and is therefore followed by an LFL Facility Number in the N1-04, the N3 and N4 are not required on the 210.
If N1-03 = 93, then N3 & N4 should be populated.
N104Identification Code

Code identifying a party or other code.



This is the Unique Identifier that LFL has assigned to this facility/location within LFL’s systems.
N3    Party LocationN301Address InformationMN3*914 S. BURHANS~

(Maximum Use = 2)
If the N1-03 contains a 94 and is therefore followed by an LFL Facility Number in the N1-04, the N3 and N4 are not required on the 210. 
N302Address InformationOIf N1-03 = 93, then N3 & N4 should be populated.
N4 Geographic LocationN401City Name

Free-form text for city name

A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
ON4HAGERSTOWNMD21740USA~

(Maximum Use = 1)
If the N1-03 contains a 94 and is therefore followed by an LFL Facility Number in the N1-04, the N3 and N4 are not required on the 210.
If N1-03 = 93, then N3 & N4 should be populated.
N402State or Province Code

Code specifying the Standard State/Province as defined by appropriate government agency.

Only one of N4-02 or N4-07 may be present
O
N403Postal Code

Code specifying international postal zone code excluding punctuation and blanks.



Only one of N4-03 or N4-08 may be present
OFor Canadian Postal Codes, the postal code should be in upper case and expressed in the format of A9A 9A9, where A = alpha and 9 = numeric. It should have one space between the first three and last three positions.
N404Country Code

Code identifying the country

CAN = Canada
MEX = Mexico
USA = US
O
End of LOOP ID – 0310 (Detail)
End of LOOP ID – 0300 (Detail)
LOOP ID – 0400 (Detail)
LX Transaction Set Line NumberLX01Assigned Number

Number assigned for differentiation within a transaction set
MLX*1~

(Maximum Use = 1)
L5 Description, Marks and NumbersL501Lading Line Number

Sequential line number for a lading item
N0OL51FREIGHT DESCRIPTION~

(Maximum Use = 1)
The L5 is not turned around from the L5 on the 204 document.
This will be the same number that appears in the LX01.
L502Lading Description

Description of an item as required for rating and billing purposes.

May be used to send quantity information as part of the product description.
ANO
L0 Line Item – Quantity and WeightL001Lading Line Item Number

Sequential line number for a lading item

L0*1***15777*N***1000*PCS**L~  (JBH) 

L0*1***36986*N***1*CNT~  (CN)

(Maximum Use = 10)
The LO segment is mandatory in the first LX Loop.
This will be the same number that appears in the LX01.
L004Weight

Numeric value of weight

If either L0-04 or L0-05 is present, then the other is required
L005Weight Qualifier

Code defining the type of weight

Code Name

A  Shipper’s Weight

N
  Net Actual Weight
L006Volume

Value of volumetric measure.

If either L0-06 or L0-07 is present, then the other is required
L007Volume Unit Qualifier

Code identifying the volume unit

Code Name

E   Cubic Feet
L008Lading Quantity

Number of units (pieces) of the lading commodity.
If you use the L008 you must also use the L009.

L008 is the number of handling units of the line item tendered to the carrier.
L009Packaging Form Code

Code for packaging form of the lading quantity.

Code Name

PCS
  Pieces

CNT  Container
L011Weight Unit Code

Code specifying the weight unit.

If L0-11 is present, then L0-04 is required.

Code Name

L  Pounds
L1 Rate and ChargesL101Lading Line Item Number

Sequential line number for a lading item
ML1*1*1986*FR*198600~  (JBH)

L1*2*247.15*FR*24715****405****FUEL SURCHARGE~  (JBH)
L1*1*1705*PU*170500  (CN)
L1*1*0.1980*PM*24433****ENS*********1234*MR  (CN)  

L1*1*.07*CT*13427****GST  (CN)

L7*1*638931*CN*1050000  (CN)

(Maximum Use = 50)
L102Freight Rate

Rate that applies to the specific commodity

If either L1-02 or L1-03 is present, then the other is required
M
L103Rate / Value Qualifier

Code qualifying how to extend charges or interpret value

Note that LFL’s Freight Pay System will ONLY accept the following Freight Rate Qualifier codes. Any others transmitted that are not on this list may result in suspended invoices thus delaying payment. The correct combination of the L1_03 Rate/Value Qualifier and the L1_08 Special Charge or Allowance Code is
essential to LFL’s Freight Pay process. For the correct combination, please refer to the Charge Codes tab in this workbook.

Code Name

CT 
Percent of Charges

FC
  Flat Charge

FR
  Flat Rate

PD
  Per Day

PH
  Per Hundredweight

PM
  Per Mile

PR
 Per Hour

PW
  Percentage of Charges
M
L104Amount Charge

For a line item: freight or special charge; for the total invoice: the total charges — expressed in the standard monetary denomination for the currency specified.

At least one of L1-04, L1-05 or L1-06 is required
M
L108Special Charge or Allowance Code

Code identifying type of special charge or allowance
MPlease refer to the L1-08 Values tab in this workbook.
Any others transmitted that are not on this list may result in suspended invoices thus delaying payment. The correct combination of the L1_03 Rate/Value Qualifier and the L1_08 Special Charge or Allowance Code is essential to LFL’s Freight Pay process.
L112Special Charge Description

Identification of special charge; this data element is used whenever an applicable code cannot be found in data element 150
L117Billed/Rated-as Quantity

Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
If either L1-17 or L1-18 is present, then the other is required
O
L118Billed/Rated-as Qualifier

Code identifying the type of quantity or value on which the rate or item pricing is based
.

MR  Mileage
O
L7 Tariff ReferenceL701Freight Class Code

The Freight Class Code is mandatory for LTL Carriers.

Freight Class Code Types:

70 = Freight of All Kinds (FAK)
125 = Exception Freight of All Kinds (FAK)
L7*1*CN*123456**1050000~  (CN)

(Maximum Use = 10)
L3 Total Weight and ChargesL301Weight

Numeric value of weight

If either L3-01 or L3-02 is present, then the other is required
L3*15777*G***223315****0*E~  (JBH)

L3*187000*N***275433****0*E  (CN)

(Maximum Use = 1)
L302Weight Qualifier

Code defining the type of weight.

Code name

G  Gross Weight
N  Actual Net Weight
L305Amount Charged

Total charges.

Expressed in the standard monetary denomination for the currency specified.
All L305 values should add up to value in B3-07 & a total of all Load Charges (Extended Amount) in L1-04.
L309Volume

Value of volumetric measure.
L310Volume Unit Qualifier

Code identifying the volume unit

Code Name

E  Cubic Feet
SE Transaction Set TrailerSE01Number of Included Segments

Total number of segments included in a transaction set including ST and SE segments
SE4761001~
SE02Transaction Set Control Number

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set.