YRC Freight
/
Freight Delivery Trailer Manifest
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from YRC Freight. Contact YRC Freight for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
YRC Freight logo

X12 212 Freight Delivery Trailer Manifest

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Motor Carrier Delivery Trailer Manifest Transaction Set (212) for use within the context of an Electronic Data Interchange (EDI) environment.
This transaction set can be used to allow motor carriers to provide consignees or other interested parties with the contents of a trailer, containing multiple shipments, that has been tendered for delivery. It is not to be used to provide the recipient with data relative to a full truckload shipment.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Business Example
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/yrc-freight/freight-delivery-trailer-manifest/01GV12B3FY76GTJCZHWY7NJJQT
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
ATA
020
Beginning Segment for Motor Carrier Delivery Trailer Manifest
Max use 1
Required
B2A
030
Set Purpose
Max use 1
Required
L11
040
Business Instructions and Reference Number
Max use 300
Optional
0100 Loop
0150 Loop
AT7
120
Shipment Status Details
Max use 1
Required
G62
130
Date/Time
Max use 5
Optional
MS1
140
Equipment, Shipment, or Real Property Location
Max use 1
Optional
0160 Loop
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

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

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
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required

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

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

Code identifying a group of application related transaction sets

TM
Motor Carrier Delivery Trailer Manifest (212)
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
CCYYMMDD format

Date expressed as CCYYMMDD

GS-05
337
Time
Required
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

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

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).
212
Motor Carrier Delivery Trailer Manifest
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

ATA
020
Heading > ATA

Beginning Segment for Motor Carrier Delivery Trailer Manifest

RequiredMax use 1

To transmit identifying numbers and other basic data relating to the Motor Carrier Delivery Trailer Manifest Transaction Set

Example
ATA-01
140
Standard Carrier Alpha Code
Required

Standard Carrier Alpha Code

  • ATA01 is the Standard Carrier Alpha Code (SCAC) of the carrier that is delivering the trailer.
RDWY
YRC Freight Inc.
ATA-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

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

  • ATA02 is the delivery trailer manifest number assigned by the carrier.
ATA-03
373
Date
Required
CCYYMMDD format

Date expressed as CCYYMMDD

  • ATA03 is the date that the delivery trailer manifest was created.
Usage notes

Current date (YYYYMMDD).

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

Code identifying purpose of transaction set

00
Original
05
Replace

This code indicates that this trailer manifest should entirely replace the previously transmitted trailer manifest.

SU
Status Update

This code is used to indicate an update of a previously transmitted trailer manifest. This code shall be used only to convey a status change.

B2A-02
346
Application Type
Optional

Code identifying an application

TM
Trailer Manifest
L11
040
Heading > L11

Business Instructions and Reference Number

OptionalMax use 300

To specify instructions in this business relationship or a reference number

Usage notes

This segment is used to supply reference numbers that pertain to all the shipments on the trailer.

Example
If either Reference Identification (L11-01) or Reference Identification Qualifier (L11-02) is present, then the other is required
At least one of Reference Identification (L11-01) or Description (L11-03) is required
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
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

Usage notes

ST - Store Number
DP - Department Number (if not supplied in the SPO)

Many codes are available; please refer to the ANSI X12 guide for a complete list.

L11-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

0100 Loop
RequiredMax >1
N1
050
Heading > 0100 Loop > N1

Name

RequiredMax use 1

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

  • Loop 0100 provides the location where the carrier will deliver the trailer.
Usage notes

Loop 0100 provides the location where the carrier will deliver the trailer.

This segment is required and is used to transmit shipper, consignee and other thirdparty-related information.

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 the transaction-processing party maintains.

N105 and N106 further define the type of entity in N101.

The N103 and N104 can be sent if it is available in the data base.

When code “CA” is used in N101, then N102 shall not be used. N103 shall contain “2”, N104 shall contain the SCAC and the N2, N3 and N4 segments shall not be used.

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

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

CA
Carrier

The “CA” code shall be used only when a carrier contact is being conveyed in the G61 segment.

ST
Ship To
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

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.
Usage notes

Store number or Distribution Center number if set up in YRC Freight’s data base.

N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

N2
060
Heading > 0100 Loop > 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

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N3
070
Heading > 0100 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

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

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
080
Heading > 0100 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
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

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

G61
090
Heading > 0100 Loop > G61

Contact

OptionalMax use 1

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

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

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

CA
Customer Contact Granting Appointment
G61-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

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

Code identifying the type of communication number

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

Complete communications number including country or area code when applicable

G61-05
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

0100 Loop end
0150 Loop
RequiredMax >1
AT7
120
Heading > 0150 Loop > AT7

Shipment Status Details

RequiredMax use 1

To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

  • The AT7 segment provides the status of all of the shipments on the trailer.
Example
If either Shipment Status Code (AT7-01) or Shipment Status or Appointment Reason Code (AT7-02) is present, then the other is required
Only one of Shipment Status Code (AT7-01) or Shipment Appointment Status Code (AT7-03) may be present
If either Shipment Appointment Status Code (AT7-03) or Shipment Status or Appointment Reason Code (AT7-04) is present, then the other is required
If Time (AT7-06) is present, then Date (AT7-05) is required
If Time Code (AT7-07) is present, then Time (AT7-06) is required
AT7-01
1650
Shipment Status Code
Optional

Code indicating the status of a shipment

  • If AT701 is present, AT705 is the date the status occurred. If AT703 is present, AT705 is a date related to an appointment.
  • If AT701 is present, AT706 is the time of the status. If AT703 is present, AT706 is the time of the appointment.
AV
Available for Delivery
AT7-02
1651
Shipment Status or Appointment Reason Code
Optional

Code indicating the reason a shipment status or appointment reason was transmitted

NS
Normal Status
AT7-03
1652
Shipment Appointment Status Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating the status of an appointment to pick-up or deliver a shipment

AT7-04
1651
Shipment Status or Appointment Reason Code
Optional
Identifier (ID)
Min 2Max 2

Code indicating the reason a shipment status or appointment reason was transmitted

AT7-05
373
Date
Optional
CCYYMMDD format

Date expressed as CCYYMMDD

AT7-06
337
Time
Optional
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)

AT7-07
623
Time Code
Optional

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

  • If AT707 is not present then AT706 represents local time of the status.
CT
Central Time
ET
Eastern Time
MT
Mountain Time
PT
Pacific Time
G62
130
Heading > 0150 Loop > G62

Date/Time

OptionalMax use 5

To specify pertinent dates and times

Usage notes

This G62 Date and Time relates to the trailer.

Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional

Code specifying type of date

17
Estimated Delivery Date
70
Scheduled Delivery Date
CL
Date Loading Completed
G62-02
373
Date
Optional
CCYYMMDD format

Date expressed as CCYYMMDD

G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the reported time

G62-04
337
Time
Optional
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)

G62-05
623
Time Code
Optional

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

CT
Central Time
ET
Eastern Time
MT
Mountain Time
PT
Pacific Time
MS1
140
Heading > 0150 Loop > MS1

Equipment, Shipment, or Real Property Location

OptionalMax use 1

To specify the location of a piece of equipment, a shipment, or real property in terms of city and state or longitude and latitude

Example
If State or Province Code (MS1-02) is present, then City Name (MS1-01) is required
If City Name (MS1-01) is present, then at least one of State or Province Code (MS1-02) or Country Code (MS1-03) is required
If Country Code (MS1-03) is present, then City Name (MS1-01) is required
Only one of City Name (MS1-01) or Longitude Code (MS1-04) may be present
If either Longitude Code (MS1-04) or Latitude Code (MS1-05) is present, then the other is required
If Direction Identifier Code (MS1-06) is present, then Longitude Code (MS1-04) is required
If Direction Identifier Code (MS1-07) is present, then Latitude Code (MS1-05) is required
MS1-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

MS1-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

MS1-03
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

MS1-04
1654
Longitude Code
Optional
Identifier (ID)
Min 7Max 7

Code indicating the longitude in degrees (3 positions), minutes (2 positions), and seconds (2 positions)

  • MS104 is the longitude expressed in Degrees, Minutes, and Seconds.
MS1-05
1655
Latitude Code
Optional
Identifier (ID)
Min 7Max 7

Code indicating the latitude in degrees (3 positions), minutes (2 positions), seconds (2 positions)

  • MS105 is the latitude expressed in Degrees, Minutes, and Seconds.
MS1-06
1280
Direction Identifier Code
Optional

Code identifying geographic direction

  • MS106 may only be 'E' or 'W'.
E
East
W
West
MS1-07
1280
Direction Identifier Code
Optional

Code identifying geographic direction

  • MS107 may only be 'N' or 'S'.
N
North
S
South
0160 Loop
OptionalMax >1
MS2
150
Heading > 0150 Loop > 0160 Loop > MS2

Equipment or Container Owner and Type

RequiredMax use 1

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

Usage notes

This segment is used only when trailer information will be provided, otherwise this segment is not necessary.

Example
If either Standard Carrier Alpha Code (MS2-01) or Equipment Number (MS2-02) is present, then the other is required
If Equipment Number Check Digit (MS2-04) is present, then Equipment Number (MS2-02) is required
MS2-01
140
Standard Carrier Alpha Code
Optional

Standard Carrier Alpha Code

RDWY
YRC Freight
MS2-02
207
Equipment Number
Optional
String (AN)
Min 1Max 10

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

Usage notes

YRC Freight’s trailer number

MS2-03
40
Equipment Description Code
Optional

Code identifying type of equipment used for shipment

  • MS203 identifies the type for the equipment specified in MS202.
TL
Trailer (not otherwise specified)
MS2-04
761
Equipment Number Check Digit
Optional
Numeric (N0)
Min 1Max 1

Number which designates the check digit applied to a piece of equipment

M7
160
Heading > 0150 Loop > 0160 Loop > M7

Seal Numbers

OptionalMax use 1

To record seal numbers used and the organization that applied the seals

Example
M7-01
225
Seal Number
Required
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-02
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-03
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-04
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-05
98
Entity Identifier Code
Optional

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

  • M705 indicates the name of the organization which applied the seal(s).
CA
Carrier
AT9
170
Heading > 0150 Loop > 0160 Loop > AT9

Trailer or Container Dimension and Weight

OptionalMax use 1

To specify trailer or container dimensions

Example
If either Weight Qualifier (AT9-04), Weight Unit Code (AT9-05) or Weight (AT9-06) are present, then the others are required
AT9-01
567
Equipment Length
Optional
Numeric (N0)
Min 4Max 5

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)

AT9-02
65
Height
Optional
Decimal number (R)
Min 1Max 8

Vertical dimension of an object measured when the object is in the upright position

  • AT902 is the height of the trailer or container in inches.
AT9-03
189
Width
Optional
Decimal number (R)
Min 1Max 8

Shorter measurement of the two horizontal dimensions measured with the object in the upright position

  • AT903 is the width of the trailer or container in inches.
AT9-04
187
Weight Qualifier
Optional

Code defining the type of weight

G
Gross Weight
AT9-05
188
Weight Unit Code
Optional

Code specifying the weight unit

L
Pounds
AT9-06
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • AT906 is the weight of the trailer or container. It is the tare weight of the trailer or container.
0160 Loop end
0150 Loop end
Heading end

Detail

0200 Loop
OptionalMax >1
LX
010
Detail > 0200 Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

  • Loop 0200 provides the specific details concerning all of the shipments included in the manifest. There will be one iteration of loop 0200 for each shipment contained in the manifest. The most common way to identify the shipments is by the PRO number assigned by the carrier.
Usage notes

LX01 is a sequential number beginning with one and incremented by one for every occurrence of the LX segment.

If loop 0200 is being used, then YRC Freight requires LX01.

LX01 is the loading sequence of the shipments on the trailer beginning with 1 (1 is the first shipment loaded on the trailer).

Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6

Number assigned for differentiation within a transaction set

L11
020
Detail > 0200 Loop > L11

Business Instructions and Reference Number

OptionalMax use 10

To specify instructions in this business relationship or a reference number

Example
If either Reference Identification (L11-01) or Reference Identification Qualifier (L11-02) is present, then the other is required
At least one of Reference Identification (L11-01) or Description (L11-03) is required
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
Optional

Code qualifying the Reference Identification

BM
Bill of Lading Number
CN
Carrier's Reference Number (PRO/Invoice)
SI
Shipper's Identifying Number for Shipment (SID)
SO
Shipper's Order (Invoice Number)
L11-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

BLR
030
Detail > 0200 Loop > BLR

Transportation Carrier Identification

OptionalMax use 1

To transmit the identifying SCAC code and effective date for the data in the transaction set

  • The BLR segment shall only be used when the carrier delivering the freight is not the carrier that picked up the freight. The pick-up carrier shall be identified by its Standard Carrier Alpha Code (SCAC).
Example
BLR-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

BLR-02
373
Date
Optional
CCYYMMDD format

Date expressed as CCYYMMDD

  • BLR02 is the effective date of the data in this transaction set.
AT8
050
Detail > 0200 Loop > AT8

Shipment Weight, Packaging and Quantity Data

OptionalMax use 1

To specify shipment details in terms of weight, and quantity of handling units

Example
If either Weight Qualifier (AT8-01), Weight Unit Code (AT8-02) or Weight (AT8-03) are present, then the others are required
If either Volume Unit Qualifier (AT8-06) or Volume (AT8-07) is present, then the other is required
AT8-01
187
Weight Qualifier
Optional

Code defining the type of weight

B
Billed Weight
G
Gross Weight
N
Actual Net Weight
AT8-02
188
Weight Unit Code
Optional

Code specifying the weight unit

L
Pounds
AT8-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

AT8-04
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT804 is the quantity of handling units that are not unitized (for example a carton). When added to the quantity in AT805, it is the total quantity of handling units in the shipment.
AT8-05
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • AT805 is the quantity of handling units that are unitized (for example on a pallet or slip sheet). When added to the quantity in AT804 it is the total quantity of handling units for the shipment.
AT8-06
184
Volume Unit Qualifier
Optional

Code identifying the volume unit

E
Cubic Feet
AT8-07
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

G62
060
Detail > 0200 Loop > G62

Date/Time

OptionalMax use 5

To specify pertinent dates and times

Example
If either Date Qualifier (G62-01) or Date (G62-02) is present, then the other is required
At least one of Date Qualifier (G62-01) or Time Qualifier (G62-03) is required
If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
G62-01
432
Date Qualifier
Optional

Code specifying type of date

86
Actual Pickup Date
G62-02
373
Date
Optional
CCYYMMDD format

Date expressed as CCYYMMDD

G62-03
176
Time Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code specifying the reported time

G62-04
337
Time
Optional
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)

G62-05
623
Time Code
Optional

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

CT
Central Time
ET
Eastern Time
MT
Mountain Time
PT
Pacific Time
TSD
070
Detail > 0200 Loop > TSD

Trailer Shipment Details

OptionalMax use 1

To specify details of shipments on a trailer

  • For use of the TSD segment in transaction set 212 the only codes that can be used in TSD02 are as follows: 1 - indicates that the shipment is in the first quarter of the trailer (closest to the nose of the trailer); 2 - indicates that the shipment is in the second quarter of the trailer; 3 - indicates that the shipment is in the third quarter of the trailer; 4 - indicates that the shipment is in the fourth quarter of the trailer (closest to the rear door of the trailer).
Example
TSD-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • TSD01 indicates the loading sequence and relative shipment position on the trailer.
TSD-02
219
Position
Optional

Relative position of shipment in car, trailer, or container (mutually defined)

1
indicates the shipment is in the first quarter of the trailer (closest to the nose of the trailer)
2
indicates that the shipment is in the second quarter of the trailer
3
indicates that the shipment is in the third quarter of the trailer
4
indicates that the shipment is in the fourth quarter of the trailer (closest to the rear door of the trailer)
0210 Loop
OptionalMax >1
SPO
080
Detail > 0200 Loop > 0210 Loop > SPO

Shipment Purchase Order Detail

RequiredMax use 1

To specify the purchase order details for a shipment

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

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

CT
Carton
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

Code specifying the weight unit

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

Numeric value of weight

  • SPO06 is the total weight for the purchase order.
SPO-07
647
Application Error Condition Code
Optional
Identifier (ID)
Min 1Max 3

Code indicating application error condition

  • SPO07 indicates the data error condition relative to the shipment management information.
SPO-08
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

  • SPO08 is used to specify sorting and/or segregating reference numbers for each receiving location (processing area).
SDQ
090
Detail > 0200 Loop > 0210 Loop > SDQ

Destination Quantity

OptionalMax use 9999

To specify destination and quantity detail

Usage notes

All occurrences of data element 67 in the SDQ segment are used to identify store numbers.

Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
SDQ-01
355
Unit or Basis for Measurement Code
Required
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

SDQ-02
66
Identification Code Qualifier
Optional

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

  • SDQ02 is used only if different than previously defined in the transaction set.
92
Assigned by Buyer or Buyer's Agent
SDQ-03
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

  • SDQ03 is the store number.
SDQ-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-05
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-06
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-07
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-08
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-09
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-11
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-12
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-13
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-14
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-15
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-16
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-17
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-18
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-19
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-20
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-21
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

SDQ-22
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SDQ-23
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

  • SDQ23 identifies the area within the location identified in SDQ03, SDQ05, SDQ07, SDQ09, SDQ11, SDQ13, SDQ15, SDQ17, SDQ19, and SDQ21.
  • SDQ23 may be used to identify areas within a store, e.g., front room, back room, selling outpost, end aisle display, etc. The value is agreed to by trading partners or industry conventions.
0210 Loop end
0220 Loop
OptionalMax >1
N1
100
Detail > 0200 Loop > 0220 Loop > N1

Name

RequiredMax use 1

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

  • Loop 0220 shall only be used to provide the identification of the shipper if the carrier has not provided that information in a previous shipment status message.
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

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

SF
Ship From
N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

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.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

N2
110
Detail > 0200 Loop > 0220 Loop > 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

N2-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

N3
120
Detail > 0200 Loop > 0220 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

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

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
130
Detail > 0200 Loop > 0220 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Required
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
Required
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
Required
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

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

0220 Loop end
0200 Loop end
SE
150
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

Business Example

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231103*0251*U*00401*000000001*0*T*>
GS*TM*SENDERGS*RECEIVERGS*20231103*025141*000000001*X*004010
ST*212*014990001
ATA*RDWY*981221234123302*20130526
B2A*00
N1*ST*RETAILER*94*0456
N3*333 GORDON BLVD
N4*TIFTON*OH*43194
AT7*AV*NS***20130526*0248*ET
G62*CL*20130526
G62*17*20130526*Z*1330*ET
MS2*RDWY*12345*TL
M7*1234A
AT9*2800***G*L*22000
LX*1
L11*2736255693*CN
L11*766707BA*BM
BLR*SCAC
AT8*B*L*2002**3
G62*86*20130521
TSD*1
SPO*1590770904*088*CT*55*L*635
SDQ*CT*92*2333*22
N1*SF*SHIPPER 1
N3*1398 GARY AVE
N4*HOUSTON*TX*77020
LX*2
L11*133625564X*CN
L11*1357*BM
AT8*B*L*200**3
G62*86*20130520
TSD*2
SPO*12312345**CT*5*L*135
N1*SF*VENDOR
N3*555 YOUING ST
N4*MANCEST*AZ*85020
LX*3
L11*8336222222*CN
L11*HA898*BM
AT8*B*L*400*33
G62*86*20130522
TSD*3
SPO*TT0909**CT*115*L*1588
N1*SF*ALLI DISTRIBUTION CENTER
N3*33 S CLEVELAND AVE
N4*MOGADOR*OH*44588
SE*0000000045*014990001
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.