417Rail Carrier Waybill Interchange

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.

  • ST
    Transaction Set Header
    M必须(Mandatory)
    Repeat 1

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

  • ZC1
    Beginning Segment for Data Correction or Change
    O可选(Optional)
    Repeat 1

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

  • BX
    General Shipment Information
    O可选(Optional)
    Repeat 1

    To transmit identification numbers and other basic shipment data

  • BNX
    Rail Shipment Information
    O可选(Optional)
    Repeat 1

    To transmit rail-specific shipment data

  • N9
    Extended Reference Information
    O可选(Optional)
    Repeat 30

    To transmit identifying information as specified by the Reference Identification Qualifier

  • CM
    Cargo Manifest
    O可选(Optional)
    Repeat 2

    To identify specific flight or voyage information for multimodal shipments

  • DTM
    Date/Time Reference
    O可选(Optional)
    Repeat 5

    To specify pertinent dates and times

  • N7Loop1Equipment Details LOOPM必须(Mandatory)Repeat 500
    N7EMVCLoop1ICIMM12G4M7N5H5E1Loop1GAREFLoop1IMA
    • N7
      Equipment Details
      M必须(Mandatory)
      Repeat 1

      To identify the equipment

    • EM
      Equipment Characteristics
      O可选(Optional)
      Repeat 1

      To send additional information regarding a specific piece of equipment

    • VCLoop1Motor Vehicle Control LOOPO可选(Optional)Repeat 36
      VCN1Loop1
      • VC
        Motor Vehicle Control
        M必须(Mandatory)
        Repeat 1

        To define motor vehicle identification and logistics

      • N1Loop1Party Identification LOOPO可选(Optional)Repeat 2
        N1N3N4H3
        • N1
          Party Identification
          M必须(Mandatory)
          Repeat 1

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

        • N3
          Party Location
          O可选(Optional)
          Repeat 2

          To specify the location of the named party

        • N4
          Geographic Location
          O可选(Optional)
          Repeat 1

          To specify the geographic place of the named party

        • H3
          Special Handling Instructions
          O可选(Optional)
          Repeat 1

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

    • IC
      Intermodal Chassis Equipment
      O可选(Optional)
      Repeat 1

      To specify the chassis equipment details in terms of identifying numbers, weights, and ownership

    • IM
      Intermodal Movement Information
      O可选(Optional)
      Repeat 1

      To specify the overall movement of a shipment

    • M12
      In-bond Identifying Information
      O可选(Optional)
      Repeat 2

      To transmit in-bond information

    • G4
      Scale Identification
      O可选(Optional)
      Repeat 1

      To identify the scale type and the location and time a shipment is weighed

    • M7
      Seal Numbers
      O可选(Optional)
      Repeat 5

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

    • N5
      Equipment Ordered
      O可选(Optional)
      Repeat 1

      To specify carrier equipment

    • H5
      Car Service Order
      O可选(Optional)
      Repeat 1

      To identify the car service directive or other car movement instructions applicable to the empty movement of the car

    • E1Loop1Empty Car Disposition - Pended Destination Consignee LOOPO可选(Optional)Repeat 2
      E1E4E5PI
      • E1
        Empty Car Disposition - Pended Destination Consignee
        M必须(Mandatory)
        Repeat 1

        To identify the party receiving the empty car

      • E4
        Empty Car Disposition - Pended Destination City
        O可选(Optional)
        Repeat 1

        To specify the geographic place of named party receiving the empty car

      • E5
        Empty Car Disposition - Pended Destination Route
        O可选(Optional)
        Repeat 13

        To specify the routing of the empty car

      • PI
        Price Authority Identification
        O可选(Optional)
        Repeat 1

        To communicate basis of pricing, such as contract number, quote number, or tariff number

    • GA
      Canadian Grain Information
      O可选(Optional)
      Repeat 15

      To transmit the transportation and distribution requirements of grain at Canadian ports

    • REFLoop1Reference Information LOOPO可选(Optional)Repeat 99
      REFN9N10N1Loop2
      • REF
        Reference Information
        M必须(Mandatory)
        Repeat 1

        To specify identifying information

      • N9
        Extended Reference Information
        O可选(Optional)
        Repeat 10

        To transmit identifying information as specified by the Reference Identification Qualifier

      • N10
        Quantity and Description
        O可选(Optional)
        Repeat 15

        To indicate line item quantity, description, marks and numbers, commodity code, weight, and customs value

      • N1Loop2Party Identification LOOPO可选(Optional)Repeat 5
        N1N3N4
        • N1
          Party Identification
          M必须(Mandatory)
          Repeat 1

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

        • N3
          Party Location
          O可选(Optional)
          Repeat 1

          To specify the location of the named party

        • N4
          Geographic Location
          O可选(Optional)
          Repeat 1

          To specify the geographic place of the named party

    • IMA
      Interchange Move Authority
      O可选(Optional)
      Repeat 3

      To identify the transportation interchange authority

  • N8
    Waybill Reference
    M必须(Mandatory)
    Repeat 499

    To identify the waybill and to specify the equipment used and the destination details

  • N8A
    Additional Reference Information
    O可选(Optional)
    Repeat 499

    To identify additional station and waybill or station, or waybill information pertaining to revenue waybill

  • V9
    Event Detail
    O可选(Optional)
    Repeat 1

    To specify information about a specific event

  • F9
    Origin Station
    M必须(Mandatory)
    Repeat 1

    To identify the rail origin of the shipment

  • D9
    Destination Station
    M必须(Mandatory)
    Repeat 1

    To identify the rail destination of the shipment

  • N1Loop3Party Identification LOOPM必须(Mandatory)Repeat 15
    N1N2N3N4REFPERBL
    • N1
      Party Identification
      M必须(Mandatory)
      Repeat 1

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

    • N2
      Additional Name Information
      O可选(Optional)
      Repeat 2

      To specify additional names

    • N3
      Party Location
      O可选(Optional)
      Repeat 2

      To specify the location of the named party

    • N4
      Geographic Location
      O可选(Optional)
      Repeat 1

      To specify the geographic place of the named party

    • REF
      Reference Information
      O可选(Optional)
      Repeat 2

      To specify identifying information

    • PER
      Administrative Communications Contact
      O可选(Optional)
      Repeat 2

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

    • BL
      Billing Information
      O可选(Optional)
      Repeat 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

  • S1Loop1Stop-off Name LOOPO可选(Optional)Repeat 12
    S1S2S9N1N2N3N4PER
    • S1
      Stop-off Name
      M必须(Mandatory)
      Repeat 1

      To identify a stop-off party

    • S2
      Stop-off Address
      O可选(Optional)
      Repeat 2

      To specify the address of the stop-off party

    • S9
      Stop-off Station
      O可选(Optional)
      Repeat 1

      To specify location details for a stop-off

    • N1
      Party Identification
      O可选(Optional)
      Repeat 1

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

    • N2
      Additional Name Information
      O可选(Optional)
      Repeat 1

      To specify additional names

    • N3
      Party Location
      O可选(Optional)
      Repeat 1

      To specify the location of the named party

    • N4
      Geographic Location
      O可选(Optional)
      Repeat 1

      To specify the geographic place of the named party

    • PER
      Administrative Communications Contact
      O可选(Optional)
      Repeat 1

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

  • R2
    Route Information
    M必须(Mandatory)
    Repeat 13

    To specify carrier and routing sequences and details

  • R9
    Route Code Identification
    O可选(Optional)
    Repeat 1

    To specify the route using a single code

  • E1Loop2Empty Car Disposition - Pended Destination Consignee LOOPO可选(Optional)Repeat 2
    E1E4E5PI
    • E1
      Empty Car Disposition - Pended Destination Consignee
      M必须(Mandatory)
      Repeat 1

      To identify the party receiving the empty car

    • E4
      Empty Car Disposition - Pended Destination City
      O可选(Optional)
      Repeat 1

      To specify the geographic place of named party receiving the empty car

    • E5
      Empty Car Disposition - Pended Destination Route
      O可选(Optional)
      Repeat 13

      To specify the routing of the empty car

    • PI
      Price Authority Identification
      O可选(Optional)
      Repeat 1

      To communicate basis of pricing, such as contract number, quote number, or tariff number

  • H3
    Special Handling Instructions
    O可选(Optional)
    Repeat 20

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

  • PS
    Protective Service Instructions
    O可选(Optional)
    Repeat 5

    To specify mechanical protective service and ventilation instructions

  • LXLoop1Transaction Set Line Number LOOPM必须(Mandatory)Repeat 25
    LXL5L0Loop1X1T1Loop1
    • LX
      Transaction Set Line Number
      M必须(Mandatory)
      Repeat 1

      To reference a line number in a transaction set

    • L5
      Description, Marks and Numbers
      M必须(Mandatory)
      Repeat 15

      To specify the line item in terms of description, quantity, packaging, and marks and numbers

    • L0Loop1Line Item - Quantity and Weight LOOPO可选(Optional)Repeat 25
      L0MEAPILoop1
      • L0
        Line Item - Quantity and Weight
        M必须(Mandatory)
        Repeat 1

        To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data

      • MEA
        Measurements
        O可选(Optional)
        Repeat 3

        To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)

      • PILoop1Price Authority Identification LOOPO可选(Optional)Repeat 30
        PICD
        • PI
          Price Authority Identification
          M必须(Mandatory)
          Repeat 1

          To communicate basis of pricing, such as contract number, quote number, or tariff number

        • CD
          Shipment Conditions
          O可选(Optional)
          Repeat 10

          To specify condition restrictions or provisions applicable to the rate docket

    • X1
      Export License
      O可选(Optional)
      Repeat 6

      To transmit information contained on an export license

    • T1Loop1Transit Inbound Origin LOOPO可选(Optional)Repeat 64
      T1T2T3T6T8
      • T1
        Transit Inbound Origin
        M必须(Mandatory)
        Repeat 1

        To specify origin point and waybill references of movement to transit waybill point

      • T2
        Transit Inbound Lading
        O可选(Optional)
        Repeat 30

        To specify lading description, including weight and rate details applying to the associated T1 segment

      • T3
        Transit Inbound Route
        O可选(Optional)
        Repeat 12

        To specify transit inbound routing, including equipment identifications for associated T1 and T2 segments

      • T6
        Transit Inbound Rates
        O可选(Optional)
        Repeat 1

        To identify the transit inbound prior origin point and waybill reference of movement to the point specified in T1 segment

      • T8
        Free-form Transit Data
        O可选(Optional)
        Repeat 99

        To transmit information in a free-form format relating to a specified transit sequence number

  • LSLoop1Loop Header LOOPO可选(Optional)Repeat 1
    LSLH1Loop1LE
    • LS
      Loop Header
      M必须(Mandatory)
      Repeat 1

      To indicate that the next segment begins a loop

    • LH1Loop1Hazardous Identification Information LOOPO可选(Optional)Repeat 1000
      LH1LH2LH3LFHLEPLH4LHTLHRPERN1Loop4
      • LH1
        Hazardous Identification Information
        M必须(Mandatory)
        Repeat 1

        To specify the hazardous commodity identification reference number and quantity

      • LH2
        Hazardous Classification Information
        O可选(Optional)
        Repeat 4

        To specify the hazardous notation and endorsement information

      • LH3
        Hazardous Material Shipping Name Information
        O可选(Optional)
        Repeat 10

        To specify the hazardous material shipping name and additional descriptive requirements

      • LFH
        Free-form Hazardous Material Information
        O可选(Optional)
        Repeat 20

        To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments

      • LEP
        EPA Required Data
        O可选(Optional)
        Repeat 3

        To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material

      • LH4
        Canadian Dangerous Requirements
        O可选(Optional)
        Repeat 4

        To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada

      • LHT
        Transborder Hazardous Requirements
        O可选(Optional)
        Repeat 3

        To specify the placard information required by the second government agency when shipment is to cross into another country

      • LHR
        Hazardous Material Identifying Reference Numbers
        O可选(Optional)
        Repeat 5

        To transmit specific hazardous material reference numbers

      • PER
        Administrative Communications Contact
        O可选(Optional)
        Repeat 5

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

      • N1Loop4Party Identification LOOPO可选(Optional)Repeat 10
        N1N3N4PER
        • N1
          Party Identification
          M必须(Mandatory)
          Repeat 1

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

        • N3
          Party Location
          O可选(Optional)
          Repeat 2

          To specify the location of the named party

        • N4
          Geographic Location
          O可选(Optional)
          Repeat 1

          To specify the geographic place of the named party

        • PER
          Administrative Communications Contact
          O可选(Optional)
          Repeat 2

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

    • LE
      Loop Trailer
      M必须(Mandatory)
      Repeat 1

      To indicate that the loop immediately preceding this segment is complete

  • PER
    Administrative Communications Contact
    O可选(Optional)
    Repeat 5

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

  • LH2
    Hazardous Classification Information
    O可选(Optional)
    Repeat 6

    To specify the hazardous notation and endorsement information

  • LHR
    Hazardous Material Identifying Reference Numbers
    O可选(Optional)
    Repeat 1

    To transmit specific hazardous material reference numbers

  • XH
    Pro Forma - B13 Information
    O可选(Optional)
    Repeat 1

    To specify a pro forma invoice and B13 Canada Customs Export Declaration information, required by U.S. and Canada Customs

  • X7
    Customs Information
    O可选(Optional)
    Repeat 10

    To indicate customs information

  • SE
    Transaction Set Trailer
    M必须(Mandatory)
    Repeat 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)

Segment
X12 EDI Release 00504
To indicate the start of a transaction set and to assign a control number
Elements
  • ST01143Transaction Set Identifier Code
    ID
    M必须(Mandatory)
    Min 3 / Max 3

    Code uniquely identifying a Transaction Set

    Codes (320)
  • ST02329Transaction Set Control Number
    AN
    M必须(Mandatory)
    Min 4 / Max 9

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

  • ST031705Implementation Convention Preference
    AN
    O可选(Optional)
    Min 1 / Max 9

    Reference assigned to identify Implementation Convention