Check a freight bill against the market
check_freight_billCompare what a shipper was billed (or quoted) for one truckload or LTL load with today's market price for the same lane. Use it when the user uploads, pastes, or describes a freight bill, carrier or broker invoice, or rate confirmation and asks whether the price is fair. Read the fields off the document yourself and pass only those; never send the document, its text, company or people's names, street addresses, or invoice, PRO, BOL, or account numbers. If the document doesn't say what kind of truck moved the load, ask the user. Dry Van and LTL return a verdict (above_market, at_market, good_price, below_floor) against FreightFA's market quote, negotiation target, and walk-away floor, plus what negotiating would have saved. Reefer and Flatbed return FreightFA's estimate and the gap with no verdict (no_call). The comparison is all-in with fuel; put detention, lumper, liftgate and other extras in accessorials so they are left out. Bills older than 90 days are not judged. Takes places, not miles. Each call counts as one estimate toward the account's monthly FreightFA allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | What moved. A plain truckload or FTL bill is 'Dry Van'. | |
| origin | Yes | Where the load picked up: city and state, or ZIP. Example: 'Chicago, IL 60601'. Not the bill-to or remit-to address. | |
| pallets | Yes | LTL only: pallet count, or null. | |
| ship_date | Yes | Ship or pickup date as YYYY-MM-DD, or null if the bill doesn't say. | |
| weight_lbs | Yes | LTL only: shipment weight in pounds. Null for truckload. | |
| destination | Yes | Where the load delivered: city and state, or ZIP. | |
| accessorials | Yes | The part of billed_total that is extras (detention, lumper, liftgate, residential, layover), in dollars. Null or 0 when there are none. | |
| billed_total | Yes | Everything on the bill, in U.S. dollars. | |
| freight_class | Yes | LTL only: NMFC freight class from the bill such as '70' or '92.5', or null. |