Sie sind auf Seite 1von 170

006020 417

RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
INDUSTRY
006020
RAIL
APRIL
TRANSPORTATION
CARRIER
2010
417
APPLICATIONS
WAYBILL INTERCHANGE

417

Rail Carrier Waybill Interchange


FUNCTIONAL GROUP ID =

WB

This X12 Transaction Set contains the format and establishes the data contents of the Rail
Carrier Waybill Interchange Transaction Set (417) for use within the context of an Electronic
Data Interchange (EDI) environment. The transaction set can be used to provide the rail carrier
with detailed movement instructions pertinent to a rail carrier shipment and is used by all Class I
rail carriers in the United States and Canada.
This transaction set contains co-loading functionality that not all carriers support. Contact trading
partners prior to use.

Table 1
PAGE # POS. #

SEG. ID

010

ST

020

ZC1

030

BX

11

040

BNX

13

050

18

060

20

070

NAME

REQ. DES.

MAX USE

Transaction Set Header

Beginning Segment For Data Correction Or Change

General Shipment Information

Rail Shipment Information

N9

Extended Reference Identification

30

CM

Cargo Manifest

DTM

Date/Time Reference

5
1

LOOP REPEAT

500

LOOP ID - N7
22

080

N7

Equipment Details

26

081

EM

Equipment Characteristics

27

090

VC

Motor Vehicle Control

29

092

N1

Party Identification

31

094

N3

Party Location

32

096

N4

Geographic Location

33

098

H3

Special Handling Instructions

34

100

IC

Intermodal Chassis Equipment

36

110

IM

Intermodal Movement Information

37

120

M12

In-bond Identifying Information

40

130

G4

Scale Identification

41

140

M7

Seal Numbers

42

150

N5

Equipment Ordered

N/U

160

H5

Car Service Order

1
1

36

LOOP ID - N7/VC

LOOP ID - N7/VC/N1

LOOP ID - N7/E1
43

161

E1

Empty Car Disposition - Pended Destination Consignee

44

162

E4

Empty Car Disposition - Pended Destination City

45

163

E5

Empty Car Disposition - Pended Destination Route

13

46

164

PI

Price Authority Identification

48

165

GA

Canadian Grain Information

15

51

166

REF

Reference Information

52

167

N9

Extended Reference Identification

10

54

168

N10

Quantity and Description

15

99

LOOP ID - N7/REF

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

57

169

SMD

Consolidated Shipment Manifest Data

58

170

VC

Motor Vehicle Control

36

60

171

L0

Line Item - Quantity and Weight

62

172

MEA

Measurements

64

173

L1

Rate and Charges

10

66

174

PI

Price Authority Identification

68

175

CD

Shipment Conditions

10

70

176

N1

Party Identification

73

177

N3

Party Location

74

178

N4

Geographic Location

75

179

PER

Administrative Communications Contact

77

180

BL

Billing Information

12

80

182

IMA

Interchange Move Authority

82

184

N8

Waybill Reference

499

84

186

N8A

Additional Reference Information

499

N/U

190

V9

Event Detail

86

200

F9

Origin Station

88

210

D9

Destination Station

25

LOOP ID - N7/REF/L0

30

LOOP ID - N7/REF/L0/PI

15

LOOP ID - N7/REF/N1

15

LOOP ID - N1
90

220

N1

Party Identification

91

225

N2

Additional Name Information

92

230

N3

Party Location

93

240

N4

Geographic Location

94

245

REF

Reference Information

95

250

PER

Administrative Communications Contact

96

262

BL

Billing Information

12

99

440

S1

Stop-off Name

100

450

S2

Stop-off Address

101

458

S9

Stop-off Station

102

459

N1

Party Identification

103

460

N2

Additional Name Information

104

461

N3

Party Location

105

462

N4

Geographic Location

106

463

PER

Administrative Communications Contact

107

470

R2

Route Information

13

N/U

485

R9

Route Code Identification

110

490

E1

Empty Car Disposition - Pended Destination Consignee

111

500

E4

Empty Car Disposition - Pended Destination City

112

510

E5

Empty Car Disposition - Pended Destination Route

13

12

LOOP ID - S1

LOOP ID - E1

113

511

PI

Price Authority Identification

115

520

H3

Special Handling Instructions

20

116

530

PS

Protective Service Instructions

119

540

LX

Transaction Set Line Number

25

LOOP ID - LX

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
120

550

L5

15

122

570

L0

Line Item - Quantity and Weight

124

575

MEA

Measurements

126

590

PI

Price Authority Identification

128

592

CD

130

595

X1

Shipment Conditions

10

Export License

132

600

T1

Transit Inbound Origin

134

610

T2

136

620

T3

Transit Inbound Lading

30

Transit Inbound Route

138

630

T6

12

Transit Inbound Rates

140

640

T8

Free-form Transit Data

99

141

660

LS

Loop Header

142

670

LH1

Hazardous Identification Information

144

680

LH2

146

690

LH3

Hazardous Classification Information

Hazardous Material Shipping Name Information

10

147

700

LFH

148

710

LEP

Free-form Hazardous Material Information

20

EPA Required Data

149

720

LH4

Canadian Dangerous Requirements

151

730

152

740

LHT

Transborder Hazardous Requirements

LHR

Hazardous Material Identifying Reference Numbers

153

745

PER

Administrative Communications Contact

5
1

Description, Marks and Numbers

25

LOOP ID - LX/L0

30

LOOP ID - LX/L0/PI

64

LOOP ID - T1

1000

LOOP ID - LH1

10

LOOP ID - LH1/N1
155

747

N1

Party Identification

156

750

N3

Party Location

157

752

N4

Geographic Location

158

755

PER

Administrative Communications Contact

160

759

LE

Loop Trailer

161

760

PER

Administrative Communications Contact

163

770

LH2

Hazardous Classification Information

165

780

LHR

Hazardous Material Identifying Reference Numbers

166

785

XH

Pro Forma - B13 Information

168

790

X7

Customs Information

10

169

810

SE

Transaction Set Trailer

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

TRANSACTION SET HEADER


ST

ST
Segment:
Loop: ____

Transaction Set Header

Usage: Mandatory
Max Use: 1
Max Length: 53
Purpose: To indicate the start of a transaction set and to assign a control number
Semantic:

1 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).
2 The implementation convention reference (ST03) is used by the translation
routines of the interchange partners to select the appropriate
implementation convention to match the transaction set definition. When
used, this implementation convention reference takes precedence over the
implementation reference specified in the GS08.

ST01

ST

143

TS ID
Code

ID

ST02

3/3

329

TS Control
Number
M

AN

ST03

4/9

1705

Implement
Reference
O

N
/
L

AN 1/35

Data Element Summary


REF.
DES.

DATA
ELEMENT

ST01

143

NAME

ATTRIBUTES

Transaction Set Identifier Code

ID

3/3

AN

4/9

Code uniquely identifying a Transaction Set.


CODE

417
ST02

329

DEFINITION

Rail Carrier Waybill Interchange

Transaction Set Control Number

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

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
BEGINNING SEGMENT FOR DATA CORRECTION OR CHANGE
ZC1

ZC1
Segment:
Loop: ____

Beginning Segment For Data Correction Or Change

Usage: Optional
Max Use: 1
Max Length: 129
Purpose: To transmit identifying numbers, dates and other basic data relating to the
transaction set.
Semantic:

1 If ZC108 is R (Rail), then ZC102 is required.


2 ZC109 is the equipment check digit for the equipment number in ZC103.

Comments:

A For any rail shipment, ZC102 is required.

Notes:

368

ZC101

ZC1

1 When the lead car on previously transmitted waybills is to be removed


from those instructions, a cancellation (998 Set Cancellation or 417
with ZC106 equal to CA) must be submitted deleting the entire
waybill using the original lead car ID as reference in the ZD or ZC1
segment. This waybill may then be transmitted with the new lead car
ID.

145

Shipment
ID Number
O

ID

206

Equipment
Initial
O

140

SCAC
M

AN 1/30

ZC107

ZC102

AN

ZC108

2/4

ID

91

ZC109

1/2

207

Equipment
Number

1/4

Transport
Type Code
M

ZC103

AN 1/15

N0

244

Transaction
Ref Number
M

ZC105

243

ZC106

Transaction

Ref Date

AN 1/50

DT

8/8

202

Correction
Indicator
M

ID

2/2

761

Equipment
Check Digit
O

ZC104

N
/
L

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

ZC101

145

NAME

Shipment Identification Number

ATTRIBUTES

AN

1/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.)

Required

ZC102

206

Equipment Initial

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

4272

Must be identical to the previous waybill. For multi-car waybills


must be identical to the lead car of the previous waybill.

4812

See guideline for Equipment Initials and Numbers in Standards


Conventions chapter
ZC103

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

4272

Must be identical to the previous waybill. For multi-car waybills


must be identical to the lead car of the previous waybill.

4812

See guideline for Equipment Initials and Numbers in Standards


Conventions chapter

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

ZC104

244

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Transaction Reference Number

AN

1/50

Senders assigned number for referenced transaction set. (Limited to 30


characters for Rail Transaction Sets.)

Waybill number as previously transmitted in the N8 segment.

5584
ZC105

243

Transaction Reference Date

DT

8/8

Date of referenced transaction set (CCYYMMDD).

Date of Waybill as previously transmitted in the N8 segment.

5585
ZC106

202

Correction Indicator

ID

2/2

Code used to indicate that the transaction set contains information which corrects
a previous billing.

Reason for requesting this correction or change

135

CODE

CA
CO
ZC107

140

DEFINITION

Cancelled Bill
Correction

Standard Carrier Alpha Code

ID

2/4

ID

1/2

Standard Carrier Alpha Code

SCAC of carrier transmitting the correction

5108
ZC108

91

Transportation Method/Type Code

Code specifying the method or type of transportation for the shipment.


CODE

R
X

DEFINITION

Rail
Intermodal (Piggyback)
Used if N711 equals CC, CH, CM, CN, CX, CZ, GS, LS, OT, PL,
PT, RT or TL

4570
ZC109

761

Equipment Number Check Digit

N0

1/1

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

5089

See guideline for Equipment Initial and Number in the Standards


Conventions Chapter.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GENERAL SHIPMENT INFORMATION
BX

BX
Segment:
Loop: ____

General Shipment Information

Usage: Optional
Max Use: 1
Max Length: 68
Purpose: To transmit identification numbers and other basic shipment data
Semantic:

1 BX05 contains the SCAC of the origin linehaul carrier receiving the shipment

Notes:

Required

5
542

1 Multi-unit intermodal waybills are not allowed.

3
546

2 If any carrier derives revenue from a movement, BX03 may not be NC


or NR and BX07 may not be 1, E or H. Rule 11 has been the
common method of billing for interline shipments including both
revenue and non-revenue carriers in the route.

BX01

BX

353

TS Purpose
Code
M

ID

BX07

ID

BX13

147

BX08

ID

ID

714

BX14

1/1

BX03

ID

1/2

226

BX09

1/1

BX04

ID

2/2

195

BX10

Capacity
Load Code
O

ID

1/1

145

Shipment
ID Number

160

ID

140

SCAC

AN 1/30

Status Rept
Req Code
O

BX05

ID

BX11

BX06

2/4

501

BX12

Customs Doc
Handl Code

1/1

ID

2/2

188

Weight Unit
Code
ID

1/1

199

Confident
Bill Req Cd
O

ID

1/1

346

Application
Type
O

146

Ship Method
of Payment

Section
Seven Code

1/1

Tax Reason
Code
O

91

Transport
Type Code

2/2

Shipment
Qualifier

BX02

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

BX01

353

NAME

ATTRIBUTES

Transaction Set Purpose Code

ID

2/2

ID

1/2

Code identifying purpose of transaction set.


CODE

00
04
BX02

91

DEFINITION

Original
Change

Transportation Method/Type Code

Code specifying the method or type of transportation for the shipment.

5427

If BX02 equals X, BNX03 must equal S.


CODE

R
X

4570

APRIL 2010

DEFINITION

Rail
Intermodal (Piggyback)
Used if N711 equals CC, CH, CM, CN, CX, CZ, GS, LS, OT, PL,
PT, RT or TL

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

BX03

146

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Shipment Method of Payment

ID

2/2

Code identifying payment terms for transportation charges.


CODE

11

DEFINITION

Association of American Railroads Accounting Rule 11


Shipment
Collect
Mixed

CC
MX

Only used for co-loaded shipments. If used at least two


occurrences of the N7/REF loop with REF01 equal to 1O
(numeric 1 alpha O) are required to describe the co-loaded
shipments.

5801

Not all carriers support co-loaded shipments. Contact trading


partners prior to use.

NC
NR
PP
BX04

145

Service Freight, No Charge


Non Revenue
Prepaid (by Seller)

Shipment Identification Number

AN

1/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.)

Required

BX05

140

Standard Carrier Alpha Code

ID

2/4

ID

1/1

Standard Carrier Alpha Code

Contains the SCAC of the origin linehaul carrier

49
Required

BX06

188

Weight Unit Code


Code specifying the weight unit

Qualifies all weights in the transaction set except hazardous


materials

50

CODE

L
Required

BX07

147

DEFINITION

Pounds

Shipment Qualifier

ID

1/1

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

5426

BX07 codes of 1, 8, C, M and N are not allowed when BX02 =


X.

5503

See Standards Conventions chapter on Multi-Car Billing


CODE

Master Bill for Empty Non-Revenue Equipment


A shipper may tender multiple empty shipments in a single
shipment information transaction as long as all pieces of
equipment have the same waybill information. Not all roads
support this functionality. Multiple N7 segments may each
include the specific weights for the equipment specified and
may become the basis for the individual waybill prepared.

1976

6
7
8

First Bill for Split Shipment


Subordinate Bill for Split Shipment
Master Bill, Revenue Empty
A shipper may tender multiple empty shipments in a single
shipment information transaction as long as all pieces of
equipment have the same shipment information. Not all roads
support this functionality. Multiple N7 segments may each
include the specific weights for the equipment specified and
may become the basis for the individual waybills prepared.

615

B
C

DEFINITION

Bill of Lading for Individual Shipment


Consolidated Shipment
APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

E
F
G

Empty Equipment Billing (Non-Revenue)


Stop-off Shipment
Switch Waybill
Applies to Single or Multi-car Loaded Switch bills.

5533
H
M

Company Business (Non-revenue)


Master Bill of Lading for Assembly, Distribution and Volume
Shipment
A shipper may tender multiple loaded shipments in a single
shipment information transaction as long as all pieces of
equipment have the same shipment information and individual
freight bills may be created. Not all roads support this
functionality. Multiple N7 segments may each include the
specific weights for the equipment specified and may become
the basis for the individual waybills prepared.

373

Multiple Loads (Blind Memo) Memo--Incomplete


Documentation
Multiple car company material load

5347
S
W
X

Submaster Bill of Lading for Volume Shipment


Revenue Empty
Empty Switch Waybill
Applies to Single or Multi-car Empty switch bills.

5802
BX08

226

Section Seven Code

ID

1/1

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

N
S
BX09

195

DEFINITION

Not in Effect
In Effect

Capacity Load Code

ID

1/1

ID

2/2

Code specifying type of capacity load.


CODE

C
F
G
M
V
BX11

501

DEFINITION

Full Cubic Capacity


Full Capacity
Gallonage Capacity
Marked Capacity
Full Visible Capacity

Customs Documentation Handling Code


Code defining method of handling for documentation.

51

Used for Canadian origins only

4095

If BX11 equals 10, 14, 15, 16, 17, 24 or 34 the X1 and XH segments
are required.
CODE

10
14
15
16
17
20
24
25
26
27
30
34
35
36

APRIL 2010

DEFINITION

Proforma Entered/B13 Not Required


Proforma and B13 Entered
Proforma Entered and B13 with Car
Proforma Entered and B13 by Summary Reporting
Proforma Entered with B13 with Broker Port of Exit
Proforma with Car/B13 Not Required
Proforma with Car and B13 Entered
Proforma and B13 with Car
Proforma with Car and B13 by Summary Reporting
Proforma with Car and B13 with Broker Port of Exit
Proforma with Broker Port of Exit/B13 Not Required
Proforma with Broker Port of Exit and B13 Entered
Proforma with Broker Port of Exit and B13 with Car
Proforma with Broker Port of Exit B13 by Summary
Reporting

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

37
40
90
BX12

199

Proforma and B13 with Broker Port of Exit


Customs Cleared
Customs A 4 +

Confidential Billing Request Code

ID

1/1

Code used by the shipper to request that the carrier inhibit origin identification
information from the invoice transaction sets and/or rates and charges from
waybill documents and transaction sets when shipment moves under confidential
contract rates.
CODE

C
M
N
R
BX13

714

DEFINITION

Confidential Billing
Confidential Billing and No Rate or Charges to be Shown
Not Applicable
No Rate or Charges to be Shown

Goods and Services Tax Reason Code

ID

1/1

Code required to identify the reason for a 0% rated goods and services tax.

376

Used for Canadian origins only


CODE

1
2
3

10

DEFINITION

Inbound Goods and Services Tax Declaration


Outbound Goods and Services Tax Declaration
Goods and Services Tax Inbound/Outbound Declaration
Documentary Evidence Filed at Origin

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
RAIL SHIPMENT INFORMATION
BNX

BNX
Segment:
Loop: ____

Rail Shipment Information

Usage: Optional
Max Use: 1
Max Length: 28
Purpose: To transmit rail-specific shipment data
Notes:

Required
1 Multi-unit intermodal waybills are not allowed.

5
542
BNX01

BNX

460

Shipment

Weight Code
O

ID

1/1

BNX02

129

Ref Pattern
Identifier
O

BNX03

AN 1/13

11

Billing
Code

ID

BNX04

1/1

223

Repetitive
Pattern No

N0

N
/
L

5/5

Data Element Summary


REF.
DES.

DATA
ELEMENT

BNX01

460

NAME

ATTRIBUTES

Shipment Weight Code

ID

1/1

Code indicating the way by which weights are obtained for a particular shipment.

221

When specifying weights to be obtained by a means other than


Railroad weight for Revenue shipments, specify the source from
the list of valid codes. The application of Destination Weights will
be communicated by a D. Weights authorized or calculated based
on items in a tariff should be indicated with a T in BNX01 and
actual Net Weight (N703) properly qualified (N704 = N).

379

This element is mandatory for loaded revenue shipments


CODE

A
D

F
G
H
M
N
O
R

Public Scale Weight on Behalf of Consignee


Grain Exchange Weight
Public Scale Weight on Behalf of Shipper
Manifest Weight
No Wt. Req., Ship. Moving on Contract or per car rate
Official Weight
Carrier Scale Weight
The presence of actual net weights or gross weights in N704
(code values N OR G) indicate that the car has been
weighed. A weight qualifier indicating estimated weight in
N704 (code value E) indicates that the car has not been
weighed.

54

S
T

APRIL 2010

Shippers Weight Agreement


Destination Weight Agreement
Weights provided by consignee or receiver under controlled
condition.

2725

55

DEFINITION

Shipper Certified Scale Weights


Tariff Authorized Weight
Used for weights authorized or calculated based on items in a
tariff. The actual net weight (N703) is properly qualified in the
N704 with a code value of N.

11

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

BNX02

129

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Referenced Pattern Identifier

AN

1/13

Identification of a repetitive pattern that is to be used as a basis for creating a


shipment record or a new pattern; or identification of a pattern requiring change or
deletion.

Required

BNX03

11

Billing Code

ID

1/1

Code indicating type of Bill.

5464

If BX02 equals X, BNX03 must equal S.

5503

See Standards Conventions chapter on Multi-Car Billing


CODE

A
D
E
G
H

DEFINITION

Temporarily Articulated Load


Switch Bill
Storage
Store in Transit
For Furtherance of Transit
For storage in transit: When transmitting shipment
information for a single movement from point A to B, where
the shipment will be held in storage, BNX03 must contain a
code value of G. Shipment information to cover the
movement from Point B to destination must contain H.

476

Multiple Shipment Billing


Used if BX07 value is M or N and a single N8 will be used to
cover all pieces of equipment.

3862
P
Q
S

Paired Trailer Shipment


Multi-car Transit
Single Shipment Billing
This is used to bill single car shipments.

3863

If used in conjunction with BX07 value of M, this value


indicates that individual transportation waybills will be issued.

T
U
BNX04

223

Transit Billing
Unit Train Billing

Repetitive Pattern Number

N0

5/5

RWC number composed of a four-digit number with a fifth digit being a modulus
10 check digit.

362

12

EDI partners must agree upon the data to be included when using
repetitive patterns

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EXTENDED REFERENCE IDENTIFICATION
N9

N9
Segment:
Loop: ____

Extended Reference Identification

Usage: Optional
Max Use: 30
Max Length: 159
Purpose: To transmit information as specified by the reference identification qualifier
Syntax:

1 R0203
At least one of N902 or N903 is required.
2 C0605
If N906 is present, then N905 is required.

Semantic:

1 N906 reflects the time zone which the time reflects.


2 N907 contains data relating to the value cited in N902.

Comments:

226

Notes:

A N907 is the composite data element C040, however it is represented as DE


128, which is the first data element to the composite
1 The Bill of Lading/Shipment Number, code value of BL, BM, BN,
CO, CR, OB, SI or WY must be included in each transaction

64

2 Coal shipment information: When shipment information is transmitted


for coal shipments, two additional N9 segments may be necessary.
Exact use and N902 values will depend on what the shipper and origin
carrier agree are required data. If utilized, the first occurrence of the
N9 should be transmitted with the following information: N901
contains code ZE and N902 will contain the agreed AUTHORITY
for the shipment. The second occurrence of the N9 will contain the
N901 code value CX and N902 will contain the consignment
classification number. This is the consignment number or
classification code used by the originating rail carrier and must not be
more than 8 characters. Contact origin carrier representative for exact
use and values.

8
367

3 For shipments imported in Canada or the United States, accurate and


full commodity descriptions, package codes and piece counts of the
smallest exterior packaging unit are required. The corresponding
Standard Transportation Commodity Code (STCC) code must be used
in the Description, Marks and Numbers segments. Also the
Harmonized System (HS) code, if available should be passed in an N9
segment utilizing a code value of HS. This information must be
passed to the border crossing carrier as received by the origin carrier.
If manifest information is being provided directly to a Customs
Agency, by a party other than the border crossing carrier, then these
requirements may be modified by mutual agreement between the
border crossing carrier and the manifesting party.

5
494

4 Code values listed for N901 are supported by the Rail industry. Any
additional valid X12 code may be passed here, but may only be
supported based on bi-lateral agreements between trading partners.

APRIL 2010

13

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

N901

N9

128

Reference
Ident Qual
M

ID

N907

127

Reference
Identifictn

2/3

N903

369

N904

Free-Form

AN 1/80

AN 1/45

373

Date

Description
O

DT

N905

8/8

337

Time

TM

N906

4/8

623

Time
Code

ID

2/2

128

Reference
Ident Qual
O

N902

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N901

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier


CODE

09

Customs Bar Code Number


Used only to identify a single Customs Bar Code Number
which applies to the entire shipment. If multiple Customs Bar
Code Numbers apply to a single shipment, they must be sent
in the N1009, using one N10 segment per Customs Bar Code
Number.

2658

2K

Food and Drug Administration (FDA) Product Type


Used by shipper to indicate that the commodity is subject to
the FDA prior notification requirement.

5595
BB

Authorization Number
Used for damaged freight

2659
BC
BL

Buyers Contract Number


Government Bill of Lading
If used N904 is the document preparation date

65
BM

Bill of Lading Number


If used N904 is the document preparation date

65
BN

Booking Number
If used N904 is the document preparation date

65
CD
CED

Credit Note Number


Canada Border Services Agency (CBSA) Export
Declaration Number
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CEN

US Census Exemption Number


See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CER

Canada Border Services Agency (CBSA) Exemption


Reference ID
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CES

Canada Border Services Agency (CBSA) Export Summary


Reporting ID
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CG
CN

14

DEFINITION

Consignees Order Number


Carriers Reference Number (PRO/Invoice)

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CO

65
CR

CS
CV
CX
DH
DV
EB

Condition of Sale Document Number


Coil Number
Consignment Classification ID
Drug Enforcement Administration Number
Diversion Authority Number
Embargo Permit Number
If used another occurrence of the N9 with code value EN is
required.

5664
ED

Export Declaration
Only used when received on a 404 in a version prior to 5040.

5774
EN

Embargo Number
If used another occurrence of the N9 with code value EB is
required.

5665
EP

Export Permit Number


Used to convey the Softwood Lumber Permit for softwood
lumber exported from Canada to US.

5772
F9
FN
FP
GB
GC
GR

Freight Payor Reference Number


Forwarders/Agents Reference Number
Forestry Permit Number
Grain Block Number
Government Contract Number
Grain Order Reference Number
If used N904 is the document preparation date

65
HS
HW
IN
ITN

Harmonized Code System (Canada)


High/Wide File Number
Consignees Invoice Number
Census Internal Transaction Number (ITN)
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
LT
M0
MA
MB
OB

Lot Number
Mexican Pedimento Number
Ship Notice/Manifest Number
Master Bill of Lading
Ocean Bill of Lading
If used N904 is the document preparation date

65
OM
OS
OW
PDF

Ocean Manifest
Outbound-from Party
Service Order Number
Census Post Departure Filing Number
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
PK

Packing List Number


Used for identification of automobile parts for Canada
Customs applications

4653
PN
PO
PQ
PU

APRIL 2010

Customer Reference Number


If used, N904 will contain the preparation date of the Bill of
Lading

360

477

Customer Order Number


If used N904 is the document preparation date

Permit Number
Purchase Order Number
Payee Identification
Previous Bill of Lading Number
Used for storage in transit with when BNX03 is H. N902 will
contain the previous shipment information number and N904
will contain the previous shipment information date.

15

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

QL

Service Authorization Number


Limited to usage in RAMP-ED process.

5569
RC

Rail Routing Code


Used for reporting to Customs

4078
S7
SC

Stack Train Identification


Shipper Car Order Number
Passed rail to rail. If used, then IMA01 will be S, N902 will
contain the order number and the N903 will contain the SCAC
of the road which holds the car order. Each road may have a
different format for the car order number.

5428

SI

Shippers Identifying Number for Shipment (SID)


If used N904 is the document preparation date

65
SNP

US Customs & Border Protection Second Notify Party


Used to pass the Customs Carrier SCAC or FIRMS Code of a
Second Notify Party.

5582
SO
ST
SW
UT
V0
VA
WM
WU
WY

Shippers Order (Invoice Number)


Store Number
Sellers Sale Number
Unit Train
Version Number
Vessel Agent Number
Weight Agreement Number
Vessel
Rail Waybill Number
If used N904 is the document preparation date

65
ZE
N902

127

Coal Authority Number

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

5596

If N901 equals 2K pass FDA here.

5775

If N901 equals EB, then N902 is limited to 10 characters maximum


length.
N903

369

Free-form Description

AN

1/45

DT

8/8

Free-form descriptive text.

N904

373

Date
Date expressed as CCYYMMDD

68

The preparation date of the document if N901 contains the codes


BL, BM, BN, CO, CR, GR, OB, SI, PU or WY

2660

When one or more of the above-mentioned codes is used, at least


one of the occurrences must have a date and time. It is the date
when the equipment movement reportings will begin matching
movements to the waybill for parameter tracing (TRAIN 76).

2746

When the date is not recorded on the Bill of Lading, use the waybill
creation date.

16

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

N905

337

Time

TM

4/8

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)

2662

When the time is not recorded on the Bill of Lading, use the waybill
creation time.

2745

The use of this time is mandatory for the Bill of Lading/Shipment


number date reported in the N904. It is the time when the
equipment reportings will begin matching movements to the
waybill for parameter tracing (TRAIN 76).

Recommended

N906

623

Time Code

ID

2/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.
CODE

AT
CT
ET
LT

Alaska/Aleutian Time
Central Time
Eastern Time
Local Time
Used for time zones not listed

4643
MT
NT
PT
TT

APRIL 2010

DEFINITION

Mountain Time
Newfoundland Time
Pacific Time
Atlantic Time

17

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CARGO MANIFEST
CM

CM
Segment:
Loop: ____

Cargo Manifest

Usage: Optional
Max Use: 2
Max Length: 281
Purpose: To identify specific flight or voyage information for multimodal shipments.
Syntax:

1 C0402
If CM04 is present, then CM02 is required.

Semantic:

1 CM04 is qualified by CM02.


2 CM06 contains the carrier code.
3 CM07 contains the previous carrier code.
4 CM08 is manifest date.
5 CM15 is the Vessel Agent Number

Comments:
CM01

CM

55

Flight/
Voyage No
O

ID

CM13

2/4

2/2

DT

373

CM09

ID

AN 2/24

26

Country
Code
2/3

182

DT

CM10

127

AN

CM16

AN 1/80

113

CM11

ID

AN 1/17

202

2/2

ID

CM12

AN 2/14

2/4

174

Terminal
Name

AN 2/30

91

Transport
Type Code
O

140

SCAC
O

112

CM17

CM06

Pier
Name

1/4

13

Booking
Number

8/8

Correction
Indicator

CM05

Pier
Number

Reference
Identifictn

373

Date
O

AN 2/28

CM15

CM04

Vessel
Name

8/8

114

Port
Name
O

CM14

CM03

1/1

Date
O

156

ID

ID

CM08

State or
Prov Code

115

Port/Terml
Code
X

140

SCAC

CM02

AN 2/30

CM07

A CM02 is D for rail origin and L for rail destination.

ID

N
/
L

1/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

CM01

55

NAME

ATTRIBUTES

Flight/Voyage Number

AN

2/30

Identifying designator for the particular flight or voyage on which the cargo travels.

CM02

115

Port or Terminal Function Code

ID

1/1

Code defining function performed at the port with respect to a shipment.


CODE

DEFINITION

Final Port of Discharge (Operational)


Last port at which cargo is unloaded from a vessel

3851
D

Port of Discharge (Operational)


Port at which cargo is discharged from the first or only vessel
which will carry the cargo.

69
L

Port of Loading (Operational)


First port at which the cargo is loaded to the first vessel

70
CM03

114

Port Name

AN

2/24

Free-form name for the place at which an offshore carrier originates or terminates
(by transshipment or otherwise) its actual ocean carriage of property.

18

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CM04

373

Date

DT

8/8

AN

1/17

ID

2/4

ID

2/4

DT

8/8

AN

2/28

AN

1/4

AN

2/14

AN

2/30

ID

2/2

Date expressed as CCYYMMDD

If CM02 is "D" or "1", this contains the ship dock date


If CM02 is "L", this contains the ship sail date

685
CM05

13

Booking Number
Number assigned by the carrier for space reservation.

CM06

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

Represents the current carrier

72
CM07

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

Represents the previous carrier

73
CM08

373

Date
Date expressed as CCYYMMDD

Represents the manifest date

74
CM09

182

Vessel Name
Name of ship as documented in "Lloyds Register of Ships".

CM10

113

Pier Number
Identifying number for the pier.

CM11

112

Pier Name
Free-form name of the pier.

CM12

174

Terminal Name
Free-form field for terminal name.

CM13

156

State or Province Code

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

CM14

26

Country Code

ID

2/3

AN

1/80

Code identifying the country.

CM15

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

4110

APRIL 2010

Vessel Agent Number

19

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

DATE/TIME REFERENCE
DTM

DTM
Segment:
Loop: ____

Date/Time Reference

Usage: Optional
Max Use: 5
Max Length: 69
Purpose: To specify pertinent dates and times
Syntax:

1 R020305
At least one of DTM02, DTM03 or DTM05 is required.
2 C0403
If DTM04 is present, then DTM03 is required.
3 P0506
If either DTM05 or DTM06 is present, then the other is required.

DTM01

DTM

374

Date/Time
Qualifier
M

ID

DTM02

3/3

373

Date
X

DT

DTM03

8/8

337

Time
X

TM

DTM04

4/8

623

Time
Code
O

ID

DTM05

1250

DTM06

Date Time
Format Qual
2/2

ID

2/3

1251

Date Time
Period
X

N
/
L

AN 1/35

Data Element Summary


REF.
DES.

DATA
ELEMENT

DTM01

374

NAME

ATTRIBUTES

Date/Time Qualifier

ID

3/3

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


CODE

002

Delivery Requested
If used, this is intended to identify the date and time when the
equipment being picked up from the customers dock will
arrive at the Rail Facility. This is provided by the party
submitting shipment information to the origin carrier, and
should be passed to the next carrier in the route via
transaction set 417.

227

017

Estimated Delivery
If used, this is intended to identify the date and time of final
delivery to receiving customers dock/facility for unloading. If
equipment is to be loaded on a sailing vessel, date and time
should be interpreted as vessel cutoff time. This is provided
by the party submitting shipment information to the origin
carrier, and should be passed to the next carrier in the route
via transaction set 417.

228

018
037
038
067
068
069
110
168
196
197
198
209
210
372

20

DEFINITION

Available/Constructive Placement
Ship Not Before
Ship No Later
Current Schedule Delivery
Current Schedule Ship
Promised for Delivery
Originally Scheduled Ship
Release
Start
End
Completion
Contract Performance Start
Contract Performance Delivery
Actual Arrival Date

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

458

Certification
Used for Safe Container Act compliance. See Standards
Conventions chapter for Safe Container Act Compliance.

4165
ICF

Intermodal Certification Converted to Electronic Format


Date
Used for Safe Container Act compliance. See Standards
Conventions chapter for Safe Container Act Compliance.

4165
DTM02

373

Date

DT

8/8

TM

4/8

Date expressed as CCYYMMDD

DTM03

337

Time

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)

DTM04

623

Time Code

ID

2/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.
CODE

AT
CT
ET
LT

Alaska/Aleutian Time
Central Time
Eastern Time
Local Time
Used for time zones not listed

4643
MT
NT
PT
TT

APRIL 2010

DEFINITION

Mountain Time
Newfoundland Time
Pacific Time
Atlantic Time

21

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EQUIPMENT DETAILS
N7

N7 Equipment Details
Segment:
Loop: N7 Repeat: 500
Usage: Mandatory
Max Use: 1
Max Length: 141
Purpose: To identify the equipment.
Syntax:

1 P0304
If either N703 or N704 is present, then the other is required.
2 P0516
If either N705 or N716 is present, then the other is required.
3 P0809
If either N708 or N709 is present, then the other is required.

Semantic:

1 N712 is the SCAC of the Equipment Owner


2 N723 is the SCAC of the operator or carrier of the rights of the equipment.

Comments:

A N701 is mandatory for rail transactions.


B N720 and N721 are expressed in inches.

N701

N7

206

Equipment
Initial
O

AN

N707

N0

N713

205

N708

AN

N719

1/6

319

N714

56

N720

ID

2/2

219

AN

184

N710

ID

N715

N0

65

N721

ID

N716

189

N722

1/8

102

N711

1/1

ID

ID

N0

ID

N717

24

N723

40

N712

188

ID

ID

N0

2/6

140

SCAC

2/2

232

Weight
Allowance
O

ID

N718

2/4

761

Equipment

Check Digit

1/1

140

N724

SCAC

4/4

Weight Unit
Code

1/1

N706

3/8

Equipment
Desc Code
O

571

Equipment
Type
O

167

Tare
Weight

Tare Qual
Code

N705

1/2

Ownership
Code

4/5

Width

ID

567

Equipment
Length

1/3

1/8

1/1

187

Weight
Qualifier

1/10

N709

1/8

Height

N704

Volume Unit

Qualifier

Position
O

81

Weight

183

3/6

Type of
Serv Code

N703

AN 1/15

Volume

Temperature

Control
O

207

Equipment
Number

1/4

Dunnage

N702

1/1

301

Car Type
Code

2/4

N0

ID

N
/
L

1/4

Data Element Summary

Required

REF.
DES.

DATA
ELEMENT

N701

206

NAME

Equipment Initial

ATTRIBUTES

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

229

22

See guideline for Equipment Initials and Numbers in the Standards


Conventions chapter

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

N702

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

See guideline for Equipment Initials and Numbers in the Standards


Conventions chapter

229
N703

81

Weight

1/10

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

3878

For Intermodal shipments, the actual net weight or certified weight


should be passed here.

4809

Must include dunnage weight

5586

The numeric value of the weight of the shipment, required for


loaded moves.
N704

187

Weight Qualifier

ID

1/2

Code defining the type of weight.


CODE

DEFINITION

Estimated Net Weight


If used with BNX01, code value R, this indicates that the car
has not been weighed. This code is used to specify CSR 11
endorsements on revenue shipments.

58
G

Gross Weight
If used with BNX01 code value R, this specifies that the car
has been weighed.

59
N

Actual Net Weight


If used with BNX01 code value R this specifies that the car
has been weighed. Also used to convey the certified weight
(Gross Cargo Weight) for Safe Container Act compliance.

60
N705

167

Tare Weight

N0

3/8

N0

2/6

N0

1/6

Weight of the equipment.

N706

232

Weight Allowance

Allowance made for increased weight due to such factors as snow.

N707

205

Dunnage

Weight of material used to protect lading (even bracings, false floors, etc.).

Dunnage weight only

4810
N710

102

Ownership Code

ID

1/1

ID

2/2

Code indicating the relationship of equipment to carrier.


CODE

L
T
Required

N711

40

DEFINITION

Railroad Leased
Trip Leased

Equipment Description Code


Code identifying type of equipment used for shipment.
CODE

BG
CA
CC

CH

Chassis
If used, R205 is required

1980
CM

APRIL 2010

Bogie
Caboose
Container resting on a Chassis
If used, R205 is required and the IC segment is also
recommended

1979

1980

DEFINITION

Container, Open-Sided
If used, R205 is required

23

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CN

Container
If used, R205 is required

1980
CX

Container, Tank
If used, R205 is required

1980
CZ

Refrigerated Container
If used, R205 is required

1980
GS

Generator Set
If used, R205 is required

4642
ID
LO
LS

Idler Car
Locomotive
Half-height Flat Rack
If used, R205 is required

1980
OT

Open-top/flatbed trailer
If used, R205 is required

3521
PL

Container, Platform
If used, R205 is required

1980
PT

Protected Trailer
If used, R205 is required

387
RR
RT

Rail Car
Controlled Temperature Trailer (Reefer)
If used, R205 is required

4594
SK
TL

Stack Car
Trailer (not otherwise specified)
If used, R205 is required.

98
TN
N712

140

Tank Car

Standard Carrier Alpha Code

ID

2/4

AN

3/6

Standard Carrier Alpha Code

SCAC of the equipment owner

2663
N713

319

Temperature Control

Free-form abbreviation of temperature range or flash-point temperature.

N714

219

Position

AN

1/3

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

See Rail Data Element Dictionary

494
N715

567

Equipment Length

N0

4/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.)

Outside length required for intermodal shipments

1981
N716

571

Tare Qualifier Code

ID

1/1

N0

1/1

Code identifying the type of tare.


CODE

A
M
N718

761

DEFINITION

Actual
Marked

Equipment Number Check Digit

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

229

24

See guideline for Equipment Initials and Numbers in the Standards


Conventions chapter

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

N720

65

Height

1/8

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


position.

Expressed in inches

76
N721

189

Width

1/8

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

Expressed in inches

77
N722

24

Equipment Type

ID

4/4

ID

2/4

ID

1/4

Code identifying equipment type

The ISO Container Code

4898
N723

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

N724

301

Car Type Code

Code maintained by AAR to identify a type of rail car or intermodal equipment


type and its general characteristics; when using fewer than four characters, the
value must include all of the leading or high order characters.

4899

APRIL 2010

The value will be the AAR Car Kind

25

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EQUIPMENT CHARACTERISTICS
EM

EM
Segment:
Loop: N7

Equipment Characteristics

Usage: Optional
Max Use: 1
Max Length: 43
Purpose: To send additional information regarding a specific piece of equipment
Syntax:

1 C0201
If EM02 is present, then EM01 is required.
2 C0403
If EM04 is present, then EM03 is required.

Semantic:

1 EM02 is the maximum load weight


2 EM04 is the maximum load volume
3 EM05 is the country of manufacture
4 EM07 is the last inspection date for convention of safe container

Notes:

1
273

EM01

EM

1 Used for shipments utilizing intermodal equipment

188

Weight Unit
Code
X

ID

EM03

184

EM04

Volume Unit

Qualifier

1/10

ID

1/1

183

Volume
O

EM05

1/8

26

Country
Code
O

ID

EM06

2/3

1429

Construct
Type
O

ID

1/2

373

N
/
L

Date
O

81

Weight

1/1

EM07

EM02

DT

8/8

Data Element Summary


REF.
DES.

DATA
ELEMENT

EM01

188

NAME

Weight Unit Code

ATTRIBUTES

ID

1/1

1/10

Code specifying the weight unit

EM02

81

Weight

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

EM03

184

Volume Unit Qualifier

ID

1/1

1/8

ID

2/3

ID

1/2

DT

8/8

Code identifying the volume unit.

EM04

183

Volume
Value of volumetric measure.

EM05

26

Country Code
Code identifying the country.

EM06

1429

Construction Type
Code identifying the primary construction material

EM07

373

Date
Date expressed as CCYYMMDD

26

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
MOTOR VEHICLE CONTROL
VC

VC Motor Vehicle Control


Segment:
Loop: N7/VC Repeat: 36
Usage: Optional
Max Use: 1
Max Length: 134
Purpose: To define motor vehicle identification and logistics.
Semantic:

1 VC05 is the automotive manufacturer route code.


2 VC12 is the direction the headlights of the vehicle point
3 VC13 is the final destination ramp location as assigned by the manufacturer

Notes:

9
515

VC01

VC

1 VIN numbers should be passed here and not as free-form description


in the L502

539

Vehicle ID
Number
M

ID

VC13

ID

VC08

2/2

ID

837

Vehicle
Type Code

2/2

308

VC09

Damage
Execpt Ind
O

VC03

ID

VC04

1/1

835

VC10

Supplement
Insp Code

1/1

ID

1/1

838

Dealer
Code
AN

Route
Code

2/9

583

VC11

Factory Car
Order No
O

VC05

VC06

AN 1/13

877

AN

VC12

Vessel
Stowage Loc

AN 6/10

839

Bay
Location

AN 1/12

1/6

1543

Equipment
Orientation
O

ID

1/1

310

Location
Identifier
O

836

Deck Posit
Code
O

833

Auto Mfr
Code

AN 1/30

VC07

VC02

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

VC01

539

NAME

ATTRIBUTES

Vehicle Identification Number

AN

1/30

Unique identification number stamped on the vehicle by the manufacturer.

VC02

836

Vehicle Deck Position Code

ID

2/2

Code to identify the specific position of a vehicle on multi-level equipment. When


dealing with rail cars the front end will be defined as that end of the rail car which
the vehicle faces.

See Rail Data Element Dictionary

1972
VC03

837

Vehicle Type Code

ID

1/1

AN

2/9

Code defining automotive vehicle type.


CODE

1
2
3
4
5
VC04

838

DEFINITION

Automobile
Truck
Others
Used Vehicles
Military

Dealer Code
A code assigned by a manufacturer to identify their dealers.

APRIL 2010

27

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

VC05

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Route Code

AN

1/13

AN

6/10

Mutually defined route code

Auto manufacturers route code

78
VC10

583

Factory Car Order Number

This number to be supplied by the shipper for Canadian customer requirements


at border points for all finished motor vehicles exported to the United States from
Canada.

VC12

1543

Equipment Orientation Code

ID

1/1

Code indicating the direction the equipment is entrained or the lading is loaded;
when used to indicate the lading orientation, direction is defined relative to the
equipment on which it is loaded.
CODE

A
B
VC13

310

DEFINITION

Opposite End of Car From Brake


Brake End of Car

Location Identifier

AN

1/30

Code which identifies a specific location.

5160

28

Code designated by the manufacturer to identify the destination


ramp

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY IDENTIFICATION
N1

N1 Party Identification
Segment:
Loop: N7/VC/N1 Repeat: 2
Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:

1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.

Comments:

A 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.
B N105 and N106 further define the type of entity in N101.

Notes:

2
200

1 This N1 loop is used to identify mixed carloads of vehicles belonging


to different manufacturers or private owners. These carloads may also
be composed of vehicles with mixed IN-BOND or NOT IN-BOND
status. The use of this loop can precisely identify the owner, payer
and the IN-BOND status of each vehicle.

3
200

2 Used to identify the owner or freight payer of the vehicle

2
352

3 This loop is used to identify parties associated with each vehicle

N101

98

Entity ID
Code

N1
M

ID

2/3

N102

93

Name

N103

AN 1/60

66

ID Code
Qualifier
X

ID

N104

1/2

67

ID
Code
X

N105

AN 2/80

706

Entity
Relat Code
O

ID

N106

2/2

98

N
/
L

Entity ID
Code
O

ID

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N101

98

NAME

ATTRIBUTES

Entity Identifier Code

ID

2/3

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


CODE

CN
N1
OW
PF
UC
N102

93

DEFINITION

Consignee
Notify Party no. 1
Owner of Property or Unit
Party to Receive Freight Bill
Ultimate Consignee

Name

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

N103

66

Identification Code Qualifier

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


Code (67).
CODE

C5

APRIL 2010

DEFINITION

Customer Identification File Number

29

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

N104

67

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Identification Code

AN

2/80

Code identifying a party or other code.

5402

30

When qualified by C5 this field should contain the full 13 character


CIF format including leading zeros. This format is defined as either
9 character alphanumeric (CIF ID) or 9 digit numeric (DUNS
number) plus the 4 digit sub-location number. When conveying a
primary location the sub-location will be zeros. For example:
0123456780000 where DUNS = 012345678 and the + 4 = 0000.
A222222220000 where CIF ID = A22222222 and the + 4 = 0000.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY LOCATION
N3

N3 Party Location
Segment:
Loop: N7/VC/N1
Usage: Optional
Max Use: 2
Max Length: 115
Purpose: To specify the location of the named party
N301

N3

166

Address
Information
M

AN 1/55

N302

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

N301

166

NAME

Address Information

ATTRIBUTES

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

N302

166

Address Information

Address information (limited to 30 characters for Rail transactions)

APRIL 2010

31

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

GEOGRAPHIC LOCATION
N4

N4 Geographic Location
Segment:
Loop: N7/VC/N1
Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:

1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.

Comments:

N401

19

City
Name

N4
O

156

State or
Prov Code
X

ID

N403

2/2

116

Postal
Code
O

ID

3/15

N404

26

Country
Code

ID

N405

2/3

309

Location
Qualifier
X

ID

N406

1/2

310

Location
Identifier
O

AN 1/30

1715

Country
Subdivision
X

N402

AN 2/30

N407

A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location

ID

N
/
L

1/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

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

N404

26

Country Code

ID

2/3

Code identifying the country.

32

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
SPECIAL HANDLING INSTRUCTIONS
H3

H3 Special Handling Instructions


Segment:
Loop: N7/VC/N1
Usage: Optional
Max Use: 1
Max Length: 53
Purpose: To specify special handling instructions in coded or free-form format
Syntax:

1 E0102
Only one of H301 or H302 may be present.

Notes:

4
200

1 Used to specify the IN-BOND status of the vehicle


2 Only one occurrence per vehicle is allowed

0
275
H301

H3

152

H302

153

H303

Special
Special
Handle Code Handle Desc
X

ID

2/3

AN 2/30

241

Protective
Serv Code
O

ID

H304

1/4

242

Vent Instr
Code
O

ID

H305

1/7

257

Tariff Appl
Code
O

ID

N
/
L

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

H301

152

NAME

ATTRIBUTES

Special Handling Code

ID

2/3

Code specifying special transportation handling instructions.


CODE

IB

APRIL 2010

DEFINITION

In-bond

33

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

INTERMODAL CHASSIS EQUIPMENT


IC

Segment:
Loop: N7

IC

Intermodal Chassis Equipment

Usage: Optional
Max Use: 1
Max Length: 56
Purpose: To specify the chassis equipment details in terms of identifying numbers,
weights and ownership
Syntax:

1 P0304
If either IC03 or IC04 is present, then the other is required.

Semantic:

1 IC05 is the SCAC of the Chassis Owner


2 IC07 is SCAC of the Chassis Lessee
3 IC09 is the equipment check digit for the equipment number in IC02.

Notes:

2
198

IC01

IC

1 If N711 is CC, then this segment is recommended

206

Equipment
Initial
M

AN

IC07

ID

140

IC08

IC03

845

ID

167

Tare
Weight

AN 1/15

Chassis
Type

2/4

207

Equipment
Number

1/4

SCAC

IC02

N0

IC09

2/2

3/8

571

Tare Qual
Code

ID

IC05

1/1

140

SCAC
O

ID

IC06

2/4

567

Equipment
Length
O

N0

4/5

761

Equipment
Check Digit
O

IC04

N0

N
/
L

1/1

Data Element Summary

Required

REF.
DES.

DATA
ELEMENT

IC01

206

NAME

ATTRIBUTES

Equipment Initial

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

See guideline for Equipment Initials and Numbers in the Standards


and Conventions chapter

2664
IC02

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

See guideline for Equipment Initials and Numbers in the Standards


and Conventions chapter

2664
IC03

167

Tare Weight

N0

3/8

ID

1/1

ID

2/4

Weight of the equipment.

IC04

571

Tare Qualifier Code


Code identifying the type of tare.
CODE

A
M
IC05

140

DEFINITION

Actual
Marked

Standard Carrier Alpha Code


Standard Carrier Alpha Code

34

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

IC06

567

Equipment Length

N0

4/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.)

IC07

140

Standard Carrier Alpha Code

ID

2/4

ID

2/2

N0

1/1

Standard Carrier Alpha Code

IC08

845

Chassis Type
Code identifying type of chassis.
CODE

8P
DF
FB
GN
SF
SL
TX
IC09

761

DEFINITION

Eight Pin Combo


Drop Frame
Flush Back
Gooseneck
Straight Frame
Slider
Tri-axle

Equipment Number Check Digit

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

5089

APRIL 2010

See guideline for Equipment Initial and Number in the Standards


Conventions Chapter.

35

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

INTERMODAL MOVEMENT INFORMATION


IM

Segment:
Loop: N7

IM

Intermodal Movement Information

Usage: Optional
Max Use: 1
Max Length: 12
Purpose: To specify the overall movement of a shipment
Semantic:
IM01

IM

1 IM03 is required if IM02 is IP or XP

533

Water Move
Code
O

ID

1/1

IM02

152

IM03

Special
Handle Code
O

ID

2/3

534

Inland
Trans Code
O

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

IM01

533

NAME

ATTRIBUTES

Water Movement Code

ID

1/1

ID

2/3

ID

2/2

Code indicating type of water movement


CODE

B
N
P
S
IM02

152

DEFINITION

Prior and Subsequent Water Movement


No Water Movement
Prior Water Movement Only
Subsequent Water Movement Only

Special Handling Code


Code specifying special transportation handling instructions.

See Rail Data Element Dictionary

2665
IM03

534

Inland Transportation Code

Code identifying inland transportation operations and movements


CODE

CO
IC
IP
ML
RO
SD
SU

36

DEFINITION

Carriers Overland Common Point


Interchange
Inland Point Interchange (Micro Land-Bridge)
Mini Land-Bridge
Rail Overland Common Point
Store - Door
Substituted Service

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
IN-BOND IDENTIFYING INFORMATION
M12

M12
Segment:
Loop: N7

In-bond Identifying Information

Usage: Optional
Max Use: 2
Max Length: 345
Purpose: To transmit in-bond data for a master in-bond bill of lading
Syntax:

1 E0206
Only one of M1202 or M1206 may be present.
2 C0608
If M1206 is present, then M1208 is required.
3 P0809
If either M1208 or M1209 is present, then the other is required.
4 P1011
If either M1210 or M1211 is present, then the other is required.

Semantic:

1 M1203 is a four-digit numeric census schedule D when identifying a U.S.


port, and four-digit numeric memorandum D when identifying a Canadian
port. It is the port of destination if M1201 is 61. It is the port of export if
M1201 is 62 or 63.
2 M1204 is 5-digit numeric census schedule K. It is the foreign port of
destination if M1201 is 62 or 63.
3 M1207 identifies the carrier to whom liability is transferred.
4 M1212 is the Food and Drug Administration prior notification requirement
indicator. A Y indicates the shipper has advised the commodity is subject
to the prior notification requirement. An N indicates the commodity is not
subject to the prior notification requirement. If blank, the default value is N.
5 M1213 is the estimated date of departure of the in-bond shipment from the
US.
6 M1214 is the FIRMS (Facilities Information Resources Management
System) code of the location of the in-bond shipment.

Comments:

A If M1202 does not contain the paperless entry number, then M1206 is
required when used for US In-Bond information.
B M1205 is the value in whole dollars of the in-bond movement. Use twenty
dollars per kilo if value is unknown.

401

Notes:

1 This segment is mandatory for all rail in-bond shipments. If while the
shipment is still in-transit the carrier handling the shipment receives
notification of customs release and the cargo is no longer in-bond
that carrier should generate a waybill correction without the M12
segment.

6
266

2 M1206 contains the conventional In-bond number

5
581

3 This segment contains changes not yet reflected in X12.

APRIL 2010

37

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

M1201

M12

581

M1202

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

601

M1203

Customs Ent
Customs Ent

Type Code
Number
M

ID

M1207

2/3

140

M1208

SCAC

ID

M1213

373

Date

DT

ID

M1214

8/8

AN 1/80

ID

602

M1206

Customs

91

Transport
Type Code
X

M1205

603

In-Bond

Shipm Value Ctrl Number

AN 1/30

M1210

310

Location
Identifier
O

127

Reference
Identifictn

M1204

AN 1/30

M1209

2/3

AN

M1211

182

Vessel
Name

1/2

2/8

AN 1/50

M1212

1073

Yes/No Cond
Resp Code

AN 2/28

ID

1/1

310

Location
Identifier

128

Reference
Ident Qual

2/4

AN 1/50

310

Location
Identifier

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

M1201

581

NAME

ATTRIBUTES

Customs Entry Type Code

ID

2/3

Code defining the type of entry assigned by U.S. Customs. (Complete list of U.S.
Customs Entry Type Codes can be found in Appendix D of the U.S. Customs
Automated Manifest Interface requirements (CAMIR) document.)
CODE

61

DEFINITION

Immediate Transportation
Imported to US

3841
62

Transportation Exportation
Imported and final destination is outside the US

3842
63

Immediate Exportation
Imported to US, Export from the US, with no in-transit
movement

3843
69

Transit
This signifies US-CANADA-US movements

3844
70

Multi-Transit
This signifies traffic with multiple US border crossings with
the shipment terminating in the US

5096
A2

Rail In-bond - No Carrier Remanifest


If used, M1208 must equal XC

4674
A6

Ocean In-bond - No Carrier Remanifest


If used, M1208 must equal XC

4674
A8

Truck In-bond - Carrier Remanifest


If used, M1208 must equal XC

4674
DP

Duty Paid - Cleared Customs


If used, M1208 must equal XC

4674
M1202

601

Customs Entry Number

AN

1/50

Automated Commercial System Code Furnished by U.S. Customs Service

2718

38

Carriers authorized to participate in Paperless In-bond will be


assigned a 3-position filer identification code. This code is used
with a check digit routine to create a paperless In-bond number.
Check digit routine is defined by U.S. Customs CAMIR document.
The resulting format should contain V with a 10 character
identifier (i.e. VXXNNNNNNN where X are alpha-numeric and N are
numeric values).
APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

M1203

310

Location Identifier

AN

1/30

Code which identifies a specific location.

This is the port of destination if M1201 is 61. It is the port of export


if M1201 is 62 or 63. It is the first U.S. physical port of re-entry if
M1201 is 69 or 70.

3582
M1204

310

Location Identifier

AN

1/30

Code which identifies a specific location.

This is the foreign port of destination if M1201 is 62 or 63.

3583
M1205

602

Customs Shipment Value

AN

2/8

Customs value in whole dollars.

4069

Represents the total of all X111s plus XH04 for shipments intended
to move In-Bond into the US.

4678

Required for US bonds


M1206

603

In-bond Control Number

AN

1/50

Currently assigned control number for in-bond movement.

If used, should contain the 9 character numeric conventional inbond number.

5791
M1208

128

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier


CODE

BI

DEFINITION

Bonded Carrier Internal Revenue Service Identification


Number
Only used for Railroad Bond.

1641
S4

Shippers Bond Number


Identifies a non-rail carrier bond.

2611
XC

Cargo Control Number


Used if M1201 is A2, A6, A8 or DP

4644
M1209

127

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

2721

Contains the IRS number or Standard Carrier Alpha Code (SCAC)


of the bond holder identified in M1208 for codes BI and S4.

4587

If used for Canadian In-Bond reporting, this will contain the Cargo
Control Number (CCN).
M1210

91

Transportation Method/Type Code

ID

1/2

Code specifying the method or type of transportation for the shipment.

May only be used if M1201 is 62 to eliminate Department of


Commerce form 7513

2722

CODE

S
M1211

182

DEFINITION

Ocean

Vessel Name

AN

2/28

Name of ship as documented in "Lloyds Register of Ships".

2723

APRIL 2010

Vessel to be loaded for export, if known

39

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

SCALE IDENTIFICATION
G4

G4
Segment:
Loop: N7

Scale Identification

Usage: Optional
Max Use: 1
Max Length: 118
Purpose: To identify the scale type and the location and time a shipment is weighed
Semantic:

1 G403 is the scaling companys name


2 G404 is the event date.
3 G405 is the event time.

G401

19

City
Name

G4
M

G402

AN 2/30

156

State or
Prov Code
M

ID

G403

2/2

93

Name
O

G404

AN 1/60

373

Date
M

DT

G405

8/8

337

Time
O

TM

G406

4/8

570

Scale Type
Code
O

ID

N
/
L

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

G401

19

NAME

ATTRIBUTES

City Name

AN

2/30

Free-form text for city name.

81

City where the scale is located

5109

Limited to the rail 19 character station name as defined in the AAR


Centralized Station Master if applicable
G402

156

State or Province Code

ID

2/2

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

State or Province where the scale is located

82
G403

93

Name

AN

1/60

DT

8/8

TM

4/8

Free-form name. (Limited to 35 for Rail Transactions)

G404

373

Date
Date expressed as CCYYMMDD

Date when weight was obtained

83
G405

337

Time

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)

Time when weight was obtained

84
G406

570

Scale Type Code

ID

1/1

Code identifying the type of scale.


CODE

P
R

40

DEFINITION

Private
Rail

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
SEAL NUMBERS
M7

M7
Segment:
Loop: N7

Seal Numbers

Usage: Optional
Max Use: 5
Max Length: 71
Purpose: To record seal numbers used and the organization that applied the seals.
Comments:

A M705 indicates the name of the organization who applied the seal(s)

Notes:

232

1 A Cone Seal is indicated by "HV" in the IM02. A Red Ball Customs


seal is indicated by the presence of an M12 segment.
2 For Seal Numbers that exceed the 15 character field length, the last 15
characters of the seal number will be used.

7
577

M701

225

Seal
Number

M7
M

AN 2/15

M702

225

Seal
Number

M703

AN 2/15

225

Seal
Number
O

AN 2/15

M704

225

Seal
Number

M705

AN 2/15

98

Entity ID
Code
O

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

M701

225

NAME

Seal Number

ATTRIBUTES

AN

2/15

AN

2/15

AN

2/15

AN

2/15

Unique number on seal used to close a shipment.

M702

225

Seal Number
Unique number on seal used to close a shipment.

M703

225

Seal Number
Unique number on seal used to close a shipment.

M704

225

Seal Number
Unique number on seal used to close a shipment.

APRIL 2010

41

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EQUIPMENT ORDERED
N5

N5
Segment:
Loop: N7

Equipment Ordered

Usage: Optional
Max Use: 1
Max Length: 45
Purpose: To specify carrier equipment.
Syntax:

1 P0708
If either N507 or N508 is present, then the other is required.

Comments:
N501

N5

567

Equipment
Length
O

N0

N507

A N506 is expressed in inches.

N2

643

N508

2/4

233

Weight
Capacity

4/5

Lading
Percentage
X

N502

N0

ID

644

N509

N0

N504

2/5

301

Car Type
Code

ID

N505

1/4

216

Metric
Qualifier
O

ID

N506

1/1

65

Height
O

1/8

40

Equipment
Desc Code

1/1

203

Cubic
Capacity

2/3

Lading %
Qualifier

N503

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

N501

567

NAME

Equipment Length

ATTRIBUTES

N0

4/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.)

N502

233

Weight Capacity

N0

2/3

Capacity of car ordered (stated in 1000 pound units or 1000 kilogram units).

N503

203

Cubic Capacity

N0

2/5

Capacity of car ordered (stated in cubic feet units or cubic meter units)

N504

301

Car Type Code

ID

1/4

Code maintained by AAR to identify a type of rail car or intermodal equipment


type and its general characteristics; when using fewer than four characters, the
value must include all of the leading or high order characters.

N506

65

Height

1/8

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


position.

391

42

Expressed in inches

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EMPTY CAR DISPOSITION - PENDED DESTINATION CONSIGNEE
E1

E1
Segment:
Empty Car Disposition - Pended Destination Consignee
Loop: N7/E1 Repeat: 2
Usage: Optional
Max Use: 1
Max Length: 148
Purpose: To identify the party receiving the empty car
Syntax:

1 P0203
If either E102 or E103 is present, then the other is required.

Notes:

6
384

E101

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

93

Name

E1
M

E102

AN 1/60

66

ID Code
Qualifier
X

ID

E103

1/2

67

ID
Code
X

N
/
L

AN 2/80

Data Element Summary


REF.
DES.

DATA
ELEMENT

E101

93

NAME

Name

ATTRIBUTES

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

E102

66

Identification Code Qualifier

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


Code (67).

E103

67

Identification Code

AN

2/80

Code identifying a party or other code.

APRIL 2010

43

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EMPTY CAR DISPOSITION - PENDED DESTINATION CITY


E4

E4
Segment:
Loop: N7/E1

Empty Car Disposition - Pended Destination City

Usage: Mandatory
Max Use: 1
Max Length: 113
Purpose: To specify the geographic place of named party receiving the empty car
Notes:

6
384

E401

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

19

City
Name

E4
M

E402

AN 2/30

156

State or
Prov Code
M

ID

E403

2/2

116

Postal
Code
O

ID

E404

3/15

26

Country
Code
O

ID

E405

2/3

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

E401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

E402

156

State or Province Code

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

E403

116

Postal Code

ID

3/15

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

E404

26

Country Code

ID

2/3

AN

1/55

Code identifying the country.

E405

166

Address Information

Address information (limited to 30 characters for Rail transactions)

44

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EMPTY CAR DISPOSITION - PENDED DESTINATION ROUTE
E5

E5
Segment:
Loop: N7/E1

Empty Car Disposition - Pended Destination Route

Usage: Mandatory
Max Use: 13
Max Length: 52
Purpose: To specify the routing of the empty car
Comments:

A E503 will use AAR Accounting Rule 260 for junction names (railroad
interchange location).

Notes:

6
384

E501

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

140

SCAC

E5
M

ID

E502

133

E503

Routing Seq

Code
2/4

ID

1/2

19

City
Name
O

AN 2/30

E504

154

N
/
L

SPLC

ID

6/9

Data Element Summary


REF.
DES.

DATA
ELEMENT

E501

140

NAME

Standard Carrier Alpha Code

ATTRIBUTES

ID

2/4

ID

1/2

Standard Carrier Alpha Code

E502

133

Routing Sequence Code

Code describing the relationship of a carrier to a specific shipment movement.

E503

19

City Name

AN

2/30

ID

6/9

Free-form text for city name.

E504

154

Standard Point Location Code

Code (Standard Point Location) 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.

APRIL 2010

45

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PRICE AUTHORITY IDENTIFICATION


PI

PI
Segment:
Loop: N7/E1

Price Authority Identification

Usage: Optional
Max Use: 1
Max Length: 169
Purpose: To communicate basis of pricing, such as contract number, quote number or
tariff number
Semantic:

1 PI05 is the Price Authority Owner (or Agency) Code.


2 PI07 is the Price Authority Suffix.
3 PI08 is the Price Authority item number.
4 PI09 is the Price Authority supplement.
5 PI10 is the Price Authority section number.
6 PI11 is the Price Authority Item Number Suffix.
7 PI12 is the effective date.
8 PI13 is the expiration date.

Notes:

6
384

PI01

PI

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

128

Reference
Ident Qual
M

ID

PI07

AN

PI13

660

PI08

DT

PI03

373

PI14

169

Tariff Item
Number

436

Primary
Pub Auth

AN 1/80

1/2

Date

127

Reference
Identifictn

2/3

Contract
Suffix

PI02

ID

PI09

AN 1/16

629

AN

PI15

173

PI10

ID

1/1

ID

629

PI16

1/1

ID

PI05

3/5

172

PI11

Tariff
Section No

1/4

Alternation
Alternation
Preced Code Preced Code
8/8

930

168

PI06

Regulatory
Tariff
Agency Code Agency Code

2/2

Tariff
Supp ID

PI04

AN

AN

AN 1/10

660

PI12

1/2

373

Date
O

DT

8/8

284

Service
Level Code
O

1/4

Contract
Suffix

1/2

ID

965

Issuing
Carrier ID

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

PI01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

PI02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

PI03

436

Primary Publication Authority

ID

2/2

ID

3/5

Code indicating type of external reference.

PI04

930

Regulatory Agency Code

Code relating to the State Regulatory Agency governing the contract.

PI05

168

Tariff Agency Code

ID

1/4

Code defining the tariff bureau or tariff publishing agent that governs the rates
applied to this shipment.

46

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PI06

965

Issuing Carrier Identifier

AN

1/10

AN

1/2

AN

1/16

Identification assigned by issuing carrier.

PI07

660

Contract Suffix
Used to identify a type of contract.

PI08

169

Tariff Item Number

Number assigned in the tariff to specific rate or group of rates that applies to one
or more items in the shipment.

PI09

173

Tariff Supplement Identifier

AN

1/4

AN

1/2

Identifier for the tariff supplement which contains the rate used.

PI10

172

Tariff Section Number

Number used as an extension of the basic tariff number to identify the rates
published within specific sections of the tariff.

PI11

660

Contract Suffix

AN

1/2

DT

8/8

DT

8/8

ID

1/1

Used to identify a type of contract.

PI12

373

Date
Date expressed as CCYYMMDD

PI13

373

Date
Date expressed as CCYYMMDD

PI14

629

Alternation Precedence Code

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI15

629

Alternation Precedence Code

ID

1/1

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI16

284

Service Level Code

ID

2/2

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

APRIL 2010

47

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CANADIAN GRAIN INFORMATION


GA

GA
Segment:
Loop: N7

Canadian Grain Information

Usage: Optional
Max Use: 15
Max Length: 214
Purpose: To transmit the transportation and distribution requirements of grain at
Canadian ports.
Syntax:

1 P0405
If either GA04 or GA05 is present, then the other is required.
2 P1415
If either GA14 or GA15 is present, then the other is required.
3 P1617
If either GA16 or GA17 is present, then the other is required.

Semantic:

1 GA02 is required on the first occurrence of the segment and for each new
occurrence of a different commodity code.
2 GA06 is used for Crop Week.
3 GA08 is used for the unload date.
4 GA09 is the number of cars being claimed for an incentive rate
5 If GA13 is equal to Y, then this is a direct hit to departure wharf for vessel
loading. If N, this is to be unloaded at terminal and GA14 is required to
identify the terminal or staging area prior to vessel loading.
6 GA14 is the terminal or staging area name.
7 GA18 indicates whether a Canadian Wheat Board Performance car is
involved. If GA18 is equal to Y, then this indicates a Performance Car is
involved. If GA18 is equal to N a Performance Car is not involved. The
default value is N if absent.

Comments:

A GA02 will contain the Canadian Grain Commission commodity code for
terminal elevator accounting.
B GA05 is used for grain block number.

Notes:

8
418

GA01

GA

1 At least one occurrence of GA04 is required with the code value GR.

1275

Fumigated
Cleaned Ind
O

ID

GA07

GA02

1/1

899

GA08

Unload Term
Elev Code
O

ID

GA13

3/4

1073

48

ID

1/1

ID

GA09

8/8

310

GA15

AN 1/30

N0

ID

ID

GA10

156

GA16

ID

1277

GA06

642

Week

N0

GA12

6/6

1278

CWB Market
CWB Market
Class Code Type Code

2/2

1/2

AN 1/80

GA11

1004

ID

127

Reference
Identifictn

1276

Percent
Qualifier

GA05

2/3

Mach Sep
Ind Code

1/9

2/2

128

Reference
Ident Qual

1470

State or
Prov Code
X

GA04

1/2

Number

Location
Identifier

1576

Insp/Weigh
Indic Code
O

373

DT

GA14

GA03

AN 1/30

Date

Yes/No Cond
Resp Code
O

22

Commodity
Code

ID

GA17

1/1

954

Percent

1/10

ID

GA18

1/1

1073

Yes/No Cond N
Resp Code /
L
O

ID

1/1

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

GA01

1275

NAME

ATTRIBUTES

Fumigated/Cleaned Indicator

ID

1/1

Code indicating whether product has been fumigated and/or cleaned

Default value is N

4189

CODE

B
C
F
N
GA02

22

DEFINITION

Both Fumigated and Inland Cleaned


Inland Cleaned
Fumigated
Not Fumigated or Inland Cleaned

Commodity Code

AN

1/30

Code describing a commodity or group of commodities.

4190

Will contain the Canadian Grain Commission Commodity Code for


terminal elevator and will be required for each new occurrence of a
different grain or grain order.

4191

Code Source is Canadian Grain Commission Grain Code 435


GA03

1576

Inspected/Weighed Indicator Code

ID

1/2

Code Indicating whether product has been inspected and/or weighed

4192

If GA03 is IW or IB, then CGC Certified weight is required in N703.


N704 should be actual net weight, Code N.

4193

If not present, then shipment is neither inspected nor weighed.


CODE

IB
II
IW
GA04

128

DEFINITION

Both Inspected and Weighed


Inspected
Weighed

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier


CODE

BO
CW
DK

DEFINITION

Bin Location Number


Canadian Wheat Board Permit Number
Dock Number
Used for Platform number (Producer/Dealer authorization
number)

4194
EP
GB
GR
OH
PN
RB

Export Permit Number


Grain Block Number
Grain Order Reference Number
Origin House for Canadian Wheat Board
Permit Number
Rate code number
Used for incentive grain, multi-car block qualifier

4196
RN

Run Number
Used for Canadian Wheat Board Train Run qualifier

4195
XO

Sample Number
Grain company sample number. Sample number for grain
company test weight of grain as appears in GA16 and GA17.

4197
ZT
GA05

127

Milling in Transit

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

APRIL 2010

49

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

GA06

642

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Week

N0

6/6

Week expressed as year/week (CCYYWW), where week is an number between


01 and 53 inclusive

GA07

899

Unload Terminal Elevator Code

ID

3/4

Code specifying the unloading terminal at grain exporting terminals.

Code Source is Canadian Grain Commission Grain Code 435

4191
GA08

373

Date

DT

8/8

N0

1/9

ID

2/2

Date expressed as CCYYMMDD

GA09

1470

Number
Numeric value

GA10

1276

Machine Separable Indicator Code

Canadian Grain Commission grain code identifying the type of grain that must be
separated

Indicator code is the first two digits of the Grain Code.

4199
GA11

1277

Canadian Wheat Board (CWB) Marketing Class


Code

ID

1/1

Code identifying the Canadian Wheat Board market class of the grain
CODE

0
1
4
5
GA12

1278

DEFINITION

Board Grain
Non-Board Grain
Seed Purchase
Contract

Canadian Wheat Board (CWB) Marketing Class


Type Code

ID

1/1

ID

1/1

AN

1/30

ID

2/2

Code identifying Canadian Wheat Board market class type


CODE

C
S
GA13

1073

DEFINITION

Consigned
Street

Yes/No Condition or Response Code


Code indicating a Yes or No condition or response.

Default value is N

4200

CODE

N
Y
GA14

310

DEFINITION

No
Yes

Location Identifier
Code which identifies a specific location.

GA15

156

State or Province Code

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

GA16

1004

Percent Qualifier

ID

1/2

1/10

Code to qualify percent.


CODE

SD
SE
SF
SG
GA17

954

DEFINITION

Moisture Content
Protein Content
Percent Dockage
Test Weight

Percentage as Decimal

Percentage expressed as a decimal (e.g., 0.0 through 1.0 represents 0% through


100%)

50

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
REFERENCE INFORMATION
REF

REF Reference Information


Segment:
Loop: N7/REF Repeat: 99
Usage: Optional
Max Use: 1
Max Length: 174
Purpose: To specify identifying information
Syntax:

1 R0203
At least one of REF02 or REF03 is required.

Semantic:

REF01

REF

1 REF04 is composite data element C040, but is represented by data


element 128, which is the first element within the composite.

128

Reference
Ident Qual
M

ID

REF02

2/3

127

Reference
Identifictn
X

REF03

AN 1/80

352

Description
X

REF04

AN 1/80

128

Reference
Ident Qual
O

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

REF01

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier


CODE

1O

DEFINITION

Consolidation Shipment Number


This code is used in support of co-loaded shipments. If used,
BX03 must equal MX.

134

Not all carriers support co-loaded shipments. Contact trading


partners prior to use.

94

File Identification Number


Used to identify a commodity group for transferred multiple
bills of lading within one piece of equipment. If used N10 loop
is required.

5537
CUB

U.S. Customs and Border Protection (CBP) Bill of Lading


Number
Used for Customs Unique Bill of Lading Number
Required of the carrier generating the V-bond and CUB, if
M1201 equals 61, 69, or 70, and shipment is moving on
carriers bond and a subsequent carrier is expected to protect
the bond.

5312

OB

Ocean Bill of Lading


If used, N10 loop is required.

5524

Required for transborder containerized traffic first arriving at a


North American seaport by vessel operator.

XC
XP
REF02

127

Cargo Control Number


Previous Cargo Control Number

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

5822

APRIL 2010

When REF01 equals 1O this field contains a sequential value


beginning at 1 and incrementing by 1 for each occurrence.

51

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EXTENDED REFERENCE IDENTIFICATION


N9

N9
Segment:
Loop: N7/REF

Extended Reference Identification

Usage: Optional
Max Use: 10
Max Length: 159
Purpose: To transmit information as specified by the reference identification qualifier
Syntax:

1 R0203
At least one of N902 or N903 is required.
2 C0605
If N906 is present, then N905 is required.

Semantic:

1 N906 reflects the time zone which the time reflects.


2 N907 contains data relating to the value cited in N902.

Comments:

A N907 is the composite data element C040, however it is represented as DE


128, which is the first data element to the composite

Notes:

210

N901

N9

128

Reference
Ident Qual
M

ID

N907

1 When used in support of co-loaded shipments, this is the shipperprovided unique reference number. See N901 in position 050 for
supported code list. Not all carriers support co-loaded shipments.
Contact trading partners prior to use.

127

Reference
Identifictn

2/3

N903

AN 1/80

369

Free-Form
Description
X

N904

AN 1/45

373

Date
O

DT

N905

8/8

337

Time
X

TM

N906

4/8

623

Time
Code
O

ID

2/2

128

Reference
Ident Qual
O

N902

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N901

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier


CODE

CED

CEN

US Census Exemption Number


See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CER

52

Canada Border Services Agency (CBSA) Export


Declaration Number
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750

5750

DEFINITION

Canada Border Services Agency (CBSA) Exemption


Reference ID
See guidelines for Export Declaration usage in Standards
Conventions chapter.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CES

Canada Border Services Agency (CBSA) Export Summary


Reporting ID
See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
CUB

U.S. Customs and Border Protection (CBP) Bill of Lading


Number
Used for Customs Unique Bill of Lading Number
Required of the carrier generating the V-bond and CUB, if
M1201 equals 61, 69, or 70, and shipment is moving on
carriers bond and a subsequent carrier is expected to protect
the bond.

5312

ITN

Census Internal Transaction Number (ITN)


See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
PDF

Census Post Departure Filing Number


See guidelines for Export Declaration usage in Standards
Conventions chapter.

5750
XC
XP
N902

127

Cargo Control Number


Previous Cargo Control Number

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

N903

369

Free-form Description

AN

1/45

Free-form descriptive text.

Only used in support of co-loaded shipments. See N9 in position


050 for usage. Not all carriers support co-loaded shipments.
Contact trading partners prior to use.

5825
N904

373

Date

DT

8/8

Date expressed as CCYYMMDD

Only used in support of co-loaded shipments. See N9 in position


050 for usage. Not all carriers support co-loaded shipments.
Contact trading partners prior to use.

5825
N905

337

Time

TM

4/8

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)

Only used in support of co-loaded shipments. See N9 in position


050 for usage. Not all carriers support co-loaded shipments.
Contact trading partners prior to use.

5825
N906

623

Time Code

ID

2/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.

5825

APRIL 2010

Only used in support of co-loaded shipments. See N9 in position


050 for usage. Not all carriers support co-loaded shipments.
Contact trading partners prior to use.

53

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

QUANTITY AND DESCRIPTION


N10

N10
Segment:
Loop: N7/REF

Quantity and Description

Usage: Optional
Max Use: 15
Max Length: 267
Purpose: To indicate line item quantity, description, marks and numbers, commodity
code, weight and customs value
Syntax:

1 P0405
If either N1004 or N1005 is present, then the other is required.
2 P0708
If either N1007 or N1008 is present, then the other is required.
3 C1306
If N1013 is present, then N1006 is required.

Semantic:

1 If N1013 is not used, the default currency of N1006 is USD (US Dollar).
2 N1009 is the U.S. Customs Bar Code Number for Line Release.
3 N1011 is the country of manufacture of the goods.
4 N1012 is the country of the final destination of the goods.
5 N1013 is the currency of the value of the goods.

Notes:

5
464

1 Used with code values OB and 94 in REF01 above, used to convey


Customs related information for transferred shipments. The N1001 is
required on the first occurrence of this segment in each commodity
group. A commodity group occurs each time the N1001 is present.
The total of the N1001s should equal the quantity in the L008.
When used with code value 1O in the REF01 above, used to convey
lading information for co-loaded shipments. The N1001 should not be
sent and use of the N1004 and N1005 are mandatory.

N1001

380

Quantity

N10
O

N1007

ID

N1013

54

188

N1008

N1003

AN 1/45

1/10

AN 1/80

23

Commodity
Code Qual
X

127

Reference
Identifictn
O

N1004

AN 1/48

N1009

87

Marks and
Numbers
O

81

Weight

1/1

ID

N1010

ID

599

N1011

1/3

22

Commodity
Code

1/1

Manifest
Unit Code

N1005

26

ID

2/3

602

Customs
Shipm Value

AN 1/30

Country
Code

N1006

AN

2/8

N1012

26

Country
Code

ID

2/3

100

Currency
Code

369

Free-Form
Description

1/15

Weight Unit
Code
X

N1002

ID

N
/
L

3/3

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

N1001

380

NAME

ATTRIBUTES

Quantity

1/15

AN

1/45

AN

1/48

Numeric value of quantity.

Required for each new Harmonized Code

4596
Required

N1002

369

Free-form Description
Free-form descriptive text.

Used for commodity description

4459
N1003

87

Marks and Numbers

Marks and numbers used to identify a shipment or parts of a shipment.

N1004

23

Commodity Code Qualifier

ID

1/1

Code identifying the commodity coding system used for Commodity Code.

Use of code J is mandatory if M1202 is 62 or 63 for export. Use


of code T is required when REF01 = 1O.

5835

CODE

DEFINITION

Harmonized Code System (United States)


Rail will use the six-digit Harmonized code

4463
T
N1005

22

Standard Transportation Commodity Code (STCC)

Commodity Code

AN

1/30

AN

2/8

ID

1/1

1/10

Code describing a commodity or group of commodities.

Mandatory if M1201 is 62 or 63 for export.

4462
N1006

602

Customs Shipment Value


Customs value in whole dollars.

Mandatory if M1201 is 62 or 63 for export.

4462
N1007

188

Weight Unit Code


Code specifying the weight unit

Mandatory if M1201 is 62 or 63 for export.

4462

CODE

K
L
N1008

81

DEFINITION

Kilograms
Pounds

Weight

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

Mandatory if M1201 is 62 or 63 for export.

4462
N1009

127

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

Used for Customs C4 number for Line Release

4598
N1010

599

Manifest Unit Code

ID

1/3

Code defining the package unit.

5510

APRIL 2010

Value represents the smallest exterior package type.

55

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

N1011

26

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Country Code

ID

2/3

Code identifying the country.

Used to identify the Country Code of the growth, product, or


manufacturer of the goods. For U.S. Customs the following codes
will be used in lieu of the country code to identify the specific
Canadian Provinces:
XA ALBERTA
XB NEW BRUNSWICK
XC BRITISH COLUMBIA
XD BRITISH COLUMBIA (COASTAL)
XE BRITISH COLUMBIA (INLAND)
XM MANITOBA
XN NOVA SCOTIA
XO ONTARIO
XP PRINCE EDWARD ISLAND
XQ QUEBEC
XS SASKATCHEWAN
XT NORTHWEST TERRITORIES
XV NUNAVUT
XW NEWFOUNDLAND
XY YUKON TERRITORY

4735

N1012

26

Country Code

ID

2/3

ID

3/3

Code identifying the country.

N1013

100

Currency Code

Code (Standard ISO) for country in whose currency the charges are specified.

4599

56

US Dollars only

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
CONSOLIDATED SHIPMENT MANIFEST DATA
SMD

SMD
Segment:
Loop: N7/REF

Consolidated Shipment Manifest Data

Usage: Optional
Max Use: 1
Max Length: 13
Purpose: To transmit shipment manifest data.
Notes:

9
581

SMD01

SMD

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

284

Service
Level Code
M

ID

SMD02

146

SMD03

Ship Method
of Payment

2/2

ID

2/2

108

Pickup or
Del Code
O

ID

N
/
L

1/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

SMD01

284

NAME

ATTRIBUTES

Service Level Code

ID

2/2

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

CS
SMD02

146

DEFINITION

Co-Load Service

Shipment Method of Payment

ID

2/2

Code identifying payment terms for transportation charges.


CODE

11
CC
PP
SMD03

108

DEFINITION

Association of American Railroads Accounting Rule 11


Shipment
Collect
Prepaid (by Seller)

Pickup or Delivery Code

ID

1/2

Specifies the location or type of pickup or delivery

APRIL 2010

57

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

MOTOR VEHICLE CONTROL


VC

VC
Segment:
Loop: N7/REF

Motor Vehicle Control

Usage: Optional
Max Use: 36
Max Length: 134
Purpose: To define motor vehicle identification and logistics.
Semantic:

1 VC05 is the automotive manufacturer route code.


2 VC12 is the direction the headlights of the vehicle point
3 VC13 is the final destination ramp location as assigned by the manufacturer

Notes:

9
581

VC01

VC

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

539

Vehicle ID
Number
M

ID

VC13

ID

VC08

2/2

ID

837

Vehicle
Type Code

2/2

308

VC09

Damage
Execpt Ind
O

VC03

ID

VC04

1/1

835

VC10

Supplement
Insp Code

1/1

ID

1/1

838

Dealer
Code
AN

Route
Code

2/9

583

VC11

Factory Car
Order No
O

VC05

VC06

AN 1/13

877

AN

VC12

Vessel
Stowage Loc

AN 6/10

839

Bay
Location

AN 1/12

1/6

1543

Equipment
Orientation
O

ID

1/1

310

Location
Identifier
O

836

Deck Posit
Code
O

833

Auto Mfr
Code

AN 1/30

VC07

VC02

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

VC01

539

NAME

Vehicle Identification Number

ATTRIBUTES

AN

1/30

Unique identification number stamped on the vehicle by the manufacturer.

VC02

836

Vehicle Deck Position Code

ID

2/2

Code to identify the specific position of a vehicle on multi-level equipment. When


dealing with rail cars the front end will be defined as that end of the rail car which
the vehicle faces.

VC03

837

Vehicle Type Code

ID

1/1

AN

2/9

AN

1/13

AN

1/6

ID

2/2

ID

1/1

Code defining automotive vehicle type.

VC04

838

Dealer Code
A code assigned by a manufacturer to identify their dealers.

VC05

Route Code
Mutually defined route code

VC06

839

Bay Location
Location where the releasing agent placed the motor vehicle.

VC07

833

Automotive Manufacturers Code


Code (ARR) used to identify vehicle manufacturer.

VC08

308

Damage Exception Indicator

Code to indicate whether damage is being reported to a vehicle in this transaction


set.

58

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

VC09

835

Supplemental Inspection Code

ID

1/1

AN

6/10

A code to indicate a supplemental inspection.

VC10

583

Factory Car Order Number

This number to be supplied by the shipper for Canadian customer requirements


at border points for all finished motor vehicles exported to the United States from
Canada.

VC11

877

Vessel Stowage Location

AN

1/12

ID

1/1

Location of cargo stowed on board an ocean vessel.

VC12

1543

Equipment Orientation Code

Code indicating the direction the equipment is entrained or the lading is loaded;
when used to indicate the lading orientation, direction is defined relative to the
equipment on which it is loaded.

VC13

310

Location Identifier

AN

1/30

Code which identifies a specific location.

APRIL 2010

59

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

LINE ITEM - QUANTITY AND WEIGHT


L0

L0
Segment:
Line Item - Quantity and Weight
Loop: N7/REF/L0 Repeat: 25
Usage: Optional
Max Use: 1
Max Length: 115
Purpose: To specify quantity, weight, volume and type of service for a line item including
applicable quantity/rate-as data.
Syntax:

1 P0203
If either L002 or L003 is present, then the other is required.
2 P0405
If either L004 or L005 is present, then the other is required.
3 P0607
If either L006 or L007 is present, then the other is required.
4 P0809
If either L008 or L009 is present, then the other is required.
5 C1104
If L011 is present, then L004 is required.
6 P1315
If either L013 or L015 is present, then the other is required.

Semantic:

1 L008 is the number of handling units of the line item tendered to the carrier.
2 L013 can only be used if the code in L009 is PLT, SKD or SLD.
3 L015 designates whether the carrier will be required to verify the number of
units contained on a pallet, slip sheet or skid. Code Y indicates that the
carrier will be required to verify. Code N indicates that the carrier will not
be required to verify.

Notes:

9
581

L001

L0

213

L002

Lading Line
Item Number
O

N0

L007

ID

L013

1/6

184

L008

380

L014

1/15

N0

1/7

211

ID

3/3

221

Billed/
Rated Qual
X

80

Packaging
Form Code
O

L003

1/11

Lading
Quantity

1/1

Quantity

220

Billed/
Rated Qty

Volume Unit

Qualifier
X

60

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

ID

L009

211

ID

L015

81

Weight

2/2

Packaging
Form Code
X

L004

L010

L005

1/10

458

L011

Dunnage

Description

3/3

AN 2/25

187

Weight
Qualifier
ID

188

ID

1/1

183

Volume

1/2

Weight Unit
Code
O

L006

L012

1/8

56

Type of
Serv Code
O

ID

2/2

1073

Yes/No Cond N
Resp Code /
L
X

ID

1/1

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

L001

213

NAME

Lading Line Item Number

ATTRIBUTES

N0

1/6

1/11

Sequential line number for a lading item.

L002

220

Billed/Rated-as Quantity

Basis for rating (miles, value, volume, etc.). Note: Weight may be defined by
either data element 220 or 81.

L003

221

Billed/Rated-as Qualifier

ID

2/2

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

L004

81

Weight

1/10

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

L005

187

Weight Qualifier

ID

1/2

1/8

ID

1/1

N0

1/7

ID

3/3

AN

2/25

ID

1/1

ID

2/2

1/15

ID

3/3

ID

1/1

Code defining the type of weight.

L006

183

Volume
Value of volumetric measure.

L007

184

Volume Unit Qualifier


Code identifying the volume unit.

L008

80

Lading Quantity
Number of units (pieces) of the lading commodity.

L009

211

Packaging Form Code


Code for packaging form of the lading quantity

L010

458

Dunnage Description
Material used to protect lading.

L011

188

Weight Unit Code


Code specifying the weight unit

L012

56

Type of Service Code


Code specifying extent of transportation service requested.

L013

380

Quantity
Numeric value of quantity.

L014

211

Packaging Form Code


Code for packaging form of the lading quantity

L015

1073

Yes/No Condition or Response Code


Code indicating a Yes or No condition or response.

APRIL 2010

61

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

MEASUREMENTS
MEA

MEA Measurements
Segment:
Loop: N7/REF/L0
Usage: Optional
Max Use: 3
Max Length: 126
Purpose: To specify physical measurements or counts, including dimensions, tolerances,
variances, and weights
Syntax:

1 R03050608
At least one of MEA03, MEA05, MEA06 or MEA08 is required.
2 E0412
Only one of MEA04 or MEA12 may be present.
3 L050412
If MEA05 is present, then at least one of MEA04 or MEA12 are required.
4 L060412
If MEA06 is present, then at least one of MEA04 or MEA12 are required.
5 L07030506
If MEA07 is present, then at least one of MEA03, MEA05 or MEA06 are
required.
6 E0803
Only one of MEA08 or MEA03 may be present.
7 P1112
If either MEA11 or MEA12 is present, then the other is required.

Semantic:

1 MEA04 defines the unit of measure for MEA03, MEA05, and MEA06.
2 MEA04 is a composite data element, C001, which contains 15 simple data
elements. The Rail Industry only uses the first component of the composite,
data element 355. This implementation guideline reflects that decision by
substituting 355 for C001, which is syntactically correct.
3 MEA11 is the external code list for the unit of measure.
4 MEA12 defines the unit of measure for MEA03, MEA05, and MEA06 from
external code list.

9
581

62

Comments:

A When citing dimensional tolerances, any measurement requiring a sign (+


or -), or any measurement where a positive (+) value cannot be assumed
use MEA05 as the negative (-) value and MEA06 as the positive (+) value.

Notes:

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

MEA01

MEA

737

MEA02

738

MEA03

739

MEA04

Measurement

Measurement
Measurement

Qualifier
Value

2/2

935

MEA08

Ref ID Code
ID

MEA07

ID

1/3

936

MEA09

Measurement
Measurement

Attrib Code
Sig Code
O

ID

2/2

ID

2/2

1/20

ID

752

Layer/Posit
Code

355

Unit/Basis
Meas Code
ID

MEA10

MEA05

2/2

1373

Measurement

Method

2/2

ID

2/4

740

Range
Minimum

MEA11

1270

MEA12

ID

1/20

1271

N
/
L

Industry
Code

1/3

741

Range
Maximum

1/20

Code List
Qual Code
X

MEA06

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

MEA01

737

NAME

Measurement Reference ID Code

ATTRIBUTES

ID

2/2

Code identifying the broad category to which a measurement applies

MEA02

738

Measurement Qualifier

ID

1/3

Code identifying a specific product or process characteristic to which a


measurement applies

MEA03

739

Measurement Value

1/20

ID

2/2

The value of the measurement.

MEA04

355

Unit or Basis for Measurement Code

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

MEA05

740

Range Minimum

1/20

1/20

ID

2/2

The value specifying the minimum of the measurement range.

MEA06

741

Range Maximum

The value specifying the maximum of the measurement range.

MEA07

935

Measurement Significance Code

Code used to benchmark, qualify or further define a measurement value.

MEA08

936

Measurement Attribute Code

ID

2/2

Code used to express an attribute response when a numeric measurement value


cannot be determined.

MEA09

752

Surface/Layer/Position Code

ID

2/2

Code indicating the product surface, layer or position that is being described.

MEA10

1373

Measurement Method or Device

ID

2/4

ID

1/3

AN

1/30

The method or device used to record the measurement

MEA11

1270

Code List Qualifier Code


Code identifying a specific industry code list

MEA12

1271

Industry Code
Code indicating a code from a specific industry code list

APRIL 2010

63

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

RATE AND CHARGES


L1

L1
Segment:
Rate and Charges
Loop: N7/REF/L0
Usage: Optional
Max Use: 10
Max Length: 195
Purpose: To specify rate and charges detail relative to a line item including freight
charges, advances, special charges, and entitlements
Syntax:

1 P0203
If either L102 or L103 is present, then the other is required.
2 R040506
At least one of L104, L105 or L106 is required.
3 P1415
If either L114 or L115 is present, then the other is required.
4 P1718
If either L117 or L118 is present, then the other is required.

Semantic:

1 L119 is the percent used to determine the charge in L104.


2 L120, if used, indicates the currency for all monetary amounts in this
segment.
3 L121 is the origin rated as charge amount.

Notes:

9
581

L101

L1

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

213

L102

Lading Line
Item Number
O

N0

L107

60

Freight
Rate

1/6

120

L108

L103

1/15

150

L109

Rate Combo
Spec Charge
Point Code /Allow Code
O

AN

L113

3/9

257

L114

Tariff Appl
Code
O

ID

L119

954

L120

1/10

74

L115

N2 2/12

ID

L121

3/3

121

L110

122

L116

ID

610

L122

N2 1/15

372

L117

ID

L111

L106

117

Prepaid
Amount

1/9

N2 1/15

16

L112

276

Chrg Method
Special
of Payment Charge Desc
O

ID

1/1

220

L118

Billed/
Rated Qty

1/1

1/11

AN 2/25

221

Billed/
Rated Qual
X

ID

2/2

148

N
/
L

Lading
Value

N2

1/1

Lading
Liabil Code

2/2

39

191

Advances

Entitlement
Code
O

L105

N2 1/15

1/3

Amount

58

Amount
Charged
X

Rate/Value
Qualifier
X

100

ID

ID

L104

2/2

Rate Class
Code
O

Currency
Code

ID

3/3

Declared
Value

1/1

Percent

ID

122

Rate/Value
Qualifier

2/9

Data Element Summary


REF.
DES.

DATA
ELEMENT

L101

213

NAME

Lading Line Item Number

ATTRIBUTES

N0

1/6

Sequential line number for a lading item.

64

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

L102

60

Freight Rate

1/15

ID

2/2

N2

1/15

Rate that applies to the specific commodity.

L103

122

Rate/Value Qualifier
Code qualifying how to extend charges or interpret value.

L104

58

Amount Charged

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

L105

191

Advances

N2

1/9

Incidental charges occurring during transportation which are not generally


considered to be freight charges (examples - stop charges, diversion and
reconsignment, icing) expressed in the standard monetary denomination for the
currency specified.

L106

117

Prepaid Amount

N2

1/15

Money paid at point of origin (usually by shipper) expressed in the standard


monetary denomination for the currency specified.

L107

120

Rate Combination Point Code

AN

3/9

The code denoting the connecting station for a joint rate obtained by combining
two or more published rates which are used for the calculation of transportation
charges.

L108

150

Special Charge or Allowance Code

ID

3/3

ID

1/3

Code identifying type of special charge or allowance.

L109

121

Rate Class Code

Code identifying specifically designated class of goods. Note: For international air
shipments, see IATA Resolution 600k.

L110

39

Entitlement Code

ID

1/1

ID

1/1

AN

2/25

Code identifying entitlement party.

L111

16

Charge Method of Payment


Code defining method of payment.

L112

276

Special Charge Description

Identification of special charge. This data element is used whenever an applicable


code cannot be found in data element 150.

L113

257

Tariff Application Code

ID

1/1

N2

2/12

Code indicating to which traffic a tariff applies.

L114

74

Declared Value

Monetary assigned value expressed in the standard monetary denomination for


the currency specified. (Limited to 10 characters for Rail Transactions)

L115

122

Rate/Value Qualifier

ID

2/2

ID

1/1

1/11

Code qualifying how to extend charges or interpret value.

L116

372

Lading Liability Code


Code identifying limits of liability.

L117

220

Billed/Rated-as Quantity

Basis for rating (miles, value, volume, etc.). Note: Weight may be defined by
either data element 220 or 81.

L118

221

Billed/Rated-as Qualifier

ID

2/2

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

L119

954

Percentage as Decimal

1/10

Percentage expressed as a decimal (e.g., 0.0 through 1.0 represents 0% through


100%)

L120

100

Currency Code

ID

3/3

Code (Standard ISO) for country in whose currency the charges are specified.

L121

610

Amount

N2

1/15

2/9

Monetary amount.

L122

148

Lading Value

Value of shipment for export, expressed in the standard monetary denomination


for the currency specified.
APRIL 2010

65

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PRICE AUTHORITY IDENTIFICATION


PI

PI
Segment:
Price Authority Identification
Loop: N7/REF/L0/PI Repeat: 30
Usage: Optional
Max Use: 1
Max Length: 169
Purpose: To communicate basis of pricing, such as contract number, quote number or
tariff number
Semantic:

1 PI05 is the Price Authority Owner (or Agency) Code.


2 PI07 is the Price Authority Suffix.
3 PI08 is the Price Authority item number.
4 PI09 is the Price Authority supplement.
5 PI10 is the Price Authority section number.
6 PI11 is the Price Authority Item Number Suffix.
7 PI12 is the effective date.
8 PI13 is the expiration date.

Notes:

9
581

PI01

PI

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

128

Reference
Ident Qual
M

ID

PI07

AN

PI13

660

PI08

DT

PI03

373

PI14

169

Tariff Item
Number

436

Primary
Pub Auth

AN 1/80

1/2

Date

127

Reference
Identifictn

2/3

Contract
Suffix

PI02

ID

PI09

AN 1/16

629

AN

PI15

173

PI10

ID

1/1

ID

629

PI16

1/1

ID

PI05

3/5

172

PI11

Tariff
Section No

1/4

Alternation
Alternation
Preced Code Preced Code
8/8

930

168

PI06

Regulatory
Tariff
Agency Code Agency Code

2/2

Tariff
Supp ID

PI04

AN

AN

AN 1/10

660

PI12

1/2

373

Date
O

DT

8/8

284

Service
Level Code
O

1/4

Contract
Suffix

1/2

ID

965

Issuing
Carrier ID

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

PI01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

PI02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

PI03

436

Primary Publication Authority

ID

2/2

ID

3/5

Code indicating type of external reference.

PI04

930

Regulatory Agency Code

Code relating to the State Regulatory Agency governing the contract.

66

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PI05

168

Tariff Agency Code

ID

1/4

Code defining the tariff bureau or tariff publishing agent that governs the rates
applied to this shipment.

PI06

965

Issuing Carrier Identifier

AN

1/10

AN

1/2

AN

1/16

Identification assigned by issuing carrier.

PI07

660

Contract Suffix
Used to identify a type of contract.

PI08

169

Tariff Item Number

Number assigned in the tariff to specific rate or group of rates that applies to one
or more items in the shipment.

PI09

173

Tariff Supplement Identifier

AN

1/4

AN

1/2

Identifier for the tariff supplement which contains the rate used.

PI10

172

Tariff Section Number

Number used as an extension of the basic tariff number to identify the rates
published within specific sections of the tariff.

PI11

660

Contract Suffix

AN

1/2

DT

8/8

DT

8/8

ID

1/1

Used to identify a type of contract.

PI12

373

Date
Date expressed as CCYYMMDD

PI13

373

Date
Date expressed as CCYYMMDD

PI14

629

Alternation Precedence Code

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI15

629

Alternation Precedence Code

ID

1/1

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI16

284

Service Level Code

ID

2/2

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

APRIL 2010

67

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

SHIPMENT CONDITIONS
CD

CD Shipment Conditions
Segment:
Loop: N7/REF/L0/PI
Usage: Optional
Max Use: 10
Max Length: 110
Purpose: To specify condition restrictions or provisions applicable to the rate docket.
Syntax:

1 E0208
Only one of CD02 or CD08 may be present.
2 R0208
At least one of CD02 or CD08 is required.
3 C0302
If CD03 is present, then CD02 is required.
4 C0402
If CD04 is present, then CD02 is required.
5 C0502
If CD05 is present, then CD02 is required.
6 P080910
If either CD08, CD09 or CD10 are present, then the others are required.
7 C11080910
If CD11 is present, then CD08, CD09 and CD10 are required.

Semantic:

1 CD08 is the Standard Carrier Alpha Code (SCAC) of the group docket
owner.

Notes:

9
581

CD01

CD

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

495

CD02

Condition
Seg Connect
M

AN

CD07

1/3

259

CD08

Change Type

Code
O

ID

1/1

498

Condition
Code
ID

ID

140

CD09

2/4

499

Condition
Value

4/4

SCAC
X

CD03

697

AN

1/7

499

Condition
Value

AN 1/10

Docket Ctrl
Number
X

CD04

690

Docket
ID

499

Condition
Value

AN 1/10

CD10

CD05

AN 1/11

N0

1/6

260

Group
Title
O

554

Assigned
Number

AN 1/10

CD11

CD06

N
/
L

AN 2/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

CD01

495

NAME

Condition Segment Logical Connector

ATTRIBUTES

AN

1/3

Code indicating how a specific segments statement of a rate restriction is


evaluated, and its relationship to rate restrictions stated within other segments of
the same segment definition. This is a three-part code constructed as follows:
position one valid codes are P or M; position two valid codes are A, O, or I;
position three may be any alphanumeric character for grouping.

CD02

498

Condition Code

ID

4/4

Code defined in the official railway equipment register which identifies the type of
restriction or provision applicable to a rate. When combined with element 499, a
specific rate restriction or provision is represented.

68

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CD03

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD04

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD05

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD06

554

Assigned Number

N0

1/6

ID

1/1

ID

2/4

AN

1/7

Number assigned for differentiation within a transaction set.

CD07

259

Change Type Code


Code indicating change type.

CD08

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

CD09

697

Docket Control Number

A grouping identification which, when combined with elements 140 and 690,
provides a unique identity to a parcel of ratemaking activity.

CD10

690

Docket Identification

AN

1/11

A sequence number which, when combined with elements 140 and 697, provides
a unique identity to a parcel of ratemaking activity.

CD11

260

Group Title

AN

2/30

The descriptive title of a data group.

APRIL 2010

69

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY IDENTIFICATION
N1

N1 Party Identification
Segment:
Loop: N7/REF/N1 Repeat: 15
Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:

1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.

Comments:

A 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.
B N105 and N106 further define the type of entity in N101.

Notes:

4
582

1 When used in support of co-loaded shipments, see N1 Looping


Structure guidelines in the Standards Conventions chapter of the Rail
Guidelines. Not all carriers support co-loaded shipments. Contact
trading partners prior to use.

N101

N1

98

Entity ID
Code

ID

2/3

N102

93

Name

N103

AN 1/60

66

ID Code
Qualifier

ID

N104

1/2

67

ID
Code

N105

AN 2/80

706

Entity
Relat Code
O

ID

N106

2/2

98

Entity ID
Code

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N101

98

NAME

ATTRIBUTES

Entity Identifier Code

ID

2/3

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


CODE

BN

C1

In Care Of Party no. 1


The party who is to physically receive the shipment at
destination. This party will take delivery of the shipment and
may be responsible for destination demurrage charges
associated with the shipment.

2571

CB

70

Beneficial Owner
The party on whose behalf the shipment is being handled by
the third party. Considered to be the legal owner of the goods
in the shipment and is primarily used in intermodal shipments
tendered and consigned by agents or brokers.

2567

2569

DEFINITION

Customs Broker
The party who is responsible for the handling of customs
documents required by Customs for transborder shipments.
Should only be used when received on a 404 in a version prior
to 4060 and the specific broker code can not be determined or
when received on a 417 from a prior carrier.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CD

Consignee to Receive Mail and Small Parcels


Rail Consigned to Party, this is the party specified on a
Straight Bill of Lading as the Consigned to Party and is the
lawful owner or safe keeper of the shipment. This party will
provide written orders to the delivering carrier for surrender of
the shipment to the Advise Party as defined in the Uniform
Freight Classification 6000-1 tariff from the National Railroad
Freight Committee.

2570

CN

Consignee
The party who is to receive the goods in the shipment at the
destination and is presumed to be the owner or lawfully
entitled to the possession of the goods. The physical point of
delivery unless an IN CARE OF party is specified.
Responsible for freight charges on a collect shipment unless
a PARTY TO RECEIVE FREIGHT BILL is specified.

2568

IM

Importer
Used for reporting the importer and importer number.

4065
N1

Notify Party no. 1


If used, then the PER segment will be used to pass
communication numbers ie: phone, fax or data.

2574

The party to be notified of a shipments arrival at destination.

N2

Notify Party no. 2


If used, then the PER segment will be used to pass
communication numbers ie: phone, fax or data.

2575
OO

Order Of (Shippers Orders) - (Transportation)


The party to act as the consignee until such time the original
SHIPPERS ORDER BILL OF LADING is surrendered to the
delivering carrier.

2577

If used, there must be an occurrence of N101 equal to NP.

SF

2580

SH

Shipper
The party who is shipping the goods and the party considered
to be the owner of the goods. The physical location of the
shipment unless the PARTY AT PICK-UP LOCATION, or the
SHIP FROM party is specified.

2581

SNP
UC

US Customs & Border Protection Second Notify Party


Ultimate Consignee
The ultimate receiver of the shipment. In Rail Transportation
this party is a non-rail destination, generally used in
intermodal shipments to relay the party name and address
beyond the rail destination.

2582

XQ
XR
XU
Required

Ship From
The party at the actual origin location, physically originating a
shipment. In Rail Transportation this party is a non-rail origin,
generally used in intermodal shipments to relay the party
name and address prior to the rail origin.

N102

93

Canadian Customs Broker


Mexican Customs Broker
United States Customs Broker

Name

AN

1/60

Free-form name. (Limited to 35 for Rail Transactions)

APRIL 2010

71

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

N103

66

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Identification Code Qualifier

ID

1/2

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


Code (67).
CODE

DEFINITION

Standard Carrier Alpha Code (SCAC)


Only used if N101 equals SNP

5583
C5
FI
N104

67

Customer Identification File Number


Federal Taxpayers Identification Number

Identification Code

AN

2/80

Code identifying a party or other code.

5402

When qualified by C5 this field should contain the full 13 character


CIF format including leading zeros. This format is defined as either
9 character alphanumeric (CIF ID) or 9 digit numeric (DUNS
number) plus the 4 digit sub-location number. When conveying a
primary location the sub-location will be zeros. For example:
0123456780000 where DUNS = 012345678 and the + 4 = 0000.
A222222220000 where CIF ID = A22222222 and the + 4 = 0000.

5576

When N103 equals 2, this field must contain the U.S. Customs
Carrier SCAC or FIRMS code.

72

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY LOCATION
N3

N3 Party Location
Segment:
Loop: N7/REF/N1
Usage: Optional
Max Use: 1
Max Length: 115
Purpose: To specify the location of the named party
Notes:

538

N301

N3

166

Address
Information
M

1 See guidelines for N1 loop usage in Standards Conventions chapter

AN 1/55

N302

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

N301

166

NAME

Address Information

ATTRIBUTES

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

N302

166

Address Information

Address information (limited to 30 characters for Rail transactions)

APRIL 2010

73

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

GEOGRAPHIC LOCATION
N4

N4 Geographic Location
Segment:
Loop: N7/REF/N1
Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:

1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.

Comments:

A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location

Notes:

538

N401

19

City
Name

N4
O

156

State or
Prov Code
X

ID

N403

2/2

116

Postal
Code
O

ID

3/15

N404

26

Country
Code

ID

N405

2/3

309

Location
Qualifier
X

ID

N406

1/2

310

Location
Identifier
O

AN 1/30

1715

Country
Subdivision
X

N402

AN 2/30

N407

1 See guidelines for N1 loop usage in Standards Conventions chapter

ID

N
/
L

1/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

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

N404

26

Country Code

ID

2/3

Code identifying the country.

74

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER

PER Administrative Communications Contact


Segment:
Loop: N7/REF/N1
Usage: Optional
Max Use: 2
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

9
581

PER01

PER

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

APRIL 2010

75

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

PER09

443

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.

76

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
BILLING INFORMATION
BL

BL Billing Information
Segment:
Loop: N7/REF/N1
Usage: Optional
Max Use: 12
Max Length: 144
Purpose: To identify the individual billing segments within a movement when joint rail
rates have been established between carriers but do not cover the entire
movement.
Syntax:

1 R0205
At least one of BL02 or BL05 is required.
2 R0309
At least one of BL03 or BL09 is required.
3 C0605
If BL06 is present, then BL05 is required.
4 C1009
If BL10 is present, then BL09 is required.

Semantic:

1 BL02 is the FSAC for the origin point of the rate for this portion of this
movement.
2 BL03 is the FSAC for the destination point of the rate for this portion of the
movement.
3 BL04 is the SPLC for the origin point of the rate for this portion of the
movement.
4 BL05 through BL07 is the city, state, and country for the rate for the
beginning portion of the move.
5 BL08 is the SPLC for the destination point of the rate for this portion of the
move.
6 BL09 through BL11 is the city, state, and country for the rate for ending
portion of the move.
7 BL12 is the SCAC of the first carrier participating in the rate for the move
defined in BL02 through BL11.

9
581

APRIL 2010

Notes:

1 This segment is used in support of co-loaded shipments. Not all


carriers support co-loaded shipments. Contact trading partners prior
to use.

77

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

BL01

BL

747

BL02

Rebill

Reason Code
M

ID

26

BL08

Country
Code

ID

BL13

140

SCAC

ID

ID

BL14

BL03

154

BL09

140

ID

ID

2/4

19

BL10

140

ID

ID

ID

BL16

2/4

156

BL11

ID

AN 2/30

140

ID

2/4

ID

BL12

2/2

140

SCAC

2/3

ID

2/4

140

N
/
L

SCAC
O

156

State or
Prov Code
O

26

BL17

BL06

Country
Code

2/2

19

City
Name

6/9

SCAC

BL05

State or
Prov Code

SCAC

154

SPLC
O

AN 2/30

BL15

BL04

1/5

City
Name

6/9

573

Freight Sta
Acct Code

1/5

SCAC

2/4

ID

SPLC

2/3

573

Freight Sta
Acct Code

2/2

BL07

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ID

2/4

Data Element Summary


REF.
DES.

DATA
ELEMENT

BL01

747

NAME

Rebill Reason Code

ATTRIBUTES

ID

2/2

ID

1/5

Code identifying reason for rebill

BL02

573

Freight Station Accounting Code

Code (Freight Station Accounting) (AAR Managed Code for Locations).

BL03

573

Freight Station Accounting Code

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

BL04

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

BL05

19

City Name

AN

2/30

ID

2/2

Free-form text for city name.

BL06

156

State or Province Code

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

BL07

26

Country Code

ID

2/3

ID

6/9

Code identifying the country.

BL08

154

Standard Point Location Code

Code (Standard Point Location) 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.

BL09

19

City Name

AN

2/30

ID

2/2

Free-form text for city name.

BL10

156

State or Province Code

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

BL11

26

Country Code

ID

2/3

ID

2/4

ID

2/4

ID

2/4

Code identifying the country.

BL12

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL13

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL14

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

78

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

BL15

140

Standard Carrier Alpha Code

ID

2/4

ID

2/4

ID

2/4

Standard Carrier Alpha Code

BL16

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL17

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

APRIL 2010

79

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

INTERCHANGE MOVE AUTHORITY


IMA

IMA
Segment:
Loop: N7

Interchange Move Authority

Usage: Optional
Max Use: 3
Max Length: 19
Purpose: To identify the transportation interchange authority
Semantic:

1 IMA02 is the Standard Carrier Alpha Code (SCAC) of the entity responsible
for the movement authority in the IMA01.
2 IMA03 defines if the associated move is reciprocal, interterminal, or
intraterminal.
3 IMA04 defines if the associated move is interstate or intrastate.
4 IMA05 defines the reason the equipment was rejected.

IMA01

IMA

748

Movement
Auth Code
M

ID

IMA02

1/2

140

SCAC
O

ID

IMA03

2/4

257

Tariff Appl
Code
O

ID

IMA04

1/1

257

Tariff Appl
Code
O

ID

IMA05

901

N
Reject
Reason Code /
L

1/1

ID

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

IMA01

748

NAME

ATTRIBUTES

Movement Authority Code

ID

1/2

Code indicating the interchange authority


CODE

A
B
C
D
DS
E
G
HM
I
L
N
NC
NU
O
OA
OS
P
R
RB
S

DEFINITION

Released From Bad Order


Bad Order Setback
Car Not Weighed
Empty Received as a Load
Destination Switch Move
Embargoed Shipment
Refused by Customer - Unneeded
Haulage Movement
Interchanged in Error
Not in Compliance With Special Car Order 90 or Special
Car Order 100 Empty
No Record Rights
No Clearance
Not on Universal Machine Language Equipment Register
Overweight Shipment
Old Age (Over-age)
Origin Switch Move
Intermediate Switch Carrier
Refused by Customer - Unfit
RBOX or RGON Exception
Car Applied to Shipper Car Order - Place for Loading
If used, the N901 will contain code SC, the N902 will contain
the order number and the N903 will contain the SCAC of the
road which holds the car order number.

5429
W
X
IMA02

140

No Waybill
Association of American Railroads Restriction

Standard Carrier Alpha Code

ID

2/4

Standard Carrier Alpha Code

80

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

IMA03

257

Tariff Application Code

ID

1/1

ID

1/1

ID

2/2

Code indicating to which traffic a tariff applies.


CODE

D
E
F
IMA04

257

DEFINITION

Reciprocal
Intraterminal
Interterminal

Tariff Application Code


Code indicating to which traffic a tariff applies.
CODE

N
S
IMA05

901

DEFINITION

Interstate
Intrastate

Reject Reason Code


Code assigned by issuer to identify the reason for rejection

APRIL 2010

81

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

WAYBILL REFERENCE
N8

N8
Segment:
Loop: ____

Waybill Reference

Usage: Mandatory
Max Use: 499
Max Length: 103
Purpose: To identify the waybill and to specify the equipment used and the destination
details
Syntax:

1 P030405
If either N803, N804 or N805 are present, then the others are required.
2 P0607
If either N806 or N807 is present, then the other is required.
3 P0809
If either N808 or N809 is present, then the other is required.
4 P1011
If either N810 or N811 is present, then the other is required.

Semantic:

1 N802 is the Waybill Date.


2 N808 is the Destination Station for Movement
3 N810 will contain destination railroad initial (SCAC).
4 N811 will contain railroad destination (FSAC).

Comments:

A Waybill type should only be transmitted when the transaction set involves a
multiple Car/TOFC/COFC shipment or a conveying flat car. Waybill type
should not be sent on a single Car/TOFC/COFC.
B N807 is the Waybill Date.

Notes:

Required
1 This segment is required for all Waybills.

553
N801

186

Waybill
Number

N8
M

N0

N807

DT

373

N808

DT

N803

19

N809

AN 2/30

231

Cross Ref
Type Code

8/8

City
Name

8/8

373

Date

1/6

Date

N802

ID

ID

156

N810

2/2

206

Equipment
Initial

1/1

State or
Prov Code
X

N804

AN

ID

140

N811

2/4

207

Equipment
Number

1/4

SCAC

N805

186

Waybill
Number

AN 1/15

N0

1/6

573

Freight Sta
Acct Code
X

N806

ID

N
/
L

1/5

Data Element Summary


REF.
DES.

DATA
ELEMENT

N801

186

NAME

Waybill Number

ATTRIBUTES

N0

1/6

Carrier accounting number of the waybill for the inbound movement.

313

82

Reference for lead or single car/TOFC/COFC

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

N802

373

Date

DT

8/8

ID

1/1

Date expressed as CCYYMMDD

314

Waybill date for lead or single car/TOFC/COFC

447

Contains waybill date. Can not be in the future.


N803

231

Cross Reference Type Code

Code defining relationship of equipment to equipment cross-referenced.


CODE

A
B
C
G
H
K
L

DEFINITION

Additional Equipment for Manifest Billing


Basket Attached to Chassis (to hold generator set)
Prior Load Credit
Reference to Lead Equipment for Manifest Billing
Generator Set
Clip-on Front-Mounted Generator Unit For Container
Lead Car
Used for multi-car shipment.

315
M
T
X
N804

206

Mated
Trailer
Transfer Load

Equipment Initial

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

Identification for trailing car (multi-car shipment)

317
N805

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

Identification for trailing car (multi-car shipment)

317
N806

186

Waybill Number

N0

1/6

Carrier accounting number of the waybill for the inbound movement.

N807

373

Date

DT

8/8

AN

2/30

Date expressed as CCYYMMDD

Contains waybill date. Can not be in the future.

447
N808

19

City Name
Free-form text for city name.

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

3954
N809

156

State or Province Code

ID

2/2

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

APRIL 2010

83

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ADDITIONAL REFERENCE INFORMATION


N8A

N8A
Segment:
Loop: ____

Additional Reference Information

Usage: Optional
Max Use: 499
Max Length: 170
Purpose: To identify additional station and waybill or station, or waybill information
pertaining to revenue waybill
Semantic:

1 N8A03 is the date of the waybill in N8A02.


2 N8A04 is the unique revenue reference waybill identification number
(URRWIN).
3 N8A05 and N806 identifies the location based on the code in N8A01.
4 N8A07 and N8A08 identifies the carrier associated with the N8A01.

N8A01

1378

Waybill
Ref Code

N8A
O

ID

N8A07

ID

140

N8A08

2/4

186

Waybill
Number

2/2

SCAC

N8A02

N0

1/6

573

N8A09

ID

1/5

373

Date

Freight Sta
Acct Code
O

N8A03

DT

AN

8/8

206

N8A10

N8A05

19

City
Name

AN 1/80

N8A06

AN 2/30

156

State or
Prov Code
O

ID

2/2

207

Equipment
Number

1/4

127

Reference
Identifictn

Equipment
Initial
O

N8A04

N
/
L

AN 1/15

Data Element Summary


REF.
DES.

DATA
ELEMENT

N8A01

1378

NAME

ATTRIBUTES

Waybill Cross-Reference Code

ID

2/2

Code to cross-reference the type of revenue waybill to a previously submitted


waybill
CODE

W5
W6
N8A02

186

DEFINITION

Diversion
Error Move

Waybill Number

N0

1/6

Carrier accounting number of the waybill for the inbound movement.

N8A03

373

Date

DT

8/8

AN

2/30

Date expressed as CCYYMMDD

N8A05

19

City Name
Free-form text for city name.

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

3954
N8A06

156

State or Province Code

ID

2/2

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

N8A07

140

Standard Carrier Alpha Code

ID

2/4

ID

1/5

Standard Carrier Alpha Code

N8A08

573

Freight Station Accounting Code

Code (Freight Station Accounting) (AAR Managed Code for Locations).

84

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

N8A09

206

Equipment Initial

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

See guidelines for equipment initials and numbers in the Standards


Convention chapter.

5627
N8A10

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

5627

APRIL 2010

See guidelines for equipment initials and numbers in the Standards


Convention chapter.

85

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ORIGIN STATION
F9

F9
Segment:
Loop: ____

Origin Station

Usage: Mandatory
Max Use: 1
Max Length: 143
Purpose: To identify the rail origin of this shipment.
Semantic:

1 F902 is the Origin Station for Movement


2 F904 is the country code for the city named in the F902
3 F905 is the FSAC of the Origin Junction Settlement Carrier.
4 F909 is the postal code for the city named in F902
5 F910 is SPLC for the city named in F906
6 F911 is the Postal code for the city named in F906
7 F912 is the country code of the city named in F906

Comments:
F901

F9

573

Freight Sta
Acct Code
O

ID

F907

A F905 is the Freight Station Accounting Code of the city named in F906.

ID

156

F908

2/2

19

City
Name

1/5

State or
Prov Code
O

F902

AN 2/30

ID

156

State or
Prov Code
M

154

SPLC

F903

ID

F909

6/9

ID

116

F910

3/15

26

Country
Code

2/2

Postal
Code

F904

ID

ID

154

F911

ID

ID

F906

116

F912

AN 2/30

26

Country
Code

3/15

19

City
Name

1/5

Postal
Code

6/9

573

Freight Sta
Acct Code

2/3

SPLC

F905

ID

N
/
L

2/3

Data Element Summary

Required

REF.
DES.

DATA
ELEMENT

F901

573

NAME

Freight Station Accounting Code

ATTRIBUTES

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

If R202 is A, S or R, this field must be the FSAC of the origin


linehaul revenue station in R201

4684
F902

19

City Name

AN

2/30

Free-form text for city name.

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

3954
F903

156

State or Province Code

ID

2/2

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

F905

573

Freight Station Accounting Code

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

4166

This is the FSAC of the Origin Junction Settlement Carriers Origin


Station. The Origin Junction Settlement Carrier will be the R201 of
the R202 JO preceding the originating interline carrier (R202 of A,
S or R).

5862

If F905, F906 or F907 is present then all are required.

86

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

F906

19

City Name

AN

2/30

Free-form text for city name.

4167

This is the Origin Junction Settlement Carriers Origin Station

3954

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

5862

If F905, F906 or F907 is present then all are required.


F907

156

State or Province Code

ID

2/2

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

If F905, F906 or F907 is present then all are required.

5862
F908

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

The SPLC for F902

405
F909

116

Postal Code

ID

3/15

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

The postal code for F902

2752
F910

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

5098

APRIL 2010

The SPLC for F906

87

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

DESTINATION STATION
D9

D9
Segment:
Loop: ____

Destination Station

Usage: Mandatory
Max Use: 1
Max Length: 143
Purpose: To identify the rail destination of this shipment.
Semantic:

1 D902 is the Destination Station for Movement


2 D904 is the country code for the city named in D902
3 D905 is the FSAC of the Destination Junction Settlement Carrier.
4 D908 is the SPLC for the city named in D902
5 D909 is the postal code for the city named in D902
6 D910 is the SPLC for the city named in D906
7 D911 is the postal code for the city named in D906
8 D912 is the country code for the city named in D906

Comments:
D901

D9

573

Freight Sta
Acct Code
O

ID

D907

A D905 is the Freight Station Accounting Code of the city named in D906.

ID

156

D908

2/2

19

City
Name

1/5

State or
Prov Code
O

D902

AN 2/30

ID

156

State or
Prov Code
M

154

SPLC

D903

ID

D909

6/9

ID

116

D910

3/15

26

Country
Code

2/2

Postal
Code

D904

ID

ID

154

D911

ID

ID

D906

116

D912

AN 2/30

26

Country
Code

3/15

19

City
Name

1/5

Postal
Code

6/9

573

Freight Sta
Acct Code

2/3

SPLC

D905

ID

N
/
L

2/3

Data Element Summary

Required

REF.
DES.

DATA
ELEMENT

D901

573

NAME

Freight Station Accounting Code

ATTRIBUTES

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

The FSAC of the R201s destination revenue station where R202 is


the destination linehaul carrier

4685
D902

19

City Name

AN

2/30

Free-form text for city name.

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

3954
D903

156

State or Province Code

ID

2/2

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

D905

573

Freight Station Accounting Code

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

4168

This is the FSAC of the Destination Junction Settlement Carriers


Destination Station. The Destination Junction Settlement Carrier
will be the R201 of the R202 JD following the destination interline
carrier (R202 of greatest numeric value).

5863

If D905, D906 or D907 is present then all are required.

88

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

D906

19

City Name

AN

2/30

Free-form text for city name.

4170

This is the Destination Junction Settlement Carriers Destination


Station

3954

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

5863

If D905, D906 or D907 is present then all are required.


D907

156

State or Province Code

ID

2/2

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

If D905, D906 or D907 is present then all are required.

5863
D908

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

Destination station SPLC

90
D909

116

Postal Code

ID

3/15

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

The postal code for D902

2753
D910

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

5099

APRIL 2010

The SPLC for D906

89

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY IDENTIFICATION
N1

N1 Party Identification
Segment:
Loop: N1 Repeat: 15
Usage: Mandatory
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:

1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.

Comments:

A 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.
B N105 and N106 further define the type of entity in N101.

Notes:

91

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

N101

98

Entity ID
Code

N1
M

ID

2/3

N102

93

Name

N103

AN 1/60

66

ID Code
Qualifier
X

ID

N104

1/2

67

ID
Code
X

N105

AN 2/80

706

Entity
Relat Code
O

ID

N106

2/2

98

Entity ID
Code
O

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N101

98

NAME

Entity Identifier Code

ATTRIBUTES

ID

2/3

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

N102

93

Name

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

N103

66

Identification Code Qualifier

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


Code (67).

N104

67

Identification Code

AN

2/80

ID

2/2

ID

2/3

Code identifying a party or other code.

N105

706

Entity Relationship Code


Code describing entity relationship.

N106

98

Entity Identifier Code

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

90

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADDITIONAL NAME INFORMATION
N2

N2
Segment:
Loop: N1

Additional Name Information

Usage: Optional
Max Use: 2
Max Length: 125
Purpose: To specify additional names
Notes:

91

N201

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

93

Name

N2
M

N202

AN 1/60

93

N
/
L

Name
O

AN 1/60

Data Element Summary


REF.
DES.

DATA
ELEMENT

N201

93

NAME

Name

ATTRIBUTES

AN

1/60

AN

1/60

Free-form name. (Limited to 35 for Rail Transactions)

N202

93

Name
Free-form name. (Limited to 35 for Rail Transactions)

APRIL 2010

91

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY LOCATION
N3

N3
Segment:
Loop: N1

Party Location

Usage: Optional
Max Use: 2
Max Length: 115
Purpose: To specify the location of the named party
Notes:

91

N301

N3

166

Address
Information
M

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

AN 1/55

N302

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

N301

166

NAME

Address Information

ATTRIBUTES

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

N302

166

Address Information

Address information (limited to 30 characters for Rail transactions)

92

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GEOGRAPHIC LOCATION
N4

N4
Segment:
Loop: N1

Geographic Location

Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:

1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.

Comments:

A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location

Notes:

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

91

N401

19

City
Name

N4
O

AN 2/30

N407

156

State or
Prov Code
X

ID

N403

2/2

116

Postal
Code
O

ID

3/15

N404

26

Country
Code

ID

N405

2/3

309

Location
Qualifier
X

ID

N406

1/2

310

Location
Identifier
O

AN 1/30

1715

Country
Subdivision
X

N402

ID

N
/
L

1/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

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

N404

26

Country Code

ID

2/3

ID

1/2

AN

1/30

ID

1/3

Code identifying the country.

N405

309

Location Qualifier
Code identifying type of location.

N406

310

Location Identifier
Code which identifies a specific location.

N407

1715

Country Subdivision Code


Code identifying the country subdivision

APRIL 2010

93

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

REFERENCE INFORMATION
REF

REF
Segment:
Loop: N1

Reference Information

Usage: Optional
Max Use: 2
Max Length: 174
Purpose: To specify identifying information
Syntax:

1 R0203
At least one of REF02 or REF03 is required.

Semantic:
Notes:

91

REF01

REF

1 REF04 is composite data element C040, but is represented by data


element 128, which is the first element within the composite.
1 See N1 Looping Structure guidelines in the Standards Conventions
chapter of the Rail Guidelines.

128

Reference
Ident Qual
M

ID

REF02

2/3

127

Reference
Identifictn
X

REF03

AN 1/80

352

Description
X

AN 1/80

REF04

128

Reference
Ident Qual
O

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

REF01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

REF02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

REF03

352

Description

AN

1/80

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

REF04

128

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identifier

94

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER

PER
Segment:
Loop: N1

Administrative Communications Contact

Usage: Optional
Max Use: 2
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

91

PER01

PER

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER09

443

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.


APRIL 2010

95

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

BILLING INFORMATION
BL

BL
Segment:
Loop: N1

Billing Information

Usage: Optional
Max Use: 12
Max Length: 144
Purpose: To identify the individual billing segments within a movement when joint rail
rates have been established between carriers but do not cover the entire
movement.
Syntax:

1 R0205
At least one of BL02 or BL05 is required.
2 R0309
At least one of BL03 or BL09 is required.
3 C0605
If BL06 is present, then BL05 is required.
4 C1009
If BL10 is present, then BL09 is required.

Semantic:

1 BL02 is the FSAC for the origin point of the rate for this portion of this
movement.
2 BL03 is the FSAC for the destination point of the rate for this portion of the
movement.
3 BL04 is the SPLC for the origin point of the rate for this portion of the
movement.
4 BL05 through BL07 is the city, state, and country for the rate for the
beginning portion of the move.
5 BL08 is the SPLC for the destination point of the rate for this portion of the
move.
6 BL09 through BL11 is the city, state, and country for the rate for ending
portion of the move.
7 BL12 is the SCAC of the first carrier participating in the rate for the move
defined in BL02 through BL11.

91

96

Notes:

1 See N1 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

BL01

BL

747

BL02

Rebill

Reason Code
M

ID

2/2

26

BL08

BL07

Country
Code

ID

BL13

140

SCAC

ID

ID

BL14

BL03

154

BL09

140

ID

ID

2/4

19

BL10

140

ID

ID

ID

BL16

2/4

156

BL11

ID

AN 2/30

140

ID

2/4

ID

BL12

2/2

140

SCAC

2/3

ID

2/4

140

N
/
L

SCAC
O

156

State or
Prov Code
O

26

BL17

BL06

Country
Code

2/2

19

City
Name

6/9

SCAC

BL05

State or
Prov Code

SCAC

154

SPLC
O

AN 2/30

BL15

BL04

1/5

City
Name

6/9

573

Freight Sta
Acct Code

1/5

SCAC

2/4

ID

SPLC

2/3

573

Freight Sta
Acct Code

ID

2/4

Data Element Summary


REF.
DES.

DATA
ELEMENT

BL01

747

NAME

Rebill Reason Code

ATTRIBUTES

ID

2/2

ID

1/5

Code identifying reason for rebill

BL02

573

Freight Station Accounting Code

Code (Freight Station Accounting) (AAR Managed Code for Locations).

BL03

573

Freight Station Accounting Code

ID

1/5

Code (Freight Station Accounting) (AAR Managed Code for Locations).

BL04

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

BL05

19

City Name

AN

2/30

ID

2/2

Free-form text for city name.

BL06

156

State or Province Code

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

BL07

26

Country Code

ID

2/3

ID

6/9

Code identifying the country.

BL08

154

Standard Point Location Code

Code (Standard Point Location) 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.

BL09

19

City Name

AN

2/30

ID

2/2

Free-form text for city name.

BL10

156

State or Province Code

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

BL11

26

Country Code

ID

2/3

ID

2/4

ID

2/4

ID

2/4

Code identifying the country.

BL12

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL13

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL14

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

APRIL 2010

97

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

BL15

140

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Standard Carrier Alpha Code

ID

2/4

ID

2/4

ID

2/4

Standard Carrier Alpha Code

BL16

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

BL17

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

98

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
STOP-OFF NAME
S1

S1
Segment:
Stop-off Name
Loop: S1 Repeat: 12
Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a stop-off party
Syntax:

1 P0304
If either S103 or S104 is present, then the other is required.

Semantic:

1 S105 will contain the railroad SCAC responsible for this stop.

Notes:

9
395

S101

S1

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

165

S102

Stop
Sequence No
M

N0

1/3

93

Name
M

S103

AN 1/60

66

ID Code
Qualifier
X

ID

1/2

S104

67

ID
Code

S105

AN 2/80

140

SCAC
O

ID

S106

2/4

190

N
/
L

Accomplish
Code
M

ID

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

S101

165

NAME

Stop Sequence Number

ATTRIBUTES

N0

1/3

Identifying number for the specific stop and the sequence in which the stop is to
be performed.

S102

93

Name

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

S103

66

Identification Code Qualifier

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


Code (67).

S104

67

Identification Code

AN

2/80

ID

2/4

ID

1/1

Code identifying a party or other code.

S105

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

S106

190

Accomplish Code
Code indicating the status of a specified stop.

APRIL 2010

99

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

STOP-OFF ADDRESS
S2

Segment:
Loop: S1

S2

Stop-off Address

Usage: Optional
Max Use: 2
Max Length: 119
Purpose: To specify the address of the stop-off party
Comments:

A S201 will contain the same stop sequence number used on a


corresponding segment S1.

Notes:

9
395

S201

S2

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

165

Stop
Sequence No
M

N0

1/3

S202

166

Address
Information
M

S203

AN 1/55

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

S201

165

NAME

Stop Sequence Number

ATTRIBUTES

N0

1/3

Identifying number for the specific stop and the sequence in which the stop is to
be performed.

S202

166

Address Information

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

S203

166

Address Information

Address information (limited to 30 characters for Rail transactions)

100

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
STOP-OFF STATION
S9

Segment:
Loop: S1

S9

Stop-off Station

Usage: Optional
Max Use: 1
Max Length: 92
Purpose: To specify location details for a stop-off
Syntax:

1 P0708
If either S907 or S908 is present, then the other is required.

Comments:

A S901 will contain the same number used on a corresponding segment S1.

Notes:

9
395

S901

S9

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

165

S902

Stop
Sequence No
M

N0

S907

1/3

309

S908

Location
Qualifier

ID

1/2

154

SPLC
ID

6/9

19

City
Name

AN 2/30

S904

156

State or
Prov Code

ID

S905

2/2

26

Country
Code
O

ID

S906

163

Stop Reason

Code

2/3

ID

2/2

310

Location
Identifier

S903

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

S901

165

NAME

Stop Sequence Number

ATTRIBUTES

N0

1/3

Identifying number for the specific stop and the sequence in which the stop is to
be performed.

S902

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

S903

19

City Name

AN

2/30

ID

2/2

Free-form text for city name.

S904

156

State or Province Code

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

S905

26

Country Code

ID

2/3

ID

2/2

ID

1/2

AN

1/30

Code identifying the country.

S906

163

Stop Reason Code


Code specifying the reason for the stop.

S907

309

Location Qualifier
Code identifying type of location.

S908

310

Location Identifier
Code which identifies a specific location.

APRIL 2010

101

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY IDENTIFICATION
N1

Segment:
Loop: S1

N1

Party Identification

Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:

1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.

Comments:

A 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.
B N105 and N106 further define the type of entity in N101.

Notes:

9
395

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

N101

98

Entity ID
Code

N1
M

ID

2/3

N102

93

Name

N103

AN 1/60

66

ID Code
Qualifier
X

ID

N104

1/2

67

ID
Code
X

N105

AN 2/80

706

Entity
Relat Code
O

ID

N106

2/2

98

Entity ID
Code
O

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N101

98

NAME

Entity Identifier Code

ATTRIBUTES

ID

2/3

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

N102

93

Name

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

N103

66

Identification Code Qualifier

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


Code (67).

N104

67

Identification Code

AN

2/80

ID

2/2

ID

2/3

Code identifying a party or other code.

N105

706

Entity Relationship Code


Code describing entity relationship.

N106

98

Entity Identifier Code

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

102

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADDITIONAL NAME INFORMATION
N2

Segment:
Loop: S1

N2

Additional Name Information

Usage: Optional
Max Use: 1
Max Length: 125
Purpose: To specify additional names
Notes:

9
395

N201

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

93

Name

N2
M

N202

AN 1/60

93

N
/
L

Name
O

AN 1/60

Data Element Summary


REF.
DES.

DATA
ELEMENT

N201

93

NAME

Name

ATTRIBUTES

AN

1/60

AN

1/60

Free-form name. (Limited to 35 for Rail Transactions)

N202

93

Name
Free-form name. (Limited to 35 for Rail Transactions)

APRIL 2010

103

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY LOCATION
N3

Segment:
Loop: S1

N3

Party Location

Usage: Optional
Max Use: 1
Max Length: 115
Purpose: To specify the location of the named party
Notes:

9
395

N301

N3

166

Address
Information
M

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

AN 1/55

N302

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

N301

166

NAME

Address Information

ATTRIBUTES

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

N302

166

Address Information

Address information (limited to 30 characters for Rail transactions)

104

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GEOGRAPHIC LOCATION
N4

Segment:
Loop: S1

N4

Geographic Location

Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:

1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.

Comments:

A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location

Notes:

9
395

N401

19

City
Name

N4
O

156

State or
Prov Code
X

ID

N403

2/2

116

Postal
Code
O

ID

3/15

N404

26

Country
Code

ID

N405

2/3

309

Location
Qualifier
X

ID

N406

1/2

310

Location
Identifier
O

AN 1/30

1715

Country
Subdivision
X

N402

AN 2/30

N407

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

ID

N
/
L

1/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

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

N404

26

Country Code

ID

2/3

ID

1/2

AN

1/30

ID

1/3

Code identifying the country.

N405

309

Location Qualifier
Code identifying type of location.

N406

310

Location Identifier
Code which identifies a specific location.

N407

1715

Country Subdivision Code


Code identifying the country subdivision

APRIL 2010

105

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ADMINISTRATIVE COMMUNICATIONS CONTACT


PER

PER
Segment:
Loop: S1

Administrative Communications Contact

Usage: Optional
Max Use: 1
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

9
395

PER01

PER

1 See Stop-off Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER09

443

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.

106

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ROUTE INFORMATION
R2

R2
Segment:
Loop: ____

Route Information

Usage: Mandatory
Max Use: 13
Max Length: 185
Purpose: To specify carrier and routing sequences and details
Syntax:

1 C0807
If R208 is present, then R207 is required.

Semantic:

1 R203 is the station or city name at which carriers interchange shipments.


2 R210 is the Billing Date.

Notes:

1
413

1 At least one occurrence of the R2 is required with a value of A, S, or


R in the R202.
2 Where more than one R2 segment is applicable each iteration of the
R2 segment must be sent in the order in which they occur in the
transportation process.

7
550

R201

140

SCAC

R2
M

ID

R207

R213

ID

2/4

296

R208

2/4

R203

ID

1/2

296

R209

Intermed
Switch Carr
O

ID

R204

AN 2/30

76

154

SPLC

Invoice
Number

2/4

19

City
Name

ID

R210

AN 1/22

373

R211

DT

8/8

177

Intermodal
Serv Code

6/9

Date

R205

ID

369

R212

AN 1/45

91

Transport
Type Code

1/2

Free-Form
Description
O

R206

ID

1/2

56

Type of
Serv Code
O

ID

2/2

742

Route
Description
O

133

Routing Seq

Code

Intermed
Switch Carr
X

R202

N
/
L

AN 1/35

Data Element Summary


REF.
DES.

DATA
ELEMENT

R201

140

NAME

ATTRIBUTES

Standard Carrier Alpha Code

ID

2/4

ID

1/2

Standard Carrier Alpha Code

R202

133

Routing Sequence Code

Code describing the relationship of a carrier to a specific shipment movement.

5505

R202 values should be transmitted in the order that they will occur
in the transportation process.
CODE

1
2

2nd Carrier after Origin Carrier


Linehaul Carrier

4683
3

APRIL 2010

1st Carrier after Origin Carrier


Linehaul Carrier

4683

4683

DEFINITION

3rd Carrier after Origin Carrier


Linehaul Carrier

107

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

4th Carrier after Origin Carrier


Linehaul Carrier

4683
5

5th Carrier after Origin Carrier


Linehaul Carrier

4683
6

6th Carrier after Origin Carrier


Linehaul Carrier

4683
7

7th Carrier after Origin Carrier


Linehaul Carrier

4683
8

8th Carrier after Origin Carrier


Linehaul Carrier

4683
9

9th Carrier after Origin Carrier


Linehaul Carrier

4683
A

Origin Carrier, Agents Routing (Rail)


Linehaul Carrier

4683
D

DELY (Delivery Switch Carrier)


See Switch guidelines in Standards Conventions Chapter

4589
H
I

Haulage Rights Carrier and Junction


Origin Switch Carrier
See Switch guidelines in Standards Conventions Chapter

4270
JD

Junction Settlement Carrier Following (Destination carrier


receiving revenues resulting from junction contract)
If used D905, D906 and D907 must be present

5162
JI
JO

Junction Settlement Carrier Intermediate


Junction Settlement Carrier Predecessor (Origin carrier
receiving revenues resulting from junction contract)
If used F905, F906 and F907 must be present

5163
M
R

Haulage Movement Carrier and Junction


Origin Carrier, Rule 11 Shipment
If any part of the shipment is Rule 11 this code must be used.
The use of the BL segment is recommended to identify the
individual billing segments within the movement.

3860

Linehaul Carrier

Origin Carrier, Shippers Routing (Rail)


Linehaul Carrier

4683
V

Intermediate Switch Carrier


Used for first intermediate switch carrier at this junction. See
Switch Guidelines in Standards Conventions chapter.

411
R203

19

City Name

AN

2/30

ID

6/9

Free-form text for city name.

Rule 260 Junctions only.

96
R204

154

Standard Point Location Code

Code (Standard Point Location) 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.

R205

177

Intermodal Service Code

ID

1/2

Code identifying the Intermodal Service Plan.

413

See Rail Data Element Dictionary

142

Required on intermodal shipments (BX02 = X) when N711 contains


CC, CH, CM, CN, CX, CZ, GS, LS, OT, PL, PT, RT or TL

108

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

R207

296

Intermediate Switch Carrier

ID

2/4

Code defining a road which neither originates nor terminates the shipment but
provides a switching service between two roadhaul rail carriers (SCAC code for
rail switch carrier).

3555

This is the second intermediate switch carrier at this junction

4656

If used, R202 must be V


R208

296

Intermediate Switch Carrier

ID

2/4

Code defining a road which neither originates nor terminates the shipment but
provides a switching service between two roadhaul rail carriers (SCAC code for
rail switch carrier).

3556

This is the third intermediate switch carrier at this junction

4656

If used, R202 must be V

APRIL 2010

109

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EMPTY CAR DISPOSITION - PENDED DESTINATION CONSIGNEE


E1

E1
Segment:
Empty Car Disposition - Pended Destination Consignee
Loop: E1 Repeat: 2
Usage: Optional
Max Use: 1
Max Length: 148
Purpose: To identify the party receiving the empty car
Syntax:

1 P0203
If either E102 or E103 is present, then the other is required.

Notes:

6
384

E101

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

93

Name

E1
M

E102

AN 1/60

66

ID Code
Qualifier
X

ID

E103

1/2

67

ID
Code
X

N
/
L

AN 2/80

Data Element Summary


REF.
DES.

DATA
ELEMENT

E101

93

NAME

Name

ATTRIBUTES

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

E102

66

Identification Code Qualifier

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


Code (67).

E103

67

Identification Code

AN

2/80

Code identifying a party or other code.

110

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
EMPTY CAR DISPOSITION - PENDED DESTINATION CITY
E4

Segment:
Loop: E1

E4

Empty Car Disposition - Pended Destination City

Usage: Mandatory
Max Use: 1
Max Length: 113
Purpose: To specify the geographic place of named party receiving the empty car
Notes:

6
384

E401

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

19

City
Name

E4
M

E402

AN 2/30

156

State or
Prov Code
M

ID

E403

2/2

116

Postal
Code
O

ID

E404

3/15

26

Country
Code
O

ID

E405

2/3

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

E401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

E402

156

State or Province Code

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

E403

116

Postal Code

ID

3/15

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

E404

26

Country Code

ID

2/3

AN

1/55

Code identifying the country.

E405

166

Address Information

Address information (limited to 30 characters for Rail transactions)

APRIL 2010

111

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EMPTY CAR DISPOSITION - PENDED DESTINATION ROUTE


E5

Segment:
Loop: E1

E5

Empty Car Disposition - Pended Destination Route

Usage: Mandatory
Max Use: 13
Max Length: 52
Purpose: To specify the routing of the empty car
Comments:

A E503 will use AAR Accounting Rule 260 for junction names (railroad
interchange location).

Notes:

6
384

E501

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

140

SCAC

E5
M

ID

E502

133

E503

Routing Seq

Code
2/4

ID

1/2

19

City
Name
O

AN 2/30

E504

154

N
/
L

SPLC

ID

6/9

Data Element Summary


REF.
DES.

DATA
ELEMENT

E501

140

NAME

Standard Carrier Alpha Code

ATTRIBUTES

ID

2/4

ID

1/2

Standard Carrier Alpha Code

E502

133

Routing Sequence Code

Code describing the relationship of a carrier to a specific shipment movement.

E503

19

City Name

AN

2/30

ID

6/9

Free-form text for city name.

E504

154

Standard Point Location Code

Code (Standard Point Location) 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.

112

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PRICE AUTHORITY IDENTIFICATION
PI

Segment:
Loop: E1

PI

Price Authority Identification

Usage: Optional
Max Use: 1
Max Length: 169
Purpose: To communicate basis of pricing, such as contract number, quote number or
tariff number
Semantic:

1 PI05 is the Price Authority Owner (or Agency) Code.


2 PI07 is the Price Authority Suffix.
3 PI08 is the Price Authority item number.
4 PI09 is the Price Authority supplement.
5 PI10 is the Price Authority section number.
6 PI11 is the Price Authority Item Number Suffix.
7 PI12 is the effective date.
8 PI13 is the expiration date.

Notes:

6
384

PI01

PI

1 See E-Segment Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

128

Reference
Ident Qual
M

ID

PI07

AN

PI13

660

PI08

DT

PI03

373

PI14

169

Tariff Item
Number

436

Primary
Pub Auth

AN 1/80

1/2

Date

127

Reference
Identifictn

2/3

Contract
Suffix

PI02

ID

PI09

AN 1/16

629

AN

PI15

173

PI10

ID

1/1

ID

629

PI16

1/1

ID

PI05

3/5

172

PI11

Tariff
Section No

1/4

Alternation
Alternation
Preced Code Preced Code
8/8

930

168

PI06

Regulatory
Tariff
Agency Code Agency Code

2/2

Tariff
Supp ID

PI04

AN

AN

AN 1/10

660

PI12

1/2

373

Date
O

DT

8/8

284

Service
Level Code
O

1/4

Contract
Suffix

1/2

ID

965

Issuing
Carrier ID

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

PI01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

PI02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

PI03

436

Primary Publication Authority

ID

2/2

ID

3/5

Code indicating type of external reference.

PI04

930

Regulatory Agency Code

Code relating to the State Regulatory Agency governing the contract.

PI05

168

Tariff Agency Code

ID

1/4

Code defining the tariff bureau or tariff publishing agent that governs the rates
applied to this shipment.
APRIL 2010

113

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

PI06

965

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Issuing Carrier Identifier

AN

1/10

AN

1/2

AN

1/16

Identification assigned by issuing carrier.

PI07

660

Contract Suffix
Used to identify a type of contract.

PI08

169

Tariff Item Number

Number assigned in the tariff to specific rate or group of rates that applies to one
or more items in the shipment.

PI09

173

Tariff Supplement Identifier

AN

1/4

AN

1/2

Identifier for the tariff supplement which contains the rate used.

PI10

172

Tariff Section Number

Number used as an extension of the basic tariff number to identify the rates
published within specific sections of the tariff.

PI11

660

Contract Suffix

AN

1/2

DT

8/8

DT

8/8

ID

1/1

Used to identify a type of contract.

PI12

373

Date
Date expressed as CCYYMMDD

PI13

373

Date
Date expressed as CCYYMMDD

PI14

629

Alternation Precedence Code

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI15

629

Alternation Precedence Code

ID

1/1

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI16

284

Service Level Code

ID

2/2

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

114

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
SPECIAL HANDLING INSTRUCTIONS
H3

H3
Segment:
Loop: ____

Special Handling Instructions

Usage: Optional
Max Use: 20
Max Length: 53
Purpose: To specify special handling instructions in coded or free-form format
Syntax:

1 E0102
Only one of H301 or H302 may be present.

Notes:

509

H301

H3

1 Not to be used for Hazardous Materials, In-Bond shipments or


Protective Service Codes

152

H302

153

Special
Special
Handle Code Handle Desc
X

ID

2/3

AN 2/30

H303

241

Protective
Serv Code
O

ID

1/4

H304

242

Vent Instr
Code

ID

H305

1/7

257

Tariff Appl
Code
O

ID

N
/
L

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

H301

152

NAME

Special Handling Code

ATTRIBUTES

ID

2/3

Code specifying special transportation handling instructions.

364

APRIL 2010

See valid code values in the Rail Data Element Dictionary

115

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PROTECTIVE SERVICE INSTRUCTIONS


PS

PS
Segment:
Loop: ____

Protective Service Instructions

Usage: Optional
Max Use: 5
Max Length: 95
Purpose: To specify mechanical protective service and ventilation instructions.
Syntax:

1 L030414
If PS03 is present, then at least one of PS04 or PS14 are required.
2 C0403
If PS04 is present, then PS03 is required.
3 C1403
If PS14 is present, then PS03 is required.

Semantic:

1 PS03 qualifies the temperature in PS04 and PS14.


2 PS04 is the optimum allowable temperature condition for shipment.
3 PS11 identifies the location of the heater. A Y indicates the heater is
ceiling-mounted; and N indicates the heater is in the body.
4 PS12 identifies whether or not the commodity is a food product. A Y
indicates the commodity is a food product; an N indicates it is a non-food
product.
5 PS13 indicates the amount of doorway space for the full width of the car. A
Y indicates the doorway space is not less than 30 inches for the full width
of the car; an N indicates it is less than 30 inches.
6 PS14 is the set temperature at service origin.

Comments:

A PS05 through PS08 are used to specify the station which the temperature
applies. PS05 and PS06 are preferred over PS07 and PS08.
B PS09 is the weight of Body Ice in hundreds.

Notes:

424

1 Due to operational concerns a PS segment must accompany any N7


equipment requiring protective service
2 Temperatures are passed in PS04 and PS14

2
459
PS01

PS

746

Protec Serv
Rule Code
M

ID

PS07

19

PS08

AN 2/30

PS13

1073

241

Protective
Serv Code

3/9

City
Name

PS02

ID

ID

PS14

156

PS09

ID

PS04

81

PS10

1/10

408

Temperature

2/2

Weight

2/2

355

Unit/Basis
Meas Code

1/4

State or
Prov Code
O

PS03

1/4

745

Pre-Cooled
Code
O

ID

1/1

PS05

140

SCAC

ID

PS11

PS06

2/4

1073

573

Freight Sta
Acct Code
O

ID

PS12

1/5

1073

Yes/No Cond
Yes/No Cond
Resp Code Resp Code
O

ID

1/1

ID

1/1

408

Yes/No Cond
Temperature N
Resp Code
/
L
O

116

ID

1/1

1/4

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

PS01

746

NAME

ATTRIBUTES

Protective Service Rule Code

ID

3/9

Association of American Railroads (AAR) Protective Service that applies to


shipment.

See Rail Data Element Dictionary

1972
PS02

241

Protective Service Code

ID

1/4

ID

2/2

Code specifying perishable protective service- rail carriers only.

Pass the code values only.

4274

CODE

D
HDN
HDNC
HSC
M
MN
MNU
PS03

355

DEFINITION

Discontinue Service
Do Not Heat
Do Not Heat in Canada
Standard Heating In Canada
Standard Mechanical Protective Service
Modified Mechanical Protective Service
Do Not Operate

Unit or Basis for Measurement Code

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

CE
FA
PS04

408

DEFINITION

Centigrade, Celsius
Fahrenheit

Temperature

1/4

ID

2/4

ID

1/5

Temperature.

This is the optimum temperature for the shipment

145
PS05

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

PS06

573

Freight Station Accounting Code

Code (Freight Station Accounting) (AAR Managed Code for Locations).

PS07

19

City Name

AN

2/30

Free-form text for city name.

Limited to the Rail 19 character station name as defined in the AAR


Centralized Station Master

3954
PS08

156

State or Province Code

ID

2/2

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

PS10

745

Pre-Cooled (Rule 710) Code

ID

1/1

Code indicating whether or not the shipment was precooled per Association of
American Railroads Protective Service Rule 710.
CODE

Y
PS11

1073

DEFINITION

Yes

Yes/No Condition or Response Code

ID

1/1

Code indicating a Yes or No condition or response.


CODE

N
Y

APRIL 2010

DEFINITION

No
Yes

117

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

PS12

1073

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Yes/No Condition or Response Code

ID

1/1

ID

1/1

1/4

Code indicating a Yes or No condition or response.


CODE

N
Y
PS13

1073

DEFINITION

No
Yes

Yes/No Condition or Response Code


Code indicating a Yes or No condition or response.
CODE

N
Y
PS14

408

DEFINITION

No
Yes

Temperature
Temperature.

4577

118

Set temperature at service origin

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
TRANSACTION SET LINE NUMBER
LX

LX Transaction Set Line Number


Segment:
Loop: LX Repeat: 25
Usage: Mandatory
Max Use: 1
Max Length: 10
Purpose: To reference a line number in a transaction set.
Notes:

1
197

LX01

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

554

Assigned
Number

LX
M

N0

1/6

Data Element Summary


REF.
DES.

DATA
ELEMENT

LX01

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

Number assigned for differentiation within a transaction set.

APRIL 2010

119

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

DESCRIPTION,, MARKS AND NUMBERS


L5

Segment:
Loop: LX

L5

Description, Marks and Numbers

Usage: Mandatory
Max Use: 15
Max Length: 187
Purpose: To specify the line item in terms of description, quantity, packaging, and marks
and numbers.
Syntax:

1 P0304
If either L503 or L504 is present, then the other is required.
2 C0706
If L507 is present, then L506 is required.
3 P0809
If either L508 or L509 is present, then the other is required.

Comments:

A L502 may be used to send quantity information as part of the product


description.

Notes:

1
197

L501

L5

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

213

Lading Line
Item Number
O

N0

L507

ID

88

L508

1/2

79

Lading
Description

1/6

Marks and
Number Qual
O

L502

AN 1/50

ID

L509

1/1

22

Commodity
Code
X

23

Commodity
Code Qual
X

L503

AN 1/30

23

Commodity
Code Qual
X

22

Commodity
Code
X

L504

ID

L510

L505

1/1

103

Packaging
Code
O

AN

L506

3/5

87

Marks and
Numbers
X

AN 1/48

595

Compartment N

/
ID Code
L

AN 1/30

ID

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

L501

213

NAME

Lading Line Item Number

ATTRIBUTES

N0

1/6

AN

1/50

AN

1/30

ID

1/1

Sequential line number for a lading item.

L502

79

Lading Description

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

L503

22

Commodity Code
Code describing a commodity or group of commodities.

L504

23

Commodity Code Qualifier

Code identifying the commodity coding system used for Commodity Code.

L505

103

Packaging Code

AN

3/5

Code identifying the type of packaging. Part 1. Packaging form. Part 2. Packaging
Material.

L506

87

Marks and Numbers

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment.

L507

88

Marks and Numbers Qualifier

ID

1/2

Code specifying the application or source of Marks and Numbers (87).

L508

23

Commodity Code Qualifier

ID

1/1

Code identifying the commodity coding system used for Commodity Code.

120

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

L509

22

Commodity Code

AN

1/30

ID

1/1

Code describing a commodity or group of commodities.

L510

595

Compartment ID Code

Code identifying the compartment in a compartmentalized tank car.

APRIL 2010

121

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

LINE ITEM - QUANTITY AND WEIGHT


L0

L0
Segment:
Line Item - Quantity and Weight
Loop: LX/L0 Repeat: 25
Usage: Optional
Max Use: 1
Max Length: 115
Purpose: To specify quantity, weight, volume and type of service for a line item including
applicable quantity/rate-as data.
Syntax:

1 P0203
If either L002 or L003 is present, then the other is required.
2 P0405
If either L004 or L005 is present, then the other is required.
3 P0607
If either L006 or L007 is present, then the other is required.
4 P0809
If either L008 or L009 is present, then the other is required.
5 C1104
If L011 is present, then L004 is required.
6 P1315
If either L013 or L015 is present, then the other is required.

Semantic:

1 L008 is the number of handling units of the line item tendered to the carrier.
2 L013 can only be used if the code in L009 is PLT, SKD or SLD.
3 L015 designates whether the carrier will be required to verify the number of
units contained on a pallet, slip sheet or skid. Code Y indicates that the
carrier will be required to verify. Code N indicates that the carrier will not
be required to verify.

Notes:

1
197

L001

L0

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

213

L002

Lading Line
Item Number
O

N0

L007

1/6

184

L008

Volume Unit

Qualifier
X

ID

L013

122

380

L014

1/15

N0

1/7

211

ID

3/3

221

Billed/
Rated Qual
X

80

Packaging
Form Code
O

L003

1/11

Lading
Quantity

1/1

Quantity

220

Billed/
Rated Qty

ID

L009

ID

L015

211

L010

3/3

81

Weight

2/2

Packaging
Form Code
X

L004

458

L011

AN 2/25

187

Weight
Qualifier

1/10

Dunnage
Description
O

L005

ID

ID

188

L012

1/1

183

Volume

1/2

Weight Unit
Code
O

L006

1/8

56

Type of
Serv Code
O

ID

2/2

1073

Yes/No Cond N
Resp Code /
L
X

ID

1/1

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

L001

213

NAME

Lading Line Item Number

ATTRIBUTES

N0

1/6

1/11

Sequential line number for a lading item.

L002

220

Billed/Rated-as Quantity

Basis for rating (miles, value, volume, etc.). Note: Weight may be defined by
either data element 220 or 81.

L003

221

Billed/Rated-as Qualifier

ID

2/2

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

L004

81

Weight

1/10

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

L005

187

Weight Qualifier

ID

1/2

1/8

ID

1/1

N0

1/7

ID

3/3

AN

2/25

ID

1/1

ID

2/2

1/15

ID

3/3

ID

1/1

Code defining the type of weight.

L006

183

Volume
Value of volumetric measure.

L007

184

Volume Unit Qualifier


Code identifying the volume unit.

L008

80

Lading Quantity
Number of units (pieces) of the lading commodity.

L009

211

Packaging Form Code


Code for packaging form of the lading quantity

L010

458

Dunnage Description
Material used to protect lading.

L011

188

Weight Unit Code


Code specifying the weight unit

L012

56

Type of Service Code


Code specifying extent of transportation service requested.

L013

380

Quantity
Numeric value of quantity.

L014

211

Packaging Form Code


Code for packaging form of the lading quantity

L015

1073

Yes/No Condition or Response Code


Code indicating a Yes or No condition or response.

APRIL 2010

123

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

MEASUREMENTS
MEA

MEA
Segment:
Loop: LX/L0

Measurements

Usage: Optional
Max Use: 3
Max Length: 126
Purpose: To specify physical measurements or counts, including dimensions, tolerances,
variances, and weights
Syntax:

1 R03050608
At least one of MEA03, MEA05, MEA06 or MEA08 is required.
2 E0412
Only one of MEA04 or MEA12 may be present.
3 L050412
If MEA05 is present, then at least one of MEA04 or MEA12 are required.
4 L060412
If MEA06 is present, then at least one of MEA04 or MEA12 are required.
5 L07030506
If MEA07 is present, then at least one of MEA03, MEA05 or MEA06 are
required.
6 E0803
Only one of MEA08 or MEA03 may be present.
7 P1112
If either MEA11 or MEA12 is present, then the other is required.

Semantic:

1 MEA04 defines the unit of measure for MEA03, MEA05, and MEA06.
2 MEA04 is a composite data element, C001, which contains 15 simple data
elements. The Rail Industry only uses the first component of the composite,
data element 355. This implementation guideline reflects that decision by
substituting 355 for C001, which is syntactically correct.
3 MEA11 is the external code list for the unit of measure.
4 MEA12 defines the unit of measure for MEA03, MEA05, and MEA06 from
external code list.

Comments:

A When citing dimensional tolerances, any measurement requiring a sign (+


or -), or any measurement where a positive (+) value cannot be assumed
use MEA05 as the negative (-) value and MEA06 as the positive (+) value.

Notes:

1 See L5/L0 looping structure in Standards Conventions chapter of the


guideline

0
352

MEA01

MEA

ID

MEA07

MEA02

738

2/2

ID

MEA03

935

MEA08

1/3

936

MEA09

Measurement
Measurement
Attrib Code
Sig Code
O

124

737

739

MEA04

Measurement
Measurement
Measurement
Ref ID Code

Qualifier
Value

ID

2/2

ID

2/2

1/20

ID

752

Layer/Posit
Code
2/2

ID

MEA10

355

Unit/Basis
Meas Code

MEA05

2/2

1373

Measurement

Method
O

ID

2/4

740

Range
Minimum
X

MEA11

ID

1270

1/3

741

Range
Maximum

1/20

Code List
Qual Code
X

MEA06

MEA12

1/20

1271

Industry
Code

N
/
L

AN 1/30

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Data Element Summary


REF.
DES.

DATA
ELEMENT

MEA01

737

NAME

Measurement Reference ID Code

ATTRIBUTES

ID

2/2

Code identifying the broad category to which a measurement applies

MEA02

738

Measurement Qualifier

ID

1/3

Code identifying a specific product or process characteristic to which a


measurement applies

MEA03

739

Measurement Value

1/20

ID

2/2

The value of the measurement.

MEA04

355

Unit or Basis for Measurement Code

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

MEA05

740

Range Minimum

1/20

1/20

ID

2/2

The value specifying the minimum of the measurement range.

MEA06

741

Range Maximum

The value specifying the maximum of the measurement range.

MEA07

935

Measurement Significance Code

Code used to benchmark, qualify or further define a measurement value.

MEA08

936

Measurement Attribute Code

ID

2/2

Code used to express an attribute response when a numeric measurement value


cannot be determined.

MEA09

752

Surface/Layer/Position Code

ID

2/2

Code indicating the product surface, layer or position that is being described.

MEA10

1373

Measurement Method or Device

ID

2/4

ID

1/3

AN

1/30

The method or device used to record the measurement

MEA11

1270

Code List Qualifier Code


Code identifying a specific industry code list

MEA12

1271

Industry Code
Code indicating a code from a specific industry code list

APRIL 2010

125

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PRICE AUTHORITY IDENTIFICATION


PI

PI
Segment:
Price Authority Identification
Loop: LX/L0/PI Repeat: 30
Usage: Optional
Max Use: 1
Max Length: 169
Purpose: To communicate basis of pricing, such as contract number, quote number or
tariff number
Semantic:

1 PI05 is the Price Authority Owner (or Agency) Code.


2 PI07 is the Price Authority Suffix.
3 PI08 is the Price Authority item number.
4 PI09 is the Price Authority supplement.
5 PI10 is the Price Authority section number.
6 PI11 is the Price Authority Item Number Suffix.
7 PI12 is the effective date.
8 PI13 is the expiration date.

Notes:

1
197

PI01

PI

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

128

Reference
Ident Qual
M

ID

PI07

AN

PI13

660

PI08

DT

PI03

373

PI14

169

Tariff Item
Number

436

Primary
Pub Auth

AN 1/80

1/2

Date

127

Reference
Identifictn

2/3

Contract
Suffix

PI02

ID

PI09

AN 1/16

629

AN

PI15

173

PI10

ID

1/1

ID

629

PI16

1/1

ID

PI05

3/5

172

PI11

Tariff
Section No

1/4

Alternation
Alternation
Preced Code Preced Code
8/8

930

168

PI06

Regulatory
Tariff
Agency Code Agency Code

2/2

Tariff
Supp ID

PI04

AN

AN

AN 1/10

660

PI12

1/2

373

Date
O

DT

8/8

284

Service
Level Code
O

1/4

Contract
Suffix

1/2

ID

965

Issuing
Carrier ID

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

PI01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

PI02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

PI03

436

Primary Publication Authority

ID

2/2

ID

3/5

Code indicating type of external reference.

PI04

930

Regulatory Agency Code

Code relating to the State Regulatory Agency governing the contract.

PI05

168

Tariff Agency Code

ID

1/4

Code defining the tariff bureau or tariff publishing agent that governs the rates
applied to this shipment.

126

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PI06

965

Issuing Carrier Identifier

AN

1/10

AN

1/2

AN

1/16

Identification assigned by issuing carrier.

PI07

660

Contract Suffix
Used to identify a type of contract.

PI08

169

Tariff Item Number

Number assigned in the tariff to specific rate or group of rates that applies to one
or more items in the shipment.

PI09

173

Tariff Supplement Identifier

AN

1/4

AN

1/2

Identifier for the tariff supplement which contains the rate used.

PI10

172

Tariff Section Number

Number used as an extension of the basic tariff number to identify the rates
published within specific sections of the tariff.

PI11

660

Contract Suffix

AN

1/2

DT

8/8

DT

8/8

ID

1/1

Used to identify a type of contract.

PI12

373

Date
Date expressed as CCYYMMDD

PI13

373

Date
Date expressed as CCYYMMDD

PI14

629

Alternation Precedence Code

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI15

629

Alternation Precedence Code

ID

1/1

Code identifying the priority of rate application when two or more rates apply to a
given movement. If rate application includes two or more rates of the same value
for this element, individual carrier rules and procedures shall govern.

PI16

284

Service Level Code

ID

2/2

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

APRIL 2010

127

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

SHIPMENT CONDITIONS
CD

CD
Segment:
Loop: LX/L0/PI

Shipment Conditions

Usage: Optional
Max Use: 10
Max Length: 110
Purpose: To specify condition restrictions or provisions applicable to the rate docket.
Syntax:

1 E0208
Only one of CD02 or CD08 may be present.
2 R0208
At least one of CD02 or CD08 is required.
3 C0302
If CD03 is present, then CD02 is required.
4 C0402
If CD04 is present, then CD02 is required.
5 C0502
If CD05 is present, then CD02 is required.
6 P080910
If either CD08, CD09 or CD10 are present, then the others are required.
7 C11080910
If CD11 is present, then CD08, CD09 and CD10 are required.

Semantic:

1 CD08 is the Standard Carrier Alpha Code (SCAC) of the group docket
owner.

Notes:

1
197

CD01

CD

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

495

CD02

Condition
Seg Connect
M

AN

CD07

1/3

259

CD08

Change Type

Code
O

ID

1/1

498

Condition
Code
ID

ID

140

CD09

2/4

499

Condition
Value

4/4

SCAC
X

CD03

697

AN

1/7

499

Condition
Value

AN 1/10

Docket Ctrl
Number
X

CD04

690

Docket
ID

499

Condition
Value

AN 1/10

CD10

CD05

AN 1/11

N0

1/6

260

Group
Title
O

554

Assigned
Number

AN 1/10

CD11

CD06

N
/
L

AN 2/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

CD01

495

NAME

Condition Segment Logical Connector

ATTRIBUTES

AN

1/3

Code indicating how a specific segments statement of a rate restriction is


evaluated, and its relationship to rate restrictions stated within other segments of
the same segment definition. This is a three-part code constructed as follows:
position one valid codes are P or M; position two valid codes are A, O, or I;
position three may be any alphanumeric character for grouping.

CD02

498

Condition Code

ID

4/4

Code defined in the official railway equipment register which identifies the type of
restriction or provision applicable to a rate. When combined with element 499, a
specific rate restriction or provision is represented.

128

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CD03

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD04

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD05

499

Condition Value

AN

1/10

Identifies rate restrictions or provisions of a type identified with data element 498.
When combined with 498, a specific rate restriction or provision is represented.

CD06

554

Assigned Number

N0

1/6

ID

1/1

ID

2/4

AN

1/7

Number assigned for differentiation within a transaction set.

CD07

259

Change Type Code


Code indicating change type.

CD08

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

CD09

697

Docket Control Number

A grouping identification which, when combined with elements 140 and 690,
provides a unique identity to a parcel of ratemaking activity.

CD10

690

Docket Identification

AN

1/11

A sequence number which, when combined with elements 140 and 697, provides
a unique identity to a parcel of ratemaking activity.

CD11

260

Group Title

AN

2/30

The descriptive title of a data group.

APRIL 2010

129

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EXPORT LICENSE
X1

Segment:
Loop: LX

X1

Export License

Usage: Optional
Max Use: 6
Max Length: 230
Purpose: To transmit information contained on an export license
Semantic:

1 X104 is the Export License Expiration Date.


2 X116 is the export classification code number (ECCN).
3 X117 specifies the Census Schedule D code for the central location where
the Shippers Export Declaration forms have been filed.

Notes:

1
197

1 See L5/L0 Looping Structure guidelines in the Standards Conventions


chapter of the Rail Guidelines.

X101

X1

83

X102

Licensing
Agency Code
O

ID

1/2

26

X108

X107

Country
Code

ID

X113

ID

355

X114

2/2

ID

ID

X109

X104

212

X115

ID

1/1

210

X110

1/1

1/17

AN

DT

N0

X116

1/1

8/8

80

X111

52

ID

X106

1/7

67

X117

148

X112

2/9

48

ID

1/1

47

Export File
Key Code
O

ID

1/1

310

Location
Identifier

AN 2/80

1/2

Lading
Value

ID
Code

X105

Export Lic
Export Lic
Symbol Code Contrl Code

Lading
Quantity
O

1306

US Govt Lic

Type

373

Date

Internatl/
Domest Code

7/10

Unit
Price

51

Export Lic
Status Code

141

Schedule B
Code

X103

AN 6/35

2/3

Unit/Basis
Meas Code
O

50

Export Lic
Number

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

X101

83

NAME

Licensing Agency Code

ATTRIBUTES

ID

1/2

AN

6/35

ID

1/1

Code for licensing agency.

X102

50

Export License Number


Government assigned identification number for exporter.

X103

51

Export License Status Code

Code defining whether the shipment completes the terms of the license, or the
shipment is only a partial delivery relative to the license terms.

X104

373

Date

DT

8/8

ID

1/2

ID

1/1

ID

2/3

ID

7/10

Date expressed as CCYYMMDD

X105

52

Export License Symbol Code

Code which specifies the export symbol marked on a shipment.

X106

48

Export License Control Code

Code indicating the type of control applicable to the export license.

X107

26

Country Code
Code identifying the country.

X108

141

Schedule B Code

Code identifying commodity number established for international statistical


purposes.

130

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

X109

210

International/Domestic Code

ID

1/1

N0

1/7

2/9

Code indicating international or domestic shipment.

X110

80

Lading Quantity
Number of units (pieces) of the lading commodity.

X111

148

Lading Value

Value of shipment for export, expressed in the standard monetary denomination


for the currency specified.

X112

47

Export Filing Key Code

ID

1/1

ID

2/2

Code indicating the type of communications with customs.

X113

355

Unit or Basis for Measurement Code

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

X114

212

Unit Price

1/17

AN

1/1

AN

2/80

AN

1/30

Price per unit of product, service, commodity, etc.

X115

1306

U.S. Government License Type


Code to identify the type of government license involved

X116

67

Identification Code
Code identifying a party or other code.

X117

310

Location Identifier
Code which identifies a specific location.

APRIL 2010

131

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

TRANSIT INBOUND ORIGIN


T1

T1
Segment:
Transit Inbound Origin
Loop: T1 Repeat: 64
Usage: Optional
Max Use: 1
Max Length: 171
Purpose: To specify origin point and waybill references of movement to transit waybill
point
Syntax:

1 P0506
If either T105 or T106 is present, then the other is required.
2 P1011
If either T110 or T111 is present, then the other is required.

Semantic:

1 Related T1, T2, and T3 segments have the same transit sequence number
value in the first data element.
2 T102 will contain the inbound shipment waybill numbers.
3 T103 will contain the inbound shipment waybill date.
4 T104 is the SCAC of the Origin Carrier
5 T105 is the Origin Station of Movement
6 T110 and T111 are used on Local Transit only, to convey the previous
Inbound Transit Bill of Lading Number or Shipment Identification Number

Notes:

7
476

T101

1 See Transit Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

554

Assigned
Number

T1
M

N0

T107

ID

154

T108

6/9

186

Waybill
Number

1/6

SPLC

T102

N0

1/6

229

T109

AN

1/6

373

Date

Transit
Register No
O

T103

DT

ID

8/8

461

T110

1/3

140

SCAC

Transit
Level Code
O

T104

ID

ID

2/4

128

T111

T106

AN 2/30

156

State or
Prov Code
X

ID

2/2

127

Reference
Identifictn

2/3

19

City
Name

Reference
Ident Qual

T105

N
/
L

AN 1/80

Data Element Summary


REF.
DES.

DATA
ELEMENT

T101

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

N0

1/6

Number assigned for differentiation within a transaction set.

T102

186

Waybill Number

Carrier accounting number of the waybill for the inbound movement.

T103

373

Date

DT

8/8

ID

2/4

AN

2/30

ID

2/2

Date expressed as CCYYMMDD

T104

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

T105

19

City Name
Free-form text for city name.

T106

156

State or Province Code

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

132

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

T107

154

Standard Point Location Code

ID

6/9

Code (Standard Point Location) 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.

T108

229

Transit Registration Number

AN

1/6

ID

1/3

ID

2/3

AN

1/80

Freight bill or bureau number used to identify a transit shipment.

T109

461

Transit Level Code


Code indicating level of inbound transit references.

T110

128

Reference Identification Qualifier


Code qualifying the Reference Identifier

T111

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

APRIL 2010

133

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

TRANSIT INBOUND LADING


T2

Segment:
Loop: T1

T2

Transit Inbound Lading

Usage: Optional
Max Use: 30
Max Length: 185
Purpose: To specify lading description, including weight and rate details applying to
associated T1 segment
Syntax:

1 P0506
If either T205 or T206 is present, then the other is required.
2 P0708
If either T207 or T208 is present, then the other is required.

Semantic:

1 T203 is the Transit Portion Weight from Inbound Movement


2 City in T209 is used for combination through rate city.
3 City in T210 is used for combination paid-in city.

Comments:

A Related T1, T2, and T3 segments have the same transit sequence number
value in the first data element.
B T205 is the Through-Freight-Rate that applies to the shipment from the
point of origin inland movement to the point of destination of the current
movement.
C T207 is the Paid-In-Rate basis of the Paid-In portion of the shipment.

Notes:

7
476

T201

T2

1 See Transit Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

554

Assigned
Number

N0

T207

60

T208

1/15

79

T203

Lading

1/6

Freight
Rate

T202

AN 1/50

122

Rate/Value
Qualifier
ID

81

Weight

Description

T209

2/2

1/10

AN 2/30

187

Weight
Qualifier
O

19

City
Name

T204

ID

T210

60

Freight
Rate

1/2

19

T211

City
Name

T205

T206

122

Rate/Value
Qualifier

1/15

ID

462

T212

2/2

463

N
Through
Paid-In
Surcharge % Surcharge % /
L

AN 2/30

N2

2/4

N2

2/4

Data Element Summary


REF.
DES.

DATA
ELEMENT

T201

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

AN

1/50

1/10

Number assigned for differentiation within a transaction set.

T202

79

Lading Description

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

T203

81

Weight

Numeric value of weight. (Limited to 8 characters for Rail Transactions.)

T204

187

Weight Qualifier

ID

1/2

1/15

Code defining the type of weight.

T205

60

Freight Rate
Rate that applies to the specific commodity.

134

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

T206

122

Rate/Value Qualifier

ID

2/2

1/15

ID

2/2

AN

2/30

AN

2/30

N2

2/4

Code qualifying how to extend charges or interpret value.

T207

60

Freight Rate
Rate that applies to the specific commodity.

T208

122

Rate/Value Qualifier
Code qualifying how to extend charges or interpret value.

T209

19

City Name
Free-form text for city name.

T210

19

City Name
Free-form text for city name.

T211

462

Through Surcharge Percent

Percentage of through freight charges to be charged extra as a surcharge.

T212

463

Paid-In Surcharge Percent

N2

2/4

Percentage of paid-in freight charges to be charged extra as a surcharge.

APRIL 2010

135

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

TRANSIT INBOUND ROUTE


T3

Segment:
Loop: T1

T3

Transit Inbound Route

Usage: Optional
Max Use: 12
Max Length: 80
Purpose: To specify transit inbound routing including equipment identifications for
associated T1 and T2 segments
Syntax:

1 P0607
If either T306 or T307 is present, then the other is required.

Semantic:

1 T306 will contain the equipment initial of the inbound car.


2 T307 will contain the equipment number of the inbound car.

Comments:

A Related T1, T2, and T3 segments have the same transit sequence number
value in the first data element.
B T304 is the station or city name at which carriers interchange shipments.
T304 will contain the AAR Accounting Rule 260 junction rule.

Notes:

7
476

T301

554

Assigned
Number

T3
M

T307

1 See Transit Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

N0

140

SCAC

1/6

ID

T303

133

T304

Routing Seq

Code
2/4

ID

1/2

19

City
Name
O

T305

AN 2/30

154

SPLC
O

ID

T306

6/9

206

Equipment
Initial
X

AN

1/4

207

Equipment
Number
X

T302

N
/
L

AN 1/15

Data Element Summary


REF.
DES.

DATA
ELEMENT

T301

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

ID

2/4

ID

1/2

Number assigned for differentiation within a transaction set.

T302

140

Standard Carrier Alpha Code


Standard Carrier Alpha Code

T303

133

Routing Sequence Code

Code describing the relationship of a carrier to a specific shipment movement.

T304

19

City Name

AN

2/30

ID

6/9

Free-form text for city name.

T305

154

Standard Point Location Code

Code (Standard Point Location) 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.

T306

206

Equipment Initial

AN

1/4

Prefix or alphabetic part of an equipment units identifying number. (Limited to 2/4


for Rail Transactions.)

136

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

T307

207

Equipment Number

AN

1/15

Sequencing or serial part of an equipment units identifying number (pure numeric


form for equipment number is preferred).

APRIL 2010

137

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

TRANSIT INBOUND RATES


T6

Segment:
Loop: T1

T6

Transit Inbound Rates

Usage: Optional
Max Use: 1
Max Length: 110
Purpose: To identify the transit inbound prior origin point and waybill reference of
movement to point specified in T1 segment
Syntax:

1 P0203
If either T602 or T603 is present, then the other is required.
2 P0506
If either T605 or T606 is present, then the other is required.

Semantic:

1 T602 is the Through-Freight-Rate that applies to the shipment from the


point of origin of the inland movement to the point of destination of the
current billing movement.
2 "City" in T604 is used for combination through rate city.
3 T605 is the Paid-In-Rate basis of the Paid-In portion of the shipment.

Comments:

A T601 must contain the same number that is on the corresponding T1


segment.
B "City" in T607 is used for combination paid-in rate city.

Notes:

7
476

T601

1 See Transit Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

554

Assigned
Number

T6
M

N0

T603

1/15

122

Rate/Value
Qualifier
X

ID

T604

2/2

19

City
Name
O

T605

AN 2/30

60

Freight
Rate
X

T606

1/15

122

Rate/Value
Qualifier
X

ID

2/2

19

N
/
L

City
Name
O

60

Freight
Rate

1/6

T607

T602

AN 2/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

T601

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

1/15

ID

2/2

AN

2/30

1/15

ID

2/2

Number assigned for differentiation within a transaction set.

T602

60

Freight Rate
Rate that applies to the specific commodity.

T603

122

Rate/Value Qualifier
Code qualifying how to extend charges or interpret value.

T604

19

City Name
Free-form text for city name.

T605

60

Freight Rate
Rate that applies to the specific commodity.

T606

122

Rate/Value Qualifier
Code qualifying how to extend charges or interpret value.

138

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

T607

19

City Name

AN

2/30

Free-form text for city name.

APRIL 2010

139

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

FREE-FORM TRANSIT DATA


T8

Segment:
Loop: T1

T8

Free-form Transit Data

Usage: Optional
Max Use: 99
Max Length: 91
Purpose: To transmit information in a free-form format relating to a specified transit
sequence number
Comments:

A T801 must contain the same transit sequence number that is on the
corresponding T1.

Notes:

7
476

T801

T8

1 See Transit Looping Structure guidelines in the Standards


Conventions chapter of the Rail Guidelines.

554

Assigned
Number

N0

1/6

T802

299

Trans Freeform Data


M

N
/
L

AN 1/80

Data Element Summary


REF.
DES.

DATA
ELEMENT

T801

554

NAME

Assigned Number

ATTRIBUTES

N0

1/6

AN

1/80

Number assigned for differentiation within a transaction set.

T802

299

Transit Free-form Data


Free-form data relative to inbound transit information.

140

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
LOOP HEADER
LS

LS
Segment:
Loop: ____

Loop Header

Usage: Optional
Max Use: 1
Max Length: 10
Purpose: To indicate that the next segment begins a loop
Syntax:

1 One loop may be nested contained within another loop, provided the inner
nested loop terminates before the outer loop. When specified by the
standard setting body as mandatory, this segment in combination with
LE, must be used. It is not to be used if not specifically set forth for use.
The loop identifier in the loop header and trailer must be identical. The
value for the identifier is the loop ID of the required loop beginning
segment. The loop ID number is given on the transaction set diagram in the
appropriate ASC X12 version/release.

Comments:

A See Figures Appendix for an explanation of the use of the LS and LE


segments.

Notes:

1
199

LS01

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

447

Loop ID
Code

LS
M

AN

1/6

Data Element Summary


REF.
DES.

DATA
ELEMENT

LS01

447

NAME

Loop Identifier Code

ATTRIBUTES

AN

1/6

Code identifying a loop within the transaction set which is bounded by the related
LS and LE segments (corresponding LS and LE segments must have the same
value for loop identifier). (Note: The loop ID number given on the transaction set
diagram is recommended as the value for this data element in segments LS and
LE.)

APRIL 2010

141

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

HAZARDOUS IDENTIFICATION INFORMATION


LH1

LH1 Hazardous Identification Information


Segment:
Loop: LH1 Repeat: 1000
Usage: Optional
Max Use: 1
Max Length: 124
Purpose: To specify the hazardous commodity identification reference number and
quantity.
Syntax:

1 P0607
If either LH106 or LH107 is present, then the other is required.

Semantic:

1 LH112 is the packaging form code for the non-bulk container passed in the
LH101 as defined in 49 CFR 178 and required by 49 CFR 172. (See Code
Source 937)

Comments:

A LH101 and LH102 are used to convey the number and type of packages for
bulk and non-bulk movements.
B LH106 and LH107 are used to convey the quantity or volume and unit of
measure for shipments.
C In LH109, a value of R or P requires that the receiver generate the words
RESIDUE: LAST CONTAINED prior to the shipping name in accordance
with regulations.

Notes:

1
199

LH101

LH1

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

355

Unit/Basis
Meas Code
M

ID

LH107

380

80

Lading
Quantity

2/2

Quantity

LH102

N0

LH108

LH103

1/7

595

LH109

Compartment

ID Code

1/15

ID

1/1

277

UN/NA
ID Code
ID

ID

665

LH110

1/1

200

Haz Mat
Page

6/6

Residue
Indic Code
O

LH104

AN

LH105

1/6

254

LH111

Packing
Group Code
O

ID

1/3

22

Commodity
Code

AN 1/30

AN

ID

LH112

2/2

1271

Industry
Code

1/5

355

Unit/Basis
Meas Code
X

1375

Interim Haz
Mat Reg No
O

LH106

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

LH101

355

NAME

Unit or Basis for Measurement Code

ATTRIBUTES

ID

2/2

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

LH102

80

Lading Quantity

N0

1/7

ID

6/6

Number of units (pieces) of the lading commodity.

LH103

277

UN/NA Identification Code

Code identifying the hazardous material identification number as required by Title


49 of the code of Federal Regulators. UN/NA stands for United Nations/North
America.

LH104

200

Hazardous Materials Page

AN

1/6

The United Nations page number as required for the international transport of
hazardous materials

142

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

LH105

22

Commodity Code

AN

1/30

ID

2/2

Code describing a commodity or group of commodities.

LH106

355

Unit or Basis for Measurement Code

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

LH107

380

Quantity

1/15

ID

1/1

ID

1/1

Numeric value of quantity.

LH108

595

Compartment ID Code

Code identifying the compartment in a compartmentalized tank car.

LH109

665

Residue Indicator Code

Code indicating that the shipment is not a loaded movement but contains a
residue from a prior movement.

LH110

254

Packing Group Code

ID

1/3

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

LH111

1375

Interim Hazardous Material Regulatory Number

AN

1/5

Identifies the current regulatory version number used for hazardous materials
shipments

LH112

1271

Industry Code

AN

1/30

Code indicating a code from a specific industry code list

APRIL 2010

143

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

HAZARDOUS CLASSIFICATION INFORMATION


LH2

LH2
Segment:
Loop: LH1

Hazardous Classification Information

Usage: Optional
Max Use: 4
Max Length: 144
Purpose: To specify the hazardous notation and endorsement information.
Trans. Set Notes:

1. If the hazardous endorsement (LH204) is NONE, then use of LH204 is


mandatory. However, the receiver must consider it to be blanks when
printing a paper document.

Syntax:

1 P0607
If either LH206 or LH207 is present, then the other is required.
2 P0809
If either LH208 or LH209 is present, then the other is required.
3 P1011
If either LH210 or LH211 is present, then the other is required.
4 P1213
If either LH212 or LH213 is present, then the other is required.

Semantic:

1 LH206 and LH207 indicate the flashpoint temperature.


2 LH208 and LH209 indicate the control temperature
3 LH210 and LH211 indicate the emergency temperature
4 LH212 and LH213 indicate the net explosive weight.

Notes:

1
199

LH201

LH2

215

Hazardous
Class
O

ID

LH207

LH213

408

LH208

1/4

983

Hazardous
Class Qual
O

ID

ID

355

LH209

2/2

218

Hazardous
Plac Note

1/1

Unit/Basis
Meas Code
X

LH203

408

1/4

222

LH205

Hazardous
Endorsement

ID 14/40

Temperature
X

LH204

ID

LH210

4/25

355

LH211

Unit/Basis
Meas Code
X

ID

2/2

759

Reportable
Qty Code
ID

408

LH212

1/4

355

Unit/Basis
Meas Code

2/2

Temperature
X

LH206

ID

2/2

188

Weight Unit
Code
X

ID

1/1

267

Explos Qty
Net
X

LH202

1/30

Temperature
X

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

N
/
L

N0 1/10

Data Element Summary


REF.
DES.

DATA
ELEMENT

LH201

215

NAME

Hazardous Classification

ATTRIBUTES

ID

1/30

The hazardous classification corresponding to the shipping name of the


hazardous commodity.

144

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

LH202

983

Hazardous Class Qualifier

ID

1/1

ID

14/40

Code qualifying hazardous class.

LH203

218

Hazardous Placard Notation

The hazardous placard notation corresponding to the shipping name of the


hazardous commodity.

LH204

222

Hazardous Endorsement

ID

4/25

The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.

LH205

759

Reportable Quantity Code

ID

2/2

ID

2/2

Code to identify presence of hazardous substance.

LH206

355

Unit or Basis for Measurement Code

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

LH207

408

Temperature

1/4

ID

2/2

Temperature.

LH208

355

Unit or Basis for Measurement Code

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

LH209

408

Temperature

1/4

ID

2/2

Temperature.

LH210

355

Unit or Basis for Measurement Code

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

LH211

408

Temperature

1/4

ID

1/1

N0

1/10

Temperature.

LH212

188

Weight Unit Code


Code specifying the weight unit

LH213

267

Net Explosive Quantity

Net weight of the explosive quantity of the hazardous commodity.

APRIL 2010

145

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

HAZARDOUS MATERIAL SHIPPING NAME INFORMATION


LH3

LH3
Segment:
Loop: LH1

Hazardous Material Shipping Name Information

Usage: Optional
Max Use: 10
Max Length: 38
Purpose: To specify the hazardous material shipping name and additional descriptive
requirements.
Syntax:
Semantic:

Notes:

1
199

LH301

LH3

1 If LH304 is Y, then this is an Association of American Railroads


Operations and Transportation Bulletin 55 commodity. If N, it is not an
Association of American Railroads Operations and Transportation Bulletin
55 commodity. Default is N.
1 See Hazardous Materials/Dangerous Goods Looping Structure
guidelines in the Standards Conventions chapter of the Rail
Guidelines.

224

Haz Mat
Ship Name
X

1 P0102
If either LH301 or LH302 is present, then the other is required.

LH302

AN 1/25

984

Haz Mat
Name Qual
X

ID

LH303

1/1

985

ID

LH304

1073

Yes/No Cond N
Resp Code /
L

NOS
Code
3/3

ID

1/1

Data Element Summary


REF.
DES.

DATA
ELEMENT

LH301

224

NAME

Hazardous Material Shipping Name

ATTRIBUTES

AN

1/25

The proper shipping name of the hazardous commodity as specified by Title 49


Code of the Federal Regulations, or the shipping name of the dangerous goods
as defined in the Canadian Transportation of Dangerous Goods Act and
Regulations, or the international regulations as promulgated by the United
Nations.

LH302

984

Hazardous Material Shipping Name Qualifier

ID

1/1

Qualifier indicating the source (regulatory) of the proper shipping name.

LH303

985

N.O.S. Indicator Code

ID

3/3

Code indicating the type of regulatory requirements that apply to a description.


N.O.S. stands for Not Otherwise Specified.

LH304

1073

Yes/No Condition or Response Code

ID

1/1

Code indicating a Yes or No condition or response.

146

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
FREE-FORM HAZARDOUS MATERIAL INFORMATION
LFH

LFH
Segment:
Loop: LH1

Free-form Hazardous Material Information

Usage: Optional
Max Use: 20
Max Length: 106
Purpose: To uniquely identify the variable information required by government regulation
covering the transportation of hazardous material shipments
Syntax:

1 P0506
If either LFH05 or LFH06 is present, then the other is required.

Semantic:

1 LFH06 indicates activity of the radioactive material


2 LFH07 indicates transport index of the radioactive material
3 LFH08 is the date fumigation began.

Notes:

1
199

LFH01

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

808

Haz Mat
Info Qual

LFH
M

ID

LFH07

380

LFH08

LFH03

DT

809

Haz Mat
Ship Info

AN 1/25

LFH04

1023

Hazard Zone

Code

AN 1/25

ID

1/1

LFH05

355

Unit/Basis
Meas Code
X

ID

LFH06

2/2

380

Quantity
X

1/15

373

N
/
L

Date

1/15

809

Haz Mat
Ship Info

3/3

Quantity

LFH02

8/8

Data Element Summary


REF.
DES.

DATA
ELEMENT

LFH01

808

NAME

Hazardous Material Shipment Information


Qualifier

ATTRIBUTES

ID

3/3

Qualifier indicating the type of information being passed so that a receiver may
format a description of hazardous commodity movements that meets regulatory
requirements.

LFH02

809

Hazardous Material Shipment Information

AN

1/25

Specific information required by law for hazardous material shipments.

LFH03

809

Hazardous Material Shipment Information

AN

1/25

Specific information required by law for hazardous material shipments.

LFH04

1023

Hazard Zone Code

ID

1/1

Code specifying the Department of Transportation assigned zone designating the


Inhalation Toxicity Hazard Zone.

LFH05

355

Unit or Basis for Measurement Code

ID

2/2

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

LFH06

380

Quantity

1/15

1/15

DT

8/8

Numeric value of quantity.

LFH07

380

Quantity
Numeric value of quantity.

LFH08

373

Date
Date expressed as CCYYMMDD

APRIL 2010

147

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

EPA REQUIRED DATA


LEP

LEP
Segment:
Loop: LH1

EPA Required Data

Usage: Optional
Max Use: 3
Max Length: 112
Purpose: To specify the Environmental Protection Agency (EPA) information relating to
shipments of hazardous material
Syntax:

1 P0304
If either LEP03 or LEP04 is present, then the other is required.

Semantic:

1 LEP03 is used to identify the state or province responsible for the


hazardous waste number contained in LEP04.
2 LEP04 is the Hazardous Waste Number

Notes:

1
199

LEP01

LEP

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

806

EPA Waste
Stream Code
O

ID

4/6

LEP02

807

Waste Char
Code
O

LEP03

ID 12/16

156

State or
Prov Code
X

ID

2/2

LEP04

127

Reference
Identifictn

N
/
L

AN 1/80

Data Element Summary


REF.
DES.

DATA
ELEMENT

LEP01

806

NAME

EPA Waste Stream Number Code

ATTRIBUTES

ID

4/6

Waste stream number applicable to the movement of hazardous waste as


determined by government regulations.

LEP02

807

Waste Characteristics Code

ID

12/16

ID

2/2

Waste characteristics as defined by regulatory requirements.

LEP03

156

State or Province Code

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

LEP04

127

Reference Identification

AN

1/80

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

148

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
CANADIAN DANGEROUS REQUIREMENTS
LH4

LH4
Segment:
Loop: LH1

Canadian Dangerous Requirements

Usage: Optional
Max Use: 4
Max Length: 592
Purpose: To specify additional Canada Transport requirements covering transportation of
dangerous goods in Canada.
Syntax:

1 P0102
If either LH401 or LH402 is present, then the other is required.
2 P0812
If either LH408 or LH412 is present, then the other is required.

Semantic:

1 LH411 is an additional telephone number

Comments:

A LH402 is used for the emergency response plan telephone number.


B LH404 is for the first subsidiary classification.
C LH405 is for the second subsidiary classification.
D LH406 is for the third subsidiary classification.

Notes:

1
199

LH401

LH4

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

238

LH402

Emerg Resp
Plan Number
X

AN 1/12

LH407

271

Subsidiary
Risk Indic
ID

1/2

254

Packing
Group Code
O

267

Explos Qty
Net
X

LH403

AN 1/256

LH408

364

Comm
Number

ID

LH409

LH404

230

Subsidiary
Class

1/3

805

LH410

ID

LH405

1/3

986

LH411

Canadian
Sp Commod
Hazard Note

Ind Code

N0 1/10

AN 1/25

ID

1/1

230

Subsidiary
Class
ID

364

LH412

AN 1/256

230

Subsidiary
Class

1/3

Comm
Number
O

LH406

ID

1/3

355

Unit/Basis
Meas Code
X

ID

N
/
L

2/2

Data Element Summary


REF.
DES.

DATA
ELEMENT

LH401

238

NAME

Emergency Response Plan Number

ATTRIBUTES

AN

1/12

The identity number of a specific hazardous emergency response plan that is


assigned by the Director General of Canada.

LH402

364

Communication Number

AN

1/256

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

LH403

254

Packing Group Code

ID

1/3

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

LH404

230

Subsidiary Classification

ID

1/3

Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.

LH405

230

Subsidiary Classification

ID

1/3

Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.

APRIL 2010

149

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

LH406

230

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Subsidiary Classification

ID

1/3

Code indicating the classification of dangerous goods, other than the primary
classification, that is associated with a number or a set of numbers.

LH407

271

Subsidiary Risk Indicator

ID

1/2

N0

1/10

AN

1/25

ID

1/1

Code identifying the type of subsidiary risk.

LH408

267

Net Explosive Quantity

Net weight of the explosive quantity of the hazardous commodity.

LH409

805

Canadian Hazardous Notation


Notation required by Canadian regulatory agencies.

LH410

986

Special Commodity Indicator Code

Code indicating Special Commodity notation on operational waybill as identified


by the Transportation of Dangerous Goods Act and Regulation (TDG).

LH411

364

Communication Number

AN

1/256

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

LH412

355

Unit or Basis for Measurement Code

ID

2/2

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

150

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
TRANSBORDER HAZARDOUS REQUIREMENTS
LHT

LHT
Segment:
Loop: LH1

Transborder Hazardous Requirements

Usage: Optional
Max Use: 3
Max Length: 102
Purpose: To specify the placard information required by the second government agency
when shipment is to cross into another country
Notes:

1
199

LHT01

LHT

215

Hazardous
Class
O

ID

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

LHT02

1/30

218

Hazardous
Plac Note
O

LHT03

222

Hazardous N
Endorsement /
L

ID 14/40

ID

4/25

Data Element Summary


REF.
DES.

DATA
ELEMENT

LHT01

215

NAME

Hazardous Classification

ATTRIBUTES

ID

1/30

The hazardous classification corresponding to the shipping name of the


hazardous commodity.

LHT02

218

Hazardous Placard Notation

ID

14/40

The hazardous placard notation corresponding to the shipping name of the


hazardous commodity.

LHT03

222

Hazardous Endorsement

ID

4/25

The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.

APRIL 2010

151

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

HAZARDOUS MATERIAL IDENTIFYING REFERENCE NUMBERS


LHR

LHR
Segment:
Loop: LH1

Hazardous Material Identifying Reference Numbers

Usage: Optional
Max Use: 5
Max Length: 98
Purpose: To transmit specific hazardous material reference numbers.
Notes:

1
199

LHR01

LHR

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

128

Reference
Ident Qual
M

ID

LHR02

2/3

127

Reference
Identifictn
M

LHR03

AN 1/80

373

N
/
L

Date
O

DT

8/8

Data Element Summary


REF.
DES.

DATA
ELEMENT

LHR01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

LHR02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

LHR03

373

Date

DT

8/8

Date expressed as CCYYMMDD

152

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER

PER
Segment:
Loop: LH1

Administrative Communications Contact

Usage: Optional
Max Use: 5
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

1
199

PER01

PER

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

APRIL 2010

153

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

PER09

443

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.

154

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
PARTY IDENTIFICATION
N1

N1 Party Identification
Segment:
Loop: LH1/N1 Repeat: 10
Usage: Optional
Max Use: 1
Max Length: 159
Purpose: To identify a party by type of organization, name and code
Syntax:

1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.

Comments:

A 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.
B N105 and N106 further define the type of entity in N101.

Notes:

1
199

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

N101

N1

98

Entity ID
Code

ID

2/3

N102

93

Name

N103

AN 1/60

66

ID Code
Qualifier

ID

N104

1/2

67

ID
Code

N105

AN 2/80

706

Entity
Relat Code
O

ID

N106

2/2

98

Entity ID
Code

ID

N
/
L

2/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N101

98

NAME

Entity Identifier Code

ATTRIBUTES

ID

2/3

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

N102

93

Name

AN

1/60

ID

1/2

Free-form name. (Limited to 35 for Rail Transactions)

N103

66

Identification Code Qualifier

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


Code (67).

N104

67

Identification Code

AN

2/80

ID

2/2

ID

2/3

Code identifying a party or other code.

N105

706

Entity Relationship Code


Code describing entity relationship.

N106

98

Entity Identifier Code

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

APRIL 2010

155

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PARTY LOCATION
N3

N3
Segment:
Loop: LH1/N1

Party Location

Usage: Optional
Max Use: 2
Max Length: 115
Purpose: To specify the location of the named party
Notes:

1
199

N301

N3

166

Address
Information
M

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

AN 1/55

N302

166

Address
Information
O

N
/
L

AN 1/55

Data Element Summary


REF.
DES.

DATA
ELEMENT

N301

166

NAME

Address Information

ATTRIBUTES

AN

1/55

AN

1/55

Address information (limited to 30 characters for Rail transactions)

N302

166

Address Information

Address information (limited to 30 characters for Rail transactions)

156

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
GEOGRAPHIC LOCATION
N4

N4
Segment:
Loop: LH1/N1

Geographic Location

Usage: Optional
Max Use: 1
Max Length: 95
Purpose: To specify the geographic place of the named party
Syntax:

1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.

Comments:

A A combination of either N401 through N404 (or N405 and N406) may be
adequate to specify a location

Notes:

1
199

N401

19

City
Name

N4
O

156

State or
Prov Code
X

ID

N403

2/2

116

Postal
Code
O

ID

3/15

N404

26

Country
Code

ID

N405

2/3

309

Location
Qualifier
X

ID

N406

1/2

310

Location
Identifier
O

AN 1/30

1715

Country
Subdivision
X

N402

AN 2/30

N407

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

ID

N
/
L

1/3

Data Element Summary


REF.
DES.

DATA
ELEMENT

N401

19

NAME

City Name

ATTRIBUTES

AN

2/30

ID

2/2

Free-form text for city name.

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

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

N404

26

Country Code

ID

2/3

ID

1/2

AN

1/30

ID

1/3

Code identifying the country.

N405

309

Location Qualifier
Code identifying type of location.

N406

310

Location Identifier
Code which identifies a specific location.

N407

1715

Country Subdivision Code


Code identifying the country subdivision

APRIL 2010

157

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

ADMINISTRATIVE COMMUNICATIONS CONTACT


PER

PER
Segment:
Loop: LH1/N1

Administrative Communications Contact

Usage: Optional
Max Use: 2
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

1
199

PER01

PER

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

158

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PER09

443

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.

APRIL 2010

159

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

LOOP TRAILER
LE

LE
Segment:
Loop: ____

Loop Trailer

Usage: Optional
Max Use: 1
Max Length: 10
Purpose: To indicate that the loop immediately preceding this segment is complete
Syntax:

1 One loop may be nested contained within another loop, provided the inner
nested loop terminates before the outer loop. When specified by the
standard setting body as mandatory, this segment, in combination with
LS, must be used. It is not to be used if not specifically set forth for use.
The loop identifier in the loop header and trailer must be identical. The
value for the identifier is the loop ID of the required loop beginning
segment. The loop ID number is given on the transaction set diagram in the
appropriate ASC X12 version/release.

Comments:

A See Figures Appendix for an explanation of the use of the LE and LS


segments.

Notes:

1
199

LE01

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

447

Loop ID
Code

LE
M

AN

1/6

Data Element Summary


REF.
DES.

DATA
ELEMENT

LE01

447

NAME

Loop Identifier Code

ATTRIBUTES

AN

1/6

Code identifying a loop within the transaction set which is bounded by the related
LS and LE segments (corresponding LS and LE segments must have the same
value for loop identifier). (Note: The loop ID number given on the transaction set
diagram is recommended as the value for this data element in segments LS and
LE.)

160

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER

PER
Segment:
Loop: ____

Administrative Communications Contact

Usage: Optional
Max Use: 5
Max Length: 869
Purpose: To identify a person or office to whom administrative communications should be
directed
Syntax:

1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.

Notes:

1
199

PER01

PER

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

366

Contact
Funct Code
M

ID

PER07

PER02

2/2

365

PER08

Comm
Number Qual
X

ID

2/2

93

Name

365

PER04

Comm
Number Qual

AN 1/60

364

Comm
Number
X

PER03

ID

PER09

AN 1/256

2/2

PER05

365

PER06

Comm
Number Qual

AN 1/256

ID

2/2

364

Comm
Number
X

AN 1/256

443

Contact
Inquiry Ref
O

364

Comm
Number

N
/
L

AN 1/20

Data Element Summary


REF.
DES.

DATA
ELEMENT

PER01

366

NAME

Contact Function Code

ATTRIBUTES

ID

2/2

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

PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name. (Limited to 35 for Rail Transactions)

PER03

365

Communication Number Qualifier


Code identifying the type of communication number.

PER04

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER06

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number.

PER08

364

Communication Number

Complete communications number including country or area code when


applicable. (Limited to 80 for Rail Transactions)

APRIL 2010

161

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

PER09

443

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number.

162

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS CLASSIFICATION INFORMATION
LH2

LH2
Segment:
Loop: ____

Hazardous Classification Information

Usage: Optional
Max Use: 6
Max Length: 144
Purpose: To specify the hazardous notation and endorsement information.
Trans. Set Notes:

1. If the hazardous endorsement (LH204) is NONE, then use of LH204 is


mandatory. However, the receiver must consider it to be blanks when
printing a paper document.

Syntax:

1 P0607
If either LH206 or LH207 is present, then the other is required.
2 P0809
If either LH208 or LH209 is present, then the other is required.
3 P1011
If either LH210 or LH211 is present, then the other is required.
4 P1213
If either LH212 or LH213 is present, then the other is required.

Semantic:

1 LH206 and LH207 indicate the flashpoint temperature.


2 LH208 and LH209 indicate the control temperature
3 LH210 and LH211 indicate the emergency temperature
4 LH212 and LH213 indicate the net explosive weight.

Notes:

1
199

LH201

LH2

215

Hazardous
Class
O

ID

LH207

LH213

408

LH208

1/4

983

Hazardous
Class Qual
O

ID

ID

355

LH209

2/2

218

Hazardous
Plac Note

1/1

Unit/Basis
Meas Code
X

LH203

408

1/4

222

LH205

Hazardous
Endorsement

ID 14/40

Temperature
X

LH204

ID

LH210

4/25

355

LH211

Unit/Basis
Meas Code
X

ID

2/2

759

Reportable
Qty Code
ID

408

LH212

1/4

355

Unit/Basis
Meas Code

2/2

Temperature
X

LH206

ID

2/2

188

Weight Unit
Code
X

ID

1/1

267

Explos Qty
Net
X

LH202

1/30

Temperature
X

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

N
/
L

N0 1/10

Data Element Summary


REF.
DES.

DATA
ELEMENT

LH201

215

NAME

Hazardous Classification

ATTRIBUTES

ID

1/30

The hazardous classification corresponding to the shipping name of the


hazardous commodity.

APRIL 2010

163

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

LH202

983

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

Hazardous Class Qualifier

ID

1/1

ID

14/40

Code qualifying hazardous class.

LH203

218

Hazardous Placard Notation

The hazardous placard notation corresponding to the shipping name of the


hazardous commodity.

LH204

222

Hazardous Endorsement

ID

4/25

The hazardous endorsement that is to be shown on the shipping papers for the
hazardous commodity.

LH205

759

Reportable Quantity Code

ID

2/2

ID

2/2

Code to identify presence of hazardous substance.

LH206

355

Unit or Basis for Measurement Code

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

LH207

408

Temperature

1/4

ID

2/2

Temperature.

LH208

355

Unit or Basis for Measurement Code

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

LH209

408

Temperature

1/4

ID

2/2

Temperature.

LH210

355

Unit or Basis for Measurement Code

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

LH211

408

Temperature

1/4

ID

1/1

N0

1/10

Temperature.

LH212

188

Weight Unit Code


Code specifying the weight unit

LH213

267

Net Explosive Quantity

Net weight of the explosive quantity of the hazardous commodity.

164

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
HAZARDOUS MATERIAL IDENTIFYING REFERENCE NUMBERS
LHR

LHR
Segment:
Loop: ____

Hazardous Material Identifying Reference Numbers

Usage: Optional
Max Use: 1
Max Length: 98
Purpose: To transmit specific hazardous material reference numbers.
Notes:

1
199

LHR01

LHR

1 See Hazardous Materials/Dangerous Goods Looping Structure


guidelines in the Standards Conventions chapter of the Rail
Guidelines.

128

Reference
Ident Qual
M

ID

LHR02

2/3

127

Reference
Identifictn
M

LHR03

AN 1/80

373

N
/
L

Date
O

DT

8/8

Data Element Summary


REF.
DES.

DATA
ELEMENT

LHR01

128

NAME

Reference Identification Qualifier

ATTRIBUTES

ID

2/3

AN

1/80

Code qualifying the Reference Identifier

LHR02

127

Reference Identification

Reference identification as defined for a particular Transaction Set, or as


specified by the Reference Identification Qualifier. (Limited to 1/30 for rail usage.)

LHR03

373

Date

DT

8/8

Date expressed as CCYYMMDD

APRIL 2010

165

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

PRO FORMA - B13 INFORMATION


XH

XH
Segment:
Loop: ____

Pro Forma - B13 Information

Usage: Optional
Max Use: 1
Max Length: 59
Purpose: To specify pro forma invoice and B13 Canada Customs Export Declaration
information, required by U.S. and Canada Customs.
Semantic:

1 XH04 for a line item: is the freight or special charge; for the total invoice:
the total charge - expressed in the standard monetary denomination for the
currency specified.
2 XH06 will contain percentage of a component of a product which is required
by Customs to be reported.
3 XH07 will contain unit price of item being shipped.

Comments:

A This segment is to be used for shipments originating in Canada only.

Notes:

4
460

XH01

1 Required if BX11 is 10, 14, 15, 16, 17, 24 or 34

100

Currency
Code

XH
M

ID

645

Related Co
Indic Code
O

ID

XH03

150

XH04

Spec Charge
/Allow Code

1/1

ID

3/3

610

Amount
O

XH05

N2 1/15

503

Block 20
Code
O

ID

XH06

1/1

504

Chemical
Analysis %
O

N2

2/9

212

N
/
L

Unit
Price
O

3/3

XH07

XH02

1/17

Data Element Summary


REF.
DES.

DATA
ELEMENT

XH01

100

NAME

ATTRIBUTES

Currency Code

ID

3/3

Code (Standard ISO) for country in whose currency the charges are specified.

4605

USD - US Dollars
CAD - Canadian Dollars
MXP - Mexican Peso

4606

Qualifies the value in X114

Required

XH02

645

Related Company Indication Code

ID

1/1

ID

3/3

Code indicating parties to a transaction.


CODE

N
Y
Required

XH03

150

DEFINITION

Transaction Between Unrelated Companies


Transaction Between Related Companies

Special Charge or Allowance Code

Code identifying type of special charge or allowance.


CODE

595
FCB
FCD

166

DEFINITION

Proforma Invoice
Freight Charges to Border
Freight Charges to Destination

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

XH04

610

Amount

N2

1/15

Monetary amount.

Required if freight charges are not included in the value of the


shipment

4610
XH05

503

Block 20 Code

ID

1/1

N2

2/9

1/17

Code defining Block 20 characteristics.

XH06

504

Chemical Analysis Percentage


Chemical analysis percentage.

XH07

212

Unit Price
Price per unit of product, service, commodity, etc.

APRIL 2010

167

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

CUSTOMS INFORMATION
X7

X7
Segment:
Loop: ____

Customs Information

Usage: Optional
Max Use: 10
Max Length: 65
Purpose: To indicate customs information
X701

X7

61

Free-Form
Message
M

AN 1/30

X702

61

Free-Form
Message
O

N
/
L

AN 1/30

Data Element Summary


REF.
DES.

DATA
ELEMENT

X701

61

NAME

Free-form Information

ATTRIBUTES

AN

1/30

AN

1/30

Free-form information.

X702

61

Free-form Information
Free-form information.

168

APRIL 2010

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS
TRANSACTION SET TRAILER
SE

SE
Segment:
Loop: ____

Transaction Set Trailer

Usage: Mandatory
Max Use: 1
Max Length: 24
Purpose: To indicate the end of the transaction set and provide the count of the
transmitted segments (including the beginning (ST) and ending (SE) segments).
Comments:
SE01

SE

A SE is the last segment of each transaction set.


96

Number of
Inc Segs
M

N0 1/10

SE02

329

TS Control
Number
M

AN

N
/
L

4/9

Data Element Summary


REF.
DES.

DATA
ELEMENT

SE01

96

NAME

Number of Included Segments

ATTRIBUTES

N0

1/10

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


segments.

SE02

329

Transaction Set Control Number

AN

4/9

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

APRIL 2010

169

006020 417
RAIL CARRIER WAYBILL INTERCHANGE

170

RAIL TRANSPORTATION
INDUSTRY APPLICATIONS

APRIL 2010

Das könnte Ihnen auch gefallen