Answer
The HGV Levy is a road user charge for heavy goods vehicles (≥12 tons) operating on public roads in the United Kingdom. Through PTV Developer APIs – particularly the xRoute API or Costs API – this fee is automatically considered during route calculation, based on current UK regulations.
For the levy to be correctly applied, the following conditions must be met:
-
Set correct vehicle parameters:
You must define relevant attributes such as:vehicleWeightemissionClassnumberOfAxles
Route includes the UK:
The calculated route must contain a segment within the United Kingdom (e.g. crossing from Calais to Dover).Toll cost calculation enabled:
Toll cost calculation must be activated by settingconsiderTollCosts = true.Vehicle not registered in the UK:
The HGV Levy only applies to vehicles not registered in Great Britain.
The fee is calculated as a daily flat rate per calendar day spent in the UK, regardless of the actual driven distance. The cost will be reflected in the API response under the tollCosts section.
Additions hints
The specific rate depends on:
Emission class (Euro I–VI)
Number of axles
Country of registration
The toll data used by PTV is updated regularly to ensure legal compliance with UK authorities.
No additional request or configuration is required to apply the HGV Levy – it is handled automatically within the toll calculation.
Related articles
PTV Developer Documentation – xRoute API
Vehicle Profile Setup for Cross-Border HGVs
How Toll Cost Calculation Works in PTV Developer
- ...