EDI

API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Transaction Set
in
X12 Release 004020

417 Rail Carrier Waybill Interchange

Functional Group WB

This Draft Standard for Trial Use 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.

Heading

Sequence
Segment
Name
Max use
0100
Transaction Set HeaderMandatory
Max 1
To indicate the start of a transaction set and to assign a control number
0200
Beginning Segment For Data Correction Or Change
Max 1
To transmit identifying numbers, dates, and other basic data relating to the transaction set
0300
General Shipment Information
Max 1
To transmit identification numbers and other basic shipment data
BX05 contains the Standard Carrier Alpha Code (SCAC) of the original roadhaul carrier receiving the shipment.
0400
Rail Shipment Information
Max 1
To transmit rail-specific shipment data
0500
Reference Identification
Max 30
To transmit identifying information as specified by the Reference Identification Qualifier
0600
Cargo Manifest
Max 2
To identify specific flight or voyage information for multimodal shipments
0700
Date/Time Reference
Max 5
To specify pertinent dates and times
N7 Loop
Repeat 500
0800
Equipment DetailsMandatory
Max 1
To identify the equipment
0810
Equipment Characteristics
Max 1
To send additional information regarding a specific piece of equipment
VC Loop
Repeat 21
0900
Motor Vehicle Control
Max 1
To define motor vehicle identification and logistics
N1 Loop
Repeat 2
0920
Name
Max 1
To identify a party by type of organization, name, and code
0940
Address Information
Max 2
To specify the location of the named party
0960
Geographic Location
Max 1
To specify the geographic place of the named party
0980
Special Handling Instructions
Max 1
To specify special handling instructions in coded or free-form format
1000
Intermodal Chassis Equipment
Max 1
To specify the chassis equipment details in terms of identifying numbers, weights, and ownership
1100
Intermodal Movement Information
Max 1
To specify the overall movement of a shipment
1200
In-bond Identifying Information
Max 2
To transmit in-bond information
1300
Scale Identification
Max 1
To identify the scale type and the location and time a shipment is weighed
1400
Seal Numbers
Max 5
To record seal numbers used and the organization that applied the seals
1500
Equipment Ordered
Max 1
To specify carrier equipment
1600
Car Service Order
Max 1
To identify the car service directive or other car movement instructions applicable to the empty movement of the car
E1 Loop
Repeat 2
1610
Empty Car Disposition - Pended Destination Consignee
Max 1
To identify the party receiving the empty car
1620
Empty Car Disposition - Pended Destination City
Max 1
To specify the geographic place of named party receiving the empty car
1640
Price Authority Identification
Max 1
To communicate basis of pricing, such as contract number, quote number, or tariff number
1650
Canadian Grain Information
Max 15
To transmit the transportation and distribution requirements of grain at Canadian ports
REF Loop
Repeat 99
1670
Reference Identification
Max 1
To specify identifying information
1680
Quantity and Description
Max 15
To indicate line item quantity, description, marks and numbers, commodity code, weight, and customs value
N1 Loop
Repeat 5
1690
Name
Max 1
To identify a party by type of organization, name, and code
1700
Address Information
Max 1
To specify the location of the named party
1720
Geographic Location
Max 1
To specify the geographic place of the named party
1750
Interchange Move Authority
Max 3
To identify the transportation interchange authority
1800
Waybill Reference
Max 499
To identify the waybill and to specify the equipment used and the destination details
1810
Additional Reference Information
Max 499
To identify additional station and waybill or station, or waybill information pertaining to revenue waybill
1900
Event Detail
Max 1
To specify information about a specific event
2000
Origin StationMandatory
Max 1
To identify the rail origin of the shipment
2100
Destination StationMandatory
Max 1
To identify the rail destination of the shipment
N1 Loop
Repeat 15
2200
NameMandatory
Max 1
To identify a party by type of organization, name, and code
2250
Additional Name Information
Max 2
To specify additional names
2300
Address Information
Max 2
To specify the location of the named party
2400
Geographic Location
Max 1
To specify the geographic place of the named party
2450
Reference Identification
Max 2
To specify identifying information
2500
Administrative Communications Contact
Max 2
To identify a person or office to whom administrative communications should be directed
2620
Billing Information
Max 12
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
S1 Loop
Repeat 12
4400
Stop-off Name
Max 1
To identify a stop-off party
4500
Stop-off Address
Max 2
To specify the address of the stop-off party
4580
Stop-off Station
Max 1
To specify location details for a stop-off
4590
Name
Max 1
To identify a party by type of organization, name, and code
4600
Additional Name Information
Max 1
To specify additional names
4610
Address Information
Max 1
To specify the location of the named party
4620
Geographic Location
Max 1
To specify the geographic place of the named party
4630
Administrative Communications Contact
Max 1
To identify a person or office to whom administrative communications should be directed
4700
Route InformationMandatory
Max 13
To specify carrier and routing sequences and details
4850
Route Code
Max 1
To specify the route using a single code
E1 Loop
Repeat 2
4900
Empty Car Disposition - Pended Destination Consignee
Max 1
To identify the party receiving the empty car
5000
Empty Car Disposition - Pended Destination City
Max 1
To specify the geographic place of named party receiving the empty car
5110
Price Authority Identification
Max 1
To communicate basis of pricing, such as contract number, quote number, or tariff number
5200
Special Handling Instructions
Max 20
To specify special handling instructions in coded or free-form format
5300
Protective Service Instructions
Max 5
To specify mechanical protective service and ventilation instructions
LX Loop
Repeat 25
5400
Assigned NumberMandatory
Max 1
To reference a line number in a transaction set
5500
Description, Marks and NumbersMandatory
Max 15
To specify the line item in terms of description, quantity, packaging, and marks and numbers
L0 Loop
Repeat 25
5700
Line Item - Quantity and Weight
Max 1
To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data
5750
Measurements
Max 3
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
5900
Price Authority Identification
Max 30
To communicate basis of pricing, such as contract number, quote number, or tariff number
5950
Export License
Max 6
To transmit information contained on an export license
T1 Loop
Repeat 64
6000
Transit Inbound Origin
Max 1
To specify origin point and waybill references of movement to transit waybill point
6100
Transit Inbound Lading
Max 30
To specify lading description, including weight and rate details applying to the associated T1 segment
6200
Transit Inbound Route
Max 12
To specify transit inbound routing, including equipment identifications for associated T1 and T2 segments
6300
Transit Inbound Rates
Max 1
To identify the transit inbound prior origin point and waybill reference of movement to the point specified in T1 segment
6400
Free-form Transit Data
Max 99
To transmit information in a free-form format relating to a specified transit sequence number
6600
Loop Header
Max 1
To indicate that the next segment begins a loop
LH1 Loop
Repeat 100
6700
Hazardous Identification Information
Max 1
To specify the hazardous commodity identification reference number and quantity
6800
Hazardous Classification Information
Max 4
To specify the hazardous notation and endorsement information
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.
6900
Hazardous Material Shipping Name
Max 10
To specify the hazardous material shipping name and additional descriptive requirements
7000
Freeform Hazardous Material Information
Max 20
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
7100
EPA Required Data
Max 3
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
7200
Canadian Dangerous Requirements
Max 1
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
7300
Transborder Hazardous Requirements
Max 3
To specify the placard information required by the second government agency when shipment is to cross into another country
7400
Hazardous Material Identifying Reference Numbers
Max 5
To transmit specific hazardous material reference numbers
7450
Administrative Communications Contact
Max 5
To identify a person or office to whom administrative communications should be directed
N1 Loop
Repeat 10
7460
Name
Max 1
To identify a party by type of organization, name, and code
7470
Address Information
Max 2
To specify the location of the named party
7480
Geographic Location
Max 1
To specify the geographic place of the named party
7490
Administrative Communications Contact
Max 2
To identify a person or office to whom administrative communications should be directed
7500
Loop Trailer
Max 1
To indicate that the loop immediately preceding this segment is complete
7600
Administrative Communications Contact
Max 5
To identify a person or office to whom administrative communications should be directed
7700
Hazardous Classification Information
Max 6
To specify the hazardous notation and endorsement information
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.
7800
Hazardous Material Identifying Reference Numbers
Max 1
To transmit specific hazardous material reference numbers
7850
Pro Forma - B13 Information
Max 1
This segment is used to specify a pro forma invoice and B13 Canadian Customs Export Declaration information, required by U.S. and Canadian customs
7900
Customs Information
Max 10
To indicate customs information
8100
Transaction Set TrailerMandatory
Max 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.