859Freight Invoice

This Draft Standard for Trial Use contains the format and establishes the data contents of the Freight Invoice Transaction Set (859) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide the sender with the capability to transmit an invoice, including charges, allowances, and details, for transportation services rendered.

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

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

  • B3
    Beginning Segment for Carrier's Invoice
    M必须(Mandatory)
    Repeat 1

    To transmit basic data relating to carrier's invoice.

  • B3A
    Invoice Type
    O可选(Optional)
    Repeat 1

    To indicate type of invoice and number of shipments.

  • N9
    Reference Number
    O可选(Optional)
    Repeat 30

    To transmit identifying numbers and descriptive information as specified by the reference number qualifier

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

    To identify specific flight or voyage information for multimodal shipments.

  • Y6
    Authentication
    O可选(Optional)
    Repeat 4

    To specify the authority for authorizing an action and the date authentication is made

  • Y7
    Priority
    O可选(Optional)
    Repeat 1

    To assign a priority to a booking which would increase the possibility that this cargo would be booked on said voyage and not be shut out

  • C3
    Currency
    O可选(Optional)
    Repeat 1

    To specify the currency being used in the transaction set

  • ITD
    Terms of Sale/Deferred Terms of Sale
    O可选(Optional)
    Repeat 1

    To specify terms of sale.

  • G62
    Date/Time
    O可选(Optional)
    Repeat 10

    To specify pertinent dates and times

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

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

  • NA
    Cross-Reference Equipment
    O可选(Optional)
    Repeat 30

    To cross-reference additional equipment to a primary piece of equipment.

  • F9
    Origin Station
    O可选(Optional)
    Repeat 1

    To identify the rail origin of this shipment.

  • D9
    Destination Station
    O可选(Optional)
    Repeat 1

    To identify the rail destination of this shipment.

  • R1
    Route Information (Air)
    O可选(Optional)
    Repeat 1

    To specify airline and airport routing sequences

  • R2
    Route Information
    O可选(Optional)
    Repeat 13

    To specify carrier and routing sequences and details

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

    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.

  • H6
    Special Services
    O可选(Optional)
    Repeat 6

    To identify forms of unitization, liability issues and special services.

  • M1
    Insurance
    O可选(Optional)
    Repeat 1

    To specify details related to insurance

  • M2
    Sales/Delivery Terms
    O可选(Optional)
    Repeat 1

    To state terms and dates

  • L7
    Tariff Reference
    O可选(Optional)
    Repeat 30

    To reference details of the tariff used to arrive at applicable rates or charge

  • NTE
    Note/Special Instruction
    O可选(Optional)
    Repeat 30

    To transmit information in a free-form format, if necessary, for comment or special instruction

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

    This segment is used to specify proforma invoice and B13 Canadian Customs Export Declaration information, required by U. S. and Canadian customs.

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

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

  • P1
    Pick-up
    O可选(Optional)
    Repeat 1

    To specify the pick-up details including time, date and equipment

  • ITA
    Allowance, Charge or Service
    O可选(Optional)
    Repeat 1

    To specify allowances, charges or services

  • N8
    Waybill Reference
    O可选(Optional)
    Repeat 499

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

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

    To specify the route using a single code.

  • H1Loop1Hazardous Material LOOPO可选(Optional)Repeat 3
    H1H2
    • H1
      Hazardous Material
      M必须(Mandatory)
      Repeat 1

      To specify information relative to hazardous material

    • H2
      Additional Hazardous Material Description
      O可选(Optional)
      Repeat 2

      To specify free-form hazardous material descriptive data in addition to the information provided in segment H1

  • N7Loop1Equipment Details LOOPO可选(Optional)Repeat 600
    N7M7N5REFICVCG4
    • N7
      Equipment Details
      M必须(Mandatory)
      Repeat 1

      To identify the equipment.

    • 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.

    • REF
      Reference Numbers
      O可选(Optional)
      Repeat 5

      To specify identifying numbers.

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

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

    • VC
      Motor Vehicle Control
      O可选(Optional)
      Repeat 21

      To define motor vehicle identification and logistics.

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

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

  • N1Loop1Name LOOPO可选(Optional)Repeat 10
    N1N2N3N4REFPER
    • N1
      Name
      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 or those longer than 35 characters in length

    • N3
      Address Information
      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 Numbers
      O可选(Optional)
      Repeat 12

      To specify identifying numbers.

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

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

  • S5Loop1Stop Off Details LOOPO可选(Optional)Repeat 50
    S5G62N9H6N1Loop2
    • S5
      Stop Off Details
      M必须(Mandatory)
      Repeat 1

      To specify stop-off details in terms of weight, quantity and volume.

    • G62
      Date/Time
      O可选(Optional)
      Repeat 6

      To specify pertinent dates and times

    • N9
      Reference Number
      O可选(Optional)
      Repeat 10

      To transmit identifying numbers and descriptive information as specified by the reference number qualifier

    • H6
      Special Services
      O可选(Optional)
      Repeat 6

      To identify forms of unitization, liability issues and special services.

    • N1Loop2Name LOOPO可选(Optional)Repeat 5
      N1N2N3N4REFPER
      • N1
        Name
        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 or those longer than 35 characters in length

      • N3
        Address Information
        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 Numbers
        O可选(Optional)
        Repeat 12

        To specify identifying numbers.

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

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

  • LXLoop1Assigned Number LOOPM必须(Mandatory)Repeat 999
    LXN1Loop3L5L0Loop1L7SL1R1LHN9X1X2P1PODFOBITAL8V9P2N7H1Loop2
    • LX
      Assigned Number
      M必须(Mandatory)
      Repeat 1

      To reference a line number in a transaction set.

    • N1Loop3Name LOOPO可选(Optional)Repeat 10
      N1N2N3N4REFPER
      • N1
        Name
        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 or those longer than 35 characters in length

      • N3
        Address Information
        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 Numbers
        O可选(Optional)
        Repeat 12

        To specify identifying numbers.

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

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

    • L5
      Description, Marks and Numbers
      O可选(Optional)
      Repeat 10

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

    • L0Loop1Line Item - Quantity and Weight LOOPO可选(Optional)Repeat 10
      L0L1MEA
      • 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.

      • L1
        Rate and Charges
        O可选(Optional)
        Repeat 20

        To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements

      • MEA
        Measurements
        O可选(Optional)
        Repeat 5

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

    • L7
      Tariff Reference
      O可选(Optional)
      Repeat 10

      To reference details of the tariff used to arrive at applicable rates or charge

    • SL1
      Tariff Reference
      O可选(Optional)
      Repeat 1

      To reference details of the tariff used to arrive at applicable rates or charges for customer requested service

    • R1
      Route Information (Air)
      O可选(Optional)
      Repeat 1

      To specify airline and airport routing sequences

    • LH
      Mixed Hazardous Commodities
      O可选(Optional)
      Repeat 1

      To specify hazardous line items in terms of hazardous mnemonic, identification number, reportable quantities and limited quantities.

    • N9
      Reference Number
      O可选(Optional)
      Repeat 10

      To transmit identifying numbers and descriptive information as specified by the reference number qualifier

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

      To transmit information contained on an export license

    • X2
      Import License
      O可选(Optional)
      Repeat 1

      To transmit import license number and effective dates

    • P1
      Pick-up
      O可选(Optional)
      Repeat 1

      To specify the pick-up details including time, date and equipment

    • POD
      Proof of Delivery
      O可选(Optional)
      Repeat 1

      To provide proof of delivery

    • FOB
      F.O.B. Related Instructions
      O可选(Optional)
      Repeat 1

      To specify transportation instructions relating to shipment

    • ITA
      Allowance, Charge or Service
      O可选(Optional)
      Repeat 20

      To specify allowances, charges or services

    • L8
      Line Item Subtotal
      O可选(Optional)
      Repeat 1

      To specify line item subtotals

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

      To specify information about a specific event

    • P2
      Delivery
      O可选(Optional)
      Repeat 1

      To specify delivery date

    • N7
      Equipment Details
      O可选(Optional)
      Repeat 5

      To identify the equipment.

    • H1Loop2Hazardous Material LOOPO可选(Optional)Repeat 3
      H1H2
      • H1
        Hazardous Material
        M必须(Mandatory)
        Repeat 1

        To specify information relative to hazardous material

      • H2
        Additional Hazardous Material Description
        O可选(Optional)
        Repeat 2

        To specify free-form hazardous material descriptive data in addition to the information provided in segment H1

  • L3
    Total Weight and Charges
    O可选(Optional)
    Repeat 1

    To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items

  • 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 00305
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