Toll calculator: how to work out the toll cost of a route
Direct answer: a toll calculator takes an origin, a destination and a vehicle profile, builds the route, splits it into tolled sections and sums the applicable charges. Tolls Calculator documents Spain, Portugal and France as its core coverage, extending to operators such as TollCollect (Germany) and Telepass (Italy) in the cost module. The exact amount always depends on the rates in force at query time: treat any number as an estimate until confirmed with a live query.
Method
- Define route geometry (coordinates or a polyline from your router).
- Set the vehicle profile: toll class, axles, authorised mass and EURO class where the operator uses them.
- Match each section to its operator (VÃa-T and free-flow in Iberia, TIS-PL and autoroutes in France, TollCollect, Telepass).
- Apply payment-method differences and sum the breakdown.
Example request
POST https://back.transcend.cargoffer.com/api/v1/tolls/calculate with polyline, vehicle_class and payment_method; see the toll API guide for payloads and responses (figures there are illustrative).
Any amount quoted is illustrative: always run a live query before committing a price.