Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

859 Freight Invoice

A Freight Invoice bills a customer for transportation services. The carrier sends it to the company or government agency that is paying, for moving freight, household goods or passengers. The B3 (Beginning Segment for Carrier’s Invoice) segment gives the invoice number, billing date and amount due. L0 (Line Item - Quantity and Weight) segments show what was moved, L1 (Rate and Charges) segments list the charges, and the L3 (Total Weight and Charges) segment adds them up.

For example, Tolliver Trucking hauls 12 crates of generator parts from an army base in Texas to a depot in Georgia. It then sends the army an 859. The B3 segment carries Tolliver’s invoice number and the $1,660 due, and N1 (Name) loops name the base and the depot. An L0 segment shows the weight of 9,600 pounds. One L1 segment charges $1,450 for the haul, and another charges $210 for fuel. The L3 segment gives the same weight and the total of $1,660. The army checks the invoice against its shipping records and pays it.

Structure

Freight Invoice (FB859) contains 3 tables (Heading, Detail, Summary), 10 loops, and 87 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
B3 020
Beginning Segment for Carrier's Invoice
R
Max 1
B3A 030
Invoice Type
O
Max 1
N9 040
Reference Number
O
Max 30
CM 050
Cargo Manifest
O
Max 1
Y6 060
Authentication
O
Max 4

Sign up free to see the full FB859 reference

See every segment, loop, and element across all 3 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.