American Association of Railroads (AAR)
/
Train Sheet
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from American Association of Railroads (AAR). Contact American Association of Railroads (AAR) for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
American Association of Railroads (AAR) logo

X12 161 Train Sheet

X12 Release 8010

This X12 Transaction Set contains the format and establishes the data contents of the Train Sheet Transaction Set (161) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to allow railroads to exchange train sheet information and ensure that crews operating equipment on other railroads are aware of current operating conditions.

Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • Sample 1 (CCT)
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/aar/train-sheet/01HK5EB5YRVJA4CY865KQY859X
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
0100
Transaction Set Header
Max use 1
Required
BTS
0200
Beginning Segment for Train Sheets
Max use 1
Required
V9
0230
Event Detail Anticipated Pickup
Max use 1
Required
V9
0230
Event Detail Anticipated Set-out
Max use 1
Required
V9
0230
Event Detail Crew Call
Max use 1
Required
V9
0230
Event Detail Estimated Departure Date
Max use 1
Required
V9
0230
Event Detail Mutually Defined
Max use 1
Required
V9
0230
Event Detail Scheduled Departure Date
Max use 100
Required
V9
0230
Event Detail Train Annulment
Max use 1
Required
V9
0230
Event Detail Train Move Departure
Max use 1
Required
V9
0230
Event Detail Train Reported Passing
Max use 1
Required
H3
0270
Special Handling Instructions
Max use 5
Optional
FAC
0300
Facing Direction
Max use 25
Optional
NM1 Loop
SE
0700
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 identifying 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 identifying 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

Code indicating 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

Code indicating 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
I65
Repetition Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

^
Repetition Separator
ISA-12
I11
Interchange Control Version Number Code
Required
Identifier (ID)

Code specifying the version number of the interchange control segments, the version of the data elements within the control segments, and the code values within those data elements.

00801
00801 Standards Approved for Publication by ASC X12 Procedures Review Board through December 2019
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 Code
Required
Identifier (ID)
Min 1Max 1

Code indicating sender's request for an interchange acknowledgment

0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
2
Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors"
3
Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors" or "Accepted but Errors are Noted"
ISA-15
I14
Interchange Usage Indicator Code
Required
Identifier (ID)
Min 1Max 1

Code indicating 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

TR
Train Sheet (161)
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 where CC represents the first two digits of the calendar year

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 identifying the issuer of the standard; this code is used in conjunction with Data Element 480

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

008010
008010 Standards Approved for Publication by ASC X12 Procedures Review Board through December 2019

Heading

ST
0100
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 identifying a Transaction Set

  • The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
161
Train Sheet
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

BTS
0200
Heading > BTS

Beginning Segment for Train Sheets

RequiredMax use 1

To transmit identifying symbols, loads, empties, weights, lengths, horsepower, and related data

Example
If either Total Equipment (BTS-02) or Equipment Status Code (BTS-03) is present, then the other is required
If either Total Equipment (BTS-04) or Equipment Status Code (BTS-05) is present, then the other is required
BTS-01
41
Interchange Train Identification
Required
String (AN)
Min 1Max 10

Train identification (free-form)

  • BTS01 is the tenant carrier's train identifier.
BTS-02
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

BTS-03
578
Equipment Status Code
Optional
Identifier (ID)

Code indicating status of equipment

L
Load
BTS-04
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

BTS-05
578
Equipment Status Code
Optional
Identifier (ID)

Code indicating status of equipment

E
Empty
BTS-06
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • BTS06 is measured in short tons.
BTS-07
82
Length
Optional
Decimal number (R)
Min 1Max 8

Largest horizontal dimension of an object measured when the object is in the upright position

  • BTS07 is measured in feet.
BTS-08
1272
Horsepower
Optional
Numeric (N0)
Min 1Max 15

Total horsepower for all engines in train

  • BTS08 is the total working horsepower for all engines in the train.
BTS-09
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Code identifying the Standard Carrier Alpha Code

  • BTS09 is the Standard Carrier Alpha Code (SCAC) of the owning road.
BTS-10
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

00
Original
BTS-11
284
Service Level Code
Required
Identifier (ID)
Min 2Max 2

Code indicating the level of transportation service or the billing service offered by the transportation carrier

BTS-12
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)

Code indicating a Yes or No condition or response

  • BTS12 indicates if this is a key train. A "Y" indicates this is a key train; an "N" indicates this is not a key train.
N
No
Y
Yes
BTS-13
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • BTS13 is the origin date of the train as defined by the host carrier.
BTS-14
41
Interchange Train Identification
Optional
String (AN)
Min 1Max 10

Train identification (free-form)

  • BTS14 is the host carrier's train identifier that correlates to the tenant carrier's schedule. In the event the tenant carrier's schedule is for an extra train, this must be the predefined generic schedule covering the trackage territory.
BTS-15
1470
Number
Optional
Numeric (N0)
Min 1Max 9

A generic number

  • BTS15 is the section number of the host carrier's train schedule for a specific origin day.
V9
0230
Heading > V9

Event Detail Anticipated Pickup

RequiredMax use 1

To specify information about a specific event

Usage notes

• Tenant sends to Host
• Send any time after the EDI 824 is accepted (TA) by the host carrier.
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
Variants (one may be used)
V9Event Detail Anticipated Set-outV9Event Detail Crew CallV9Event Detail Estimated Departure DateV9Event Detail Mutually DefinedV9Event Detail Scheduled Departure DateV9Event Detail Train AnnulmentV9Event Detail Train Move DepartureV9Event Detail Train Reported Passing
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

APU
Anticipated Pickup
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9-16
86
Total Equipment
Required
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V916 is the total number of rail cars associated with the event code in V901.
V9-17
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V917 is the total number of loaded cars associated with the event code in V901.
V9-18
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V918 is the total number of empty cars associated with the event code in V901.
V9-19
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • V919 is the total Gross Tons of the cars identified in V916. Includes the gross weight of the loads and the tare weight of the empties.
V9-20
82
Length
Required
Decimal number (R)
Min 1Max 8

Largest horizontal dimension of an object measured when the object is in the upright position

  • V920 is the total outside foot length of the cars identified in V916, rounded off to the nearest foot.
V9
0230
Heading > V9

Event Detail Anticipated Set-out

RequiredMax use 1

To specify information about a specific event

Usage notes

• Tenant sends to Host
• Send any time after the EDI 824 is accepted (TA) by the host carrier.
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

ASO
Anticipated Set-out
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9-16
86
Total Equipment
Required
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V916 is the total number of rail cars associated with the event code in V901.
V9-17
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V917 is the total number of loaded cars associated with the event code in V901.
V9-18
86
Total Equipment
Optional
Numeric (N0)
Min 1Max 3

Total pieces of equipment

  • V918 is the total number of empty cars associated with the event code in V901.
V9-19
81
Weight
Required
Decimal number (R)
Min 1Max 10

Numeric value of weight

  • V919 is the total Gross Tons of the cars identified in V916. Includes the gross weight of the loads and the tare weight of the empties.
V9-20
82
Length
Required
Decimal number (R)
Min 1Max 8

Largest horizontal dimension of an object measured when the object is in the upright position

  • V920 is the total outside foot length of the cars identified in V916, rounded off to the nearest foot.
V9
0230
Heading > V9

Event Detail Crew Call

RequiredMax use 1

To specify information about a specific event

Usage notes

• Tenant sends to Host
• Send any time after the EDI 824 is accepted (TA) by the host carrier.
• Must be sent before trains arriving at trackage origin station.
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

CCT
Crew Call
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9
0230
Heading > V9

Event Detail Estimated Departure Date

RequiredMax use 1

To specify information about a specific event

Usage notes

• Send any time after the EDI 824 is accepted (TA) by the host carrier. Only send when time deviates by
at least 10 minutes.
• Must be sent before trains arrival at trackage origin station.
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

EDD
Estimated Departure Date
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9
0230
Heading > V9

Event Detail Mutually Defined

RequiredMax use 1

To specify information about a specific event

Usage notes

• Mutually defined between tenant and host carrier
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

ZZZ
Mutually Defined
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9
0230
Heading > V9

Event Detail Scheduled Departure Date

RequiredMax use 100

To specify information about a specific event

Usage notes

• Tenant sends to Host
• Send up to 48 hours before the tenant train arrives at the trackage origin station.
• Equipment counts, as well as weights and train lengths, must be sent if available

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

SDD
Scheduled Departure Date
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9-15
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V915 is the Standard Point Location Code (SPLC) of the secondary point of the delay indicated in the V911.
V9
0230
Heading > V9

Event Detail Train Annulment

RequiredMax use 1

To specify information about a specific event

Usage notes

• Tenant sends to Host
• Send any time after the EDI 824 is accepted (TA) by the host carrier. Only send when time deviates by
at least 10 minutes.
• Must be sent before trains arriving at trackage origin station.

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
If Time Code (V9-13) is present, then Time (V9-04) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

ANL
Train Annulment
V9-03
373
Date
Optional
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
337
Time
Optional
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9-15
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V915 is the Standard Point Location Code (SPLC) of the secondary point of the delay indicated in the V911.
V9
0230
Heading > V9

Event Detail Train Move Departure

RequiredMax use 1

To specify information about a specific event

Usage notes

*at the trackage origin SPLC (If the tenant carrier owns the control point).

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

TMD
Train Move Departure
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
V9
0230
Heading > V9

Event Detail Train Reported Passing

RequiredMax use 1

To specify information about a specific event

Usage notes

*at the trackage origin SPLC (If the tenant carrier owns the control point).

Example
If State or Province Code (V9-06) is present, then City Name (V9-05) is required
V9-01
304
Event Code
Required
Identifier (ID)

Code identifying the event about which a report is made

TRP
Train Reported Passing
V9-03
373
Date
Required
Date (DT)
CCYYMMDD format

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

  • V903 is the event date.
V9-04
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)

  • V904 is the event time.
V9-05
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

V9-06
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

V9-07
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

V9-09
154
Standard Point Location Code
Required
Identifier (ID)
Min 6Max 9

Code specifying the Standard Point Location code defined by National Motor Freight Tariff Association (NMFTA) or the Canadian Transportation Agency (CTA) point development group as the official code assigned to a city or point (for ratemaking purposes) within a city

  • V909 is the Standard Point Location Code (SPLC) of the event shown in the V901.
V9-13
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

  • V913 reflects the time zone which the event time reflects.
H3
0270
Heading > H3

Special Handling Instructions

OptionalMax use 5

To specify special handling instructions in coded or free-form format

Usage notes

H3 Special Handling Instructions Segment

H3 segment is optional. Send to notify Host carrier of special handling or train restrictions. The H3 segment
should be sent with the EDI 161 V901 SDD and CCT event codes when special conditions exist.

Example
H3-01
152
Special Handling Code
Optional
Identifier (ID)
Min 2Max 3

Code specifying special transportation handling instructions

FAC
0300
Heading > FAC

Facing Direction

OptionalMax use 25

To identify the direction the equipment is facing

Usage notes

Send when Locomotive assigned. One occurrence per locomotive up to 25.

Example
FAC-01
206
Equipment Initial
Required
String (AN)
Min 1Max 4

Prefix or alphabetic part of an equipment unit's identifying number

FAC-02
207
Equipment Number
Required
String (AN)
Min 1Max 15

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

FAC-03
40
Equipment Description Code
Required
Identifier (ID)
Min 2Max 2

Code identifying type of equipment used for shipment

FAC-04
1273
Direction Facing Code
Required
Identifier (ID)

Code indicating the direction of the locomotive

B
Backward
F
Forward
U
Unknown
FAC-05
578
Equipment Status Code
Required
Identifier (ID)

Code indicating status of equipment

AK
Out of Service
D
Deadhead Locomotive or Caboose
O
Operating Locomotive or Caboose
FAC-06
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)

Code indicating a Yes or No condition or response

  • FAC06 indicates whether the car is manned or unmanned. A "Y" indicates the car is manned; an "N" indicates the car is unmanned.
N
No
Y
Yes
NM1 Loop
OptionalMax >1
Usage notes

Always send crew information once assigned.

Crew information is sent in the NM1 loop. The loop may occur up to 10 times. 1 occurrence of the loop must
occur for each crew member.

NM1
0500
Heading > NM1 Loop > NM1

Individual or Organizational Name

RequiredMax use 1

To supply the full name of an individual or organizational entity

Example
NM1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

86
Conductor
BM
Brakeman
C0
Assistant Conductor
E0
Assistant Engineer
EG
Engineer
Q1
Conductor Pilot
Q2
Engineer Pilot
NM1-02
1065
Entity Type Qualifier
Required
Identifier (ID)

Code identifying the type of entity

  • NM102 qualifies NM103.
1
Person
NM1-03
1035
Name Last or Organization Name
Required
String (AN)
Min 1Max 80

Individual last name or organizational name

NM1-04
1036
Name First
Required
String (AN)
Min 1Max 35

Individual first name

NM1-05
1037
Name Middle
Optional
String (AN)
Min 1Max 25

Individual middle name or initial

NM1-08
66
Identification Code Qualifier
Required
Identifier (ID)

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

2
Standard Carrier Alpha Code (SCAC)
NM1-09
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

DTM
0600
Heading > NM1 Loop > DTM

Date/Time Reference

RequiredMax use 3

To specify pertinent dates and times

Usage notes

DTM segment must occur twice following each NM1

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

036
Off Duty
150
On Duty
DTM-02
373
Date
Required
Date (DT)
CCYYMMDD format

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

DTM-03
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)

DTM-04
623
Time Code
Required
Identifier (ID)
Min 2Max 2

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

NM1 Loop end
SE
0700
Heading > 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

Heading 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 (CCT)

ISA*04*SWEDI 161 *00* *02*BNSF *02*TOIX *200718*0131*U*00602*004113896*0*P*~
GS*TR*BNSF*UP*20200718*0131*004113896*X*008010
ST*EDI 161*138960001
BTS*HGALMAD118******147*8700*BNSF*00*R5*N*20200718* QWJTRJ 18*1*20200718
V9*CCT**20200718*0430*****385930****CT
FAC*BNSF*7527*LO*B*O*Y
FAC*UP*8741*LO*F*O*N
NM1*86*1*ANDREWS*J*R***2*BNSF
DTM*150*20200718*0430*CT
DTM*036*20200718*1630*CT
NM1*EG*1*HANCE*B*J***2*BNSF
DTM*150*20200718*0430*CT
DTM*036*20200718*1630*CT
SE*12*138960001
GE*1*004113896
IEA*1*004113896

Sample 2 (TRP)

ISA*04*SWEDI 161 *00* *02*BNSF *02*TOIX *200718*0131*U*00602*004113896*0*P*~
GS*TR*BNSF*UP*20200718*0021*148757264*X*008010
ST*EDI 161*572640001
BTS* IG4SE 13********UP*00*R5*N*20200713*FIG4SE0113*1*20200713
V9*TRP**20200717*2221*****846179****PT
FAC*UP*8752*LO*F*O*Y
FAC*UP*8455*LO*B*O*Y
FAC*UP*5340*LO*B*O*Y
FAC*UP*5445*LO*B*O*Y
FAC*UPRQ*64363*ET*F*O*N
SE*9*572640001
GE*1*148757264
IEA*1*004113896

Sample 3 (ANL)

ISA*04*SWEDI 161 *00* *02*BNSF *02*TOIX *200718*0131*U*00602*004113896*0*P*~
GS*TR*BNSF*UP*20200718*0806*148763830*X*008010
ST*EDI 161*638300001
BTS*XOKCBRD917******146*8800*BNSF*00*03*N*20200717*4GPDLSJ 18*4*20200717
V9*ANL**20200718*0806*****585984****CT
FAC*BNSF*4090*LO*F*O*Y
FAC*BNSF*5257*LO*B*O*Y
SE*6*638300001
GE*1*148763830
IEA*1*004113896

Sample 4 (SDD)

ISA*04*SWEDI 161 *00* *02*BNSF *02*TOIX *200718*0131*U*00602*004113896*0*P*~
GS*TR*BNSF*UP*20200718*0003*148756726*X*008010
ST*EDI 161*567260001
BTS*QCHIROB616*65*L***4699*6445*8700*BNSF*00*R3*N*20200716*ALGROT3*1*20200716
V9*SDD**20200719*0917*****686147****CT**689225
FAC*BNSF*5190*LO*F*O*Y
FAC*KCS*4019*LO*B*O*Y
FAC*BNQ*47769*ET*F*O*N
SE*7*567260001
GE*1*148756726
IEA*1*004113896

Sample 5 (EDD)

ISA*04*SWEDI 161 *00* *02*BNSF *02*TOIX *200718*0131*U*00602*004113896*0*P*~
GS*TR*BNSF*UP*20200718*0003*148756724*X*008010
ST*EDI 161*567240001
BTS*CBKMDON025*124*L***17735*6877*17300*BNSF*00*R5*N*20200715*2CSLUNJ 16*2*20200715
V9*EDD**20200718*1124*****741680****MT
FAC*BNSF*9009*LO*F*O*Y
FAC*BNSF*6014*LO*B*O*Y
FAC*BNSF*9011*2R*B*O*Y
FAC*BNSF*9262*2R*B*O*Y
SE*8*567240001
GE*1*148756724
IEA*1*004113896

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.