EDI 859 Freight Invoice

Functional Group FB

X12I Transportation Subcommittee

This X12 Transaction Set 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. This transaction set can also be used to exchange transportation services invoice information based on services provided in accordance with Government transportation rules and regulations. It may be used by the U.S. Civilian Government, U.S. Department of Defense, and any of their trading partners to exchange invoice information resulting from the shipment of freight, household goods, and passengers. This transaction set fulfills financial information requirements established by the U.S. Government.

Heading

Position
Segment
Name
Max use
  1. To indicate the start of a transaction set and to assign a control number

  2. To transmit basic data relating to the carrier's invoice

  3. To indicate type of invoice and number of shipments

  4. To transmit identifying information as specified by the Reference Identification Qualifier

  5. To identify specific flight or voyage information for multimodal shipments

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

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

  8. To specify the currency being used in the transaction set

  9. To specify terms of sale

  10. To specify pertinent dates and times

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

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

  13. To identify the rail origin of the shipment

  14. To identify the rail destination of the shipment

  15. To specify airline and airport routing sequences

  16. To specify carrier and routing sequences and details

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

  18. To specify mechanical protective service and ventilation instructions

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

  20. To specify details related to insurance

  21. To state terms and dates

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

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

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

  25. To specify the pickup details including time, date, and equipment

  26. To specify allowances, charges, or services

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

  28. To specify the route using a single code

  29. H1 Loop Optional
    Repeat 3
    1. To specify information relative to hazardous material

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

  30. N7 Loop Optional
    Repeat 600
    1. To identify the equipment

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

    3. To specify carrier equipment

    4. To specify identifying information

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

    6. To define motor vehicle identification and logistics

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

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

  31. N1 Loop Optional
    Repeat 10
    1. To identify a party by type of organization, name, and code

    2. To specify additional names

    3. To specify the location of the named party

    4. To specify the geographic place of the named party

    5. To specify identifying information

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

  32. S5 Loop Optional
    Repeat 50
    1. To specify stop-off detail reference numbers and stop reason

    2. To specify pertinent dates and times

    3. To transmit identifying information as specified by the Reference Identification Qualifier

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

    5. N1 Loop Optional
      Repeat 5
      1. To identify a party by type of organization, name, and code

      2. To specify additional names

      3. To specify the location of the named party

      4. To specify the geographic place of the named party

      5. To specify identifying information

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

Detail

Position
Segment
Name
Max use
  1. LX Loop Mandatory
    Repeat 999
    1. To reference a line number in a transaction set

    2. N1 Loop Optional
      Repeat 10
      1. To identify a party by type of organization, name, and code

      2. To specify additional names

      3. To specify the location of the named party

      4. To specify the geographic place of the named party

      5. To specify identifying information

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

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

    4. L0 Loop Optional
      Repeat 10
      1. To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data

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

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

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

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

    7. To specify airline and airport routing sequences

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

    9. To transmit identifying information as specified by the Reference Identification Qualifier

    10. To transmit information contained on an export license

    11. To transmit import license number and effective dates

    12. To specify the pickup details including time, date, and equipment

    13. To provide proof of delivery

    14. To specify transportation instructions relating to shipment

    15. To specify allowances, charges, or services

    16. To specify line item subtotals

    17. To specify information about a specific event

    18. To specify delivery date

    19. To identify the equipment

    20. H1 Loop Optional
      Repeat 3
      1. To specify information relative to hazardous material

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

Summary

Position
Segment
Name
Max use
  1. To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items

  2. 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 is provided for marketing purposes and is 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.