Mileage-based charge type
For a charge type that is based on the total distance between all billable stops on an order, make these entries:
Charge Units
Set to Miles.
Unit Basis
Set to Distance.
Rate Unit
Set to $/Mile.
For example: