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

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

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 Carrier's InvoiceMandatory
Max 1
To transmit basic data relating to the carrier's invoice
0300
Invoice Type
Max 1
To indicate type of invoice and number of shipments
0400
Extended Reference Information
Max 30
To transmit identifying information as specified by the Reference Identification Qualifier
0500
Cargo Manifest
Max 1
To identify specific flight or voyage information for multimodal shipments
0600
Authentication
Max 4
To specify the authority for authorizing an action and the date authentication is made
0700
Cargo Booking Priority
Max 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
0800
Currency Identifier
Max 1
To specify the currency being used in the transaction set
1000
Date/Time
Max 10
To specify pertinent dates and times
1100
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
1200
Cross-Reference Equipment
Max 30
To cross-reference additional equipment to a primary piece of equipment
1300
Origin Station
Max 1
To identify the rail origin of the shipment
1400
Destination Station
Max 1
To identify the rail destination of the shipment
1500
Route Information (Air)
Max 1
To specify airline and airport routing sequences
1600
Route Information
Max 13
To specify carrier and routing sequences and details
1700
Special Handling Instructions
Max 6
To specify special handling instructions in coded or free-form format
1710
Protective Service Instructions
Max 5
To specify mechanical protective service and ventilation instructions
1800
Special Services
Max 6
To identify forms of unitization, liability issues, and special services
1900
Insurance
Max 1
To specify details related to insurance
2000
Sales/Delivery Terms
Max 1
To state terms and dates
2100
Tariff Reference
Max 30
To reference details of the tariff used to arrive at applicable rates or charge
2200
Note/Special Instruction
Max 30
To transmit information in a free-form format, if necessary, for comment or special instruction
2300
Pro Forma - B13 Information
Max 1
To specify a pro forma invoice and B13 Canada Customs Export Declaration information, required by U.S. Customs and Border Protection (CBP) and Canada Customs
2500
Pickup
Max 1
To specify the pickup details including time, date, and equipment
2600
Allowance, Charge or Service
Max 1
To specify allowances, charges, or services
2700
Waybill Reference
Max 499
To identify the waybill and to specify the equipment used and the destination details
2800
Route Code Identification
Max 1
To specify the route using a single code
H1 Loop
Repeat 3
2900
Hazardous Material
Max 1
To specify information relative to hazardous material
3000
Additional Hazardous Material Description
Max 2
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
N7 Loop
Repeat 600
3100
Equipment Details
Max 1
To identify the equipment
3200
Seal Numbers
Max 5
To record seal numbers used and the organization that applied the seals
3300
Equipment Ordered
Max 1
To specify carrier equipment
3400
Reference Information
Max 5
To specify identifying information
3500
Intermodal Chassis Equipment
Max 1
To specify the chassis equipment details in terms of identifying numbers, weights, and ownership
3600
Motor Vehicle Control
Max 36
To define motor vehicle identification and logistics
3700
Scale Identification
Max 1
To identify the scale type and the location and time a shipment is weighed
3750
Canadian Grain Information
Max 15
To transmit the transportation and distribution requirements of grain at Canadian ports
N1 Loop
Repeat 10
3800
Party Identification
Max 1
To identify a party by type of organization, name, and code
3900
Additional Name Information
Max 2
To specify additional names
4000
Party Location
Max 2
To specify the location of the named party
4100
Geographic Location
Max 1
To specify the geographic place of the named party
4200
Reference Information
Max 12
To specify identifying information
4300
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
S5 Loop
Repeat 50
4400
Stop-off Details
Max 1
To specify stop-off detail reference numbers and stop reason
4500
Date/Time
Max 6
To specify pertinent dates and times
4600
Extended Reference Information
Max 10
To transmit identifying information as specified by the Reference Identification Qualifier
4700
Special Services
Max 6
To identify forms of unitization, liability issues, and special services
N1 Loop
Repeat 5
4800
Party Identification
Max 1
To identify a party by type of organization, name, and code
4900
Additional Name Information
Max 2
To specify additional names
5000
Party Location
Max 2
To specify the location of the named party
5100
Geographic Location
Max 1
To specify the geographic place of the named party
5200
Reference Information
Max 12
To specify identifying information
5300
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed

Detail

Sequence
Segment
Name
Max use
LX Loop
Repeat 999
0100
Transaction Set Line NumberMandatory
Max 1
To reference a line number in a transaction set
N1 Loop
Repeat 10
0200
Party Identification
Max 1
To identify a party by type of organization, name, and code
0300
Additional Name Information
Max 2
To specify additional names
0400
Party Location
Max 2
To specify the location of the named party
0500
Geographic Location
Max 1
To specify the geographic place of the named party
0600
Reference Information
Max 12
To specify identifying information
0700
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
1000
Description, Marks and Numbers
Max 10
To specify the line item in terms of description, quantity, packaging, and marks and numbers
L0 Loop
Repeat 10
1100
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
1200
Rate and Charges
Max 20
To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements
1300
Measurements
Max 5
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
1400
Tariff Reference
Max 10
To reference details of the tariff used to arrive at applicable rates or charge
1600
Tariff Details
Max 1
To reference details of the tariff used to arrive at applicable rates or charges for customer-requested service
1700
Route Information (Air)
Max 1
To specify airline and airport routing sequences
1800
Mixed Hazardous Commodities
Max 1
To specify hazardous line items in terms of hazardous mnemonic, identification number, reportable quantities, and limited quantities
1900
Extended Reference Information
Max 10
To transmit identifying information as specified by the Reference Identification Qualifier
2000
Export License
Max 6
To transmit information contained on an export license
2100
Import License
Max 1
To transmit import license number and effective dates
2200
Pickup
Max 1
To specify the pickup details including time, date, and equipment
2300
Proof of Delivery
Max 1
To provide proof of delivery
2400
F.O.B. Related Instructions
Max 1
To specify transportation instructions relating to shipment
2500
Allowance, Charge or Service
Max 20
To specify allowances, charges, or services
2600
Line Item Subtotal
Max 1
To specify line item subtotals
2700
Event Detail
Max 1
To specify information about a specific event
2800
Delivery Date Information
Max 1
To specify delivery date
2900
Equipment Details
Max 5
To identify the equipment
H1 Loop
Repeat 3
3000
Hazardous Material
Max 1
To specify information relative to hazardous material
3100
Additional Hazardous Material Description
Max 2
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment

Summary

Sequence
Segment
Name
Max use
0100
Total Weight and Charges
Max 1
To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items
0200
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.