Calculate IUC (yearly circulation tax)
calculate_iucCalculates one year of Portugal's IUC circulation tax for eligible passenger cars and returns the estimated amount in EUR from vehicle details.
Instructions
Compute one year of IUC (Imposto Único de Circulação, the "selo do carro"), Portugal's yearly circulation tax, for a passenger car first registered in the EU/EEA on or after 1 July 2007 (category B).
Same vehicle object as calculate_isv. If the user does not know engine_cc or co2_g_km, ask them; do not estimate. An unknown CO2 standard is assumed from the registration year and flagged. Cars first registered before 1 July 2007 return an error: tell the user this server cannot compute them, and do not retry with a different date.
Returns total_eur for one year at the tax_year rates. Always relay flags and disclaimer to the user: this is an illustration, not tax advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vehicle": "<vehicle>"
},
"name": "calculate_iuc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vehicle | Yes | The car being taxed. | |
| tax_year | No | Year of the tax tables to use. Only years listed in the pricewise://tables resource are available (currently 2026). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | Yes | ||
| sources | Yes | ||
| tax_year | Yes | ||
| total_eur | Yes | IUC for one year, in euros, rounded half-up to the cent. | |
| disclaimer | No | Illustration only, not tax advice. Computed from the 2026 tables of the Código do ISV and Código do IUC; confirm with the Autoridade Tributária e Aduaneira before relying on it. | |
| co2_extra_eur | Yes | Extra for high CO2 (cars registered from 2017). | |
| diesel_extra_eur | Yes | ||
| year_coefficient | Yes | Coefficient set by the year of first registration. | |
| co2_component_eur | Yes | ||
| co2_standard_used | Yes | ||
| co2_standard_assumed | Yes | ||
| engine_component_eur | Yes |