TForce Freight
/
Motor Carrier Bill of Lading
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from TForce Freight. Contact TForce Freight for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
TForce Freight logo

X12 211 Motor Carrier Bill of Lading

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Motor Carrier Bill of Lading Transaction Set (211) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to allow shippers or other parties, responsible for contracting with a motor carrier, to provide a legal bill of lading for a shipment. It is not to be used to provide a motor carrier with data relative to a load tender, pick-up manifest, or appointment scheduling.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • sample 1
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/t-force-freight/motor-carrier-bill-of-lading/01GXBKEKZ575CYSV39J20E7M2Y
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
BOL
020
Beginning Segment for the Motor Carrier Bill of Lading
Max use 1
Required
B2A
030
Set Purpose
Max use 1
Required
MS2
050
Equipment or Container Owner and Type
Max use 1
Optional
L11
060
Bill of Lading Number
Max use 100
Optional
L11
060
Carrier Pro Number
Max use 100
Optional
G62
070
Requested Delivery Date
Max use 6
Optional
G62
070
Requested Ship Date
Max use 6
Optional
AT5
080
Bill of Lading Handling Requirements
Max use 50
Optional
Bill To
detail
0200 Loop
SE
220
Transaction Set Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

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

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

BL
Motor Carrier Bill of Lading (211)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

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

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
211
Motor Carrier Bill of Lading
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

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

BOL
020
Heading > BOL

Beginning Segment for the Motor Carrier Bill of Lading

RequiredMax use 1

To transmit identifying numbers, dates, and other basic data related to the transaction set

Example
BOL-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)

Standard Carrier Alpha Code

  • BOL01 is the Standard Carrier Alpha Code (SCAC) of the carrier that is to provide transportation services.
UPGF
UPGF
BOL-02
146
Shipment Method of Payment
Required
Identifier (ID)

Code identifying payment terms for transportation charges

  • BOL02 is the method of payment for the freight charges.
CC
Collect
PP
Prepaid (by Seller)
BOL-03
145
Shipment Identification Number
Required
String (AN)
Min 1Max 30

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 characters)

  • BOL03 is the identification number assigned by the shipper, usually the Bill of Lading number.
Usage notes

Bill of Lading No.

BOL-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • BOL04 is the date the carrier picked up the freight.
BOL-06
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

  • BOL06 is the number assigned by the carrier to the shipment, usually the PRO number.
BOL-08
226
Section Seven Code
Optional
Identifier (ID)

Code indicating applicability of section seven option (if not transmitted assume not in effect)

N
Not in Effect
S
In Effect
BOL-10
146
Shipment Method of Payment
Optional
Identifier (ID)
Min 2Max 2

Code identifying payment terms for transportation charges

  • BOL10 is the method of payment for the COD fee.
B2A
030
Heading > B2A

Set Purpose

RequiredMax use 1

To allow for positive identification of transaction set purpose

Example
B2A-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

00
Original
MS2
050
Heading > MS2

Equipment or Container Owner and Type

OptionalMax use 1

To specify the owner, the identification number assigned by that owner, and the type of equipment

  • The MS2 segment is used to provide the carrier with the trailer number of the trailer that has the shipment on it.
Example
L11
060
Heading > L11

Bill of Lading Number

OptionalMax use 100

To specify instructions in this business relationship or a reference number

Example
Variants (all may be used)
L11Carrier Pro Number
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

BM
Bill of Lading Number
L11
060
Heading > L11

Carrier Pro Number

OptionalMax use 100

To specify instructions in this business relationship or a reference number

Example
Variants (all may be used)
L11Bill of Lading Number
L11-01
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

L11-02
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

CN
Carrier's Reference Number (PRO/Invoice)
G62
070
Heading > G62

Requested Delivery Date

OptionalMax use 6

To specify pertinent dates and times

Example
Variants (all may be used)
G62Requested Ship Date
G62-01
432
Date Qualifier
Required
Identifier (ID)

Code specifying type of date

68
Requested Delivery Date
G62-02
373
Date
Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

G62
070
Heading > G62

Requested Ship Date

OptionalMax use 6

To specify pertinent dates and times

Usage notes

Requested Ship Date required if EDI 211 used for Pickup Request.

Example
Variants (all may be used)
G62Requested Delivery Date
G62-01
432
Date Qualifier
Required
Identifier (ID)

Code specifying type of date

10
Requested Ship Date/Pick-up Date
G62-02
373
Date
Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

AT5
080
Heading > AT5

Bill of Lading Handling Requirements

OptionalMax use 50

To identify Bill of Lading handling and service requirements

Example
AT5-01
152
Special Handling Code
Optional
Identifier (ID)

Code specifying special transportation handling instructions

NC
Notify Consignee Before Delivery
AT5-02
560
Special Services Code
Optional
Identifier (ID)

Code identifying the special service

C1
Shipper Load and Count
CU
Consignee Unload
ID
Inside Delivery
L1
Shipper Load, Carrier Count
S1
Shipper Load, Consignee Unload
0100 Bill To
OptionalMax >1
Variants (all may be used)
ConsigneeShipper
N1
100
Heading > Bill To > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

  • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
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)

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

BT
Bill-to-Party
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
N2
110
Heading > Bill To > N2

Additional Name Information

OptionalMax use 1

To specify additional names or those longer than 35 characters in length

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N3
120
Heading > Bill To > N3

Address Information

RequiredMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N4
130
Heading > Bill To > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

G61
140
Heading > Bill To > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
Min 2Max 2

Code identifying the major duty or responsibility of the person or group named

G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

0100 Bill To end
0100 Consignee
OptionalMax >1
Variants (all may be used)
Bill ToShipper
N1
100
Heading > Consignee > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

  • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
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)

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

CN
Consignee
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
N2
110
Heading > Consignee > N2

Additional Name Information

OptionalMax use 1

To specify additional names or those longer than 35 characters in length

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N3
120
Heading > Consignee > N3

Address Information

RequiredMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N4
130
Heading > Consignee > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

G61
140
Heading > Consignee > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
Min 2Max 2

Code identifying the major duty or responsibility of the person or group named

G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

0100 Consignee end
0100 Shipper
OptionalMax >1
Variants (all may be used)
Bill ToConsignee
N1
100
Heading > Shipper > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

  • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
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)

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

SH
Shipper
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
N2
110
Heading > Shipper > N2

Additional Name Information

OptionalMax use 1

To specify additional names or those longer than 35 characters in length

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N3
120
Heading > Shipper > N3

Address Information

RequiredMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N4
130
Heading > Shipper > N4

Geographic Location

RequiredMax use 1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

G61
140
Heading > Shipper > G61

Contact

OptionalMax use 3

To identify a person or office to whom communications should be directed

Example
G61-01
366
Contact Function Code
Required
Identifier (ID)
Min 2Max 2

Code identifying the major duty or responsibility of the person or group named

G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

0100 Shipper end
Heading end

Detail

0200 Loop
RequiredMax >1
AT1
010
Detail > 0200 Loop > AT1

Bill of Lading Line Item Number

RequiredMax use 1

To reference a Bill of Lading line number

  • The AT1 segment provides the line number for all of the related items included.
    It may include reference numbers, rates and charges, descriptions, and or line item details. Any data included within a single loop is related to the other data included in that loop. Any reference numbers included in a loop with line item details are related to that line item only. Any reference numbers included in its own line item are related to the entire shipment and can not be broken out by line item detail.
Example
AT1-01
213
Lading Line Item Number
Required
Numeric (N0)
Min 1Max 3

Sequential line number for a lading item

AT4
040
Detail > 0200 Loop > AT4

Bill of Lading Description

OptionalMax use 99

To specify the lading description

  • Segment AT4 provides a means for the shipper to provide a text description of the line item. The National Motor Freight Classification and the freight class shall be included in the AT2 segment if applicable.
Example
AT4-01
79
Lading Description
Required
String (AN)
Min 1Max 50

Description of an item as required for rating and billing purposes

0210 Loop
OptionalMax >1
AT2
050
Detail > 0200 Loop > 0210 Loop > AT2

Bill of Lading Line Item Detail

RequiredMax use 1

To specify Bill of Lading quantity, weight, and commodity classification

  • The AT2 segment is used to provide the carrier with the appropriate data to rate the shipment. It is included per line item when the line item includes an item of freight.
Example
If either Lading Quantity (AT2-06) or Packaging Form Code (AT2-07) is present, then the other is required
AT2-01
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT201 is the number of carrier handling units for the line item.
AT2-02
211
Packaging Form Code
Required
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

  • AT202 is the packaging form of the lading quantity in AT201.
AT2-03
187
Weight Qualifier
Required
Identifier (ID)

Code defining the type of weight

  • AT203 and AT204 qualify AT205.
G
Gross Weight
AT2-04
188
Weight Unit Code
Required
Identifier (ID)

Code specifying the weight unit

L
Pounds
AT2-05
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • AT205 is the weight of the lading quantity identified in AT201.
AT2-06
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT206 is used only if AT202 contains the codes PLT, SKD, or SLP.
  • AT206 is the total number of pieces contained on the pallets, skids or slip sheets identified in AT201.
AT2-07
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

  • AT207 is the packaging form of the units on the pallet, skid, or slip sheet identified in AT202.
AT2-09
22
Commodity Code
Optional
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

  • AT209 is the National Motor Freight Classification Number.
AT2-10
59
Freight Class Code
Optional
String (AN)
Min 2Max 5

Code indicating generalized classification that applies to one or more items in the shipment, i.e., class 70, 77.5, etc.

SPO
070
Detail > 0200 Loop > 0210 Loop > SPO

Shipment Purchase Order Detail

OptionalMax use 999999

To specify the purchase order details for a shipment

  • The SPO segment provides the purchase order numbers and details associated with the line item details included in the AT2 segment.
Example
If either Unit or Basis for Measurement Code (SPO-03) or Quantity (SPO-04) is present, then the other is required
If either Weight Unit Code (SPO-05) or Weight (SPO-06) is present, then the other is required
SPO-01
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

SPO-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

  • SPO02 is the department number.
SPO-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

SPO-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • SPO04 is the total quantity for the purchase order.
SPO-05
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1

Code specifying the weight unit

SPO-06
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • SPO06 is the total weight for the purchase order.
0210 Loop end
0230 Loop
OptionalMax >1
G61
110
Detail > 0200 Loop > 0230 Loop > G61

Contact

RequiredMax use 1

To identify a person or office to whom communications should be directed

  • The G61 segment shall only be used to provide the name and phone number of the contact for any hazardous materials included on this Bill of Lading.
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)

Code identifying the major duty or responsibility of the person or group named

HM
Hazardous Material Contact
G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

G61-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

  • G6103 qualifies G6104.
TE
Telephone
G61-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

0231 Loop
RequiredMax >1
LH1
140
Detail > 0200 Loop > 0230 Loop > 0231 Loop > LH1

Hazardous Identification Information

RequiredMax use 1

To specify the hazardous commodity identification reference number and quantity

Example
LH1-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • LH101 and LH102 are used to convey the number and type of packages for bulk and nonbulk movements.
GA
Gallon
LB
Pound
LH1-02
80
Lading Quantity
Required
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

LH1-03
277
UN/NA Identification Code
Optional
Identifier (ID)
Min 6Max 6

Code identifying the hazardous material identification number as required by Title 49 of the code of Federal Regulations; UN/NA stands for United Nations/North America

LH1-05
22
Commodity Code
Optional
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

LH1-10
254
Packing Group Code
Optional
Identifier (ID)

Code indicating degree of danger in terms of Roman number I, II or III

I
I
II
II
III
III
0231 Loop end
0230 Loop end
0200 Loop end
SE
220
Detail > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

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

Detail end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

sample 1

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0208*U*00401*000000001*0*T*>
GS*BL*SENDERGS*RECEIVERGS*20231101*020811*000000001*X*004010
ST*211*320001
BOL*UPGF*CC*939587*20000817**219029053**S**CC
B2A*00
L11*939587*BM
G62*10*20000817
AT5*NC
N1*SH*ABC, INC.*ZZ*0899
N2*DIVISION OF XYZ CORP
N3*320 N FOURTH ST
N4*TIPP CITY*OH*45371*US
N1*CN*HAPPY TOYS DIST*ZZ*0010
N3*1103 W. GEORGE RD.
N4*TIFTON*GA*31794*US
N1*BT*HAPPY TOYS INC
N3*P.O. BOX 1434
N4*ST. PAUL*MN*55450*US
AT1*1
AT4*BAGS NOI ACT SUB 3 ITM 171 DEC DEN 4
AT2*130*CTN*G*L*515****18764504*150
SPO*0030-9242460-0556**CT*130*L*515
SPO*0030-9242461-0560**CT*73*L*313
AT1*2
AT4*LIT FIX,NOI,SUB 3 ITM 171 DEC DEN 12
AT2*20*CTN*G*L*92****10981004*70
AT1*3
AT4*GIFTSET ACT SUB 3 ITM 171 DEC DEN 4
AT2*9*CTN*G*L*68****18764504*150
SPO*0030-9242460-0556*030*CT*53*L*221
AT1*4
AT4*WALL DECOR,NOI, ITM 171 ACT SUB 7 DEC DEN 12
AT2*4*CTN*G*L*32****05629007*92.5
AT1*5
AT4*LAMP NOI SB 2 ITM 171 DEC DEN 4
AT2*40*CTN*G*L*121****10940003*125
SE*35*320001
GE*1*000000001
IEA*1*000000001

sample 2

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231101*0208*U*00401*000000001*0*T*>
GS*BL*SENDERGS*RECEIVERGS*20231101*020824*000000001*X*004010
ST*211*320001
BOL*UPGF*CC*939587*20000817**219029053**S**CC
B2A*00
L11*939587*BM
G62*10*20000817
AT5*NC
N1*SH*ABC, INC.*ZZ*0899
N2*DIVISION OF XYZ CORP
N3*320 N FOURTH ST
N4*TIPP CITY*OH*45371*US
N1*CN*HAPPY TOYS DIST*ZZ*0010
N3*1103 W. GEORGE RD.
N4*TIFTON*GA*31794*US
N1*BT*HAPPY TOYS INC
N3*P.O. BOX 1434
N4*ST. PAUL*MN*55450*US
AT1*1
AT4*BAGS NOI ACT SUB 3 ITM 171 DEC DEN 4
AT2*2*PLT*G*L*535*130*CTN**18764504*150
SPO*0030-9242460-0556**CT*130*L*535
SPO*0030-9242461-0560**CT*73*L*313
AT1*2
AT4*LIT FIX,NOI,SUB 3 ITM 171 DEC DEN 12
AT2*20*CTN*G*L*92****10981004*70
AT1*3
AT4*GIFTSET ACT SUB 3 ITM 171 DEC DEN 4
AT2*9*CTN*G*L*68****18764504*150
AT1*4
AT4*WALL DECOR,NOI, ITM 171 ACT SUB 7 DEC DEN 12
AT2*4*CTN*G*L*32****05629007*92.5
AT1*5
AT4*LAMP NOI SB 2 ITM 171 DEC DEN 4
AT2*40*CTN*G*L*121****10940003*125
SE*34*320001
GE*1*000000001
IEA*1*000000001

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.