Price every lane and bill each shipper
Keep a rate card per shipper, model a general rate increase before the increase goes live, and track margin by lane. Bill shippers at contracted rates, and give each a sub-account that shows only that shipper's shipments.
How a carrier prices and bills a shipper
Build the rate card on your cost model, stage the rate increase, and invoice the shipper at the contracted rates.