Calculate ISV (registration tax)
calculate_isvCompute Portugal's one-off ISV registration tax for a used passenger car imported from another EU/EEA state using its registration date, fuel, engine size, CO2 and declaration date.
Instructions
Compute ISV (Imposto sobre Veículos), Portugal's one-off registration tax, due when a used passenger car from another EU/EEA state is registered in Portugal ("legalizar um carro importado").
Inputs come from the car's documents: first-registration date (field B), fuel, engine cc (P.1) and CO2 g/km (V.7), plus the declaration date. If the user does not know engine_cc or co2_g_km, ask them; do not estimate. If the CO2 test standard (NEDC/WLTP) or a diesel's particle value is unknown, call anyway: the result assumes the costlier case and says so in flags.
Returns total_eur, its components and the legal sources. 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>",
"declaration_date": "<declaration_date>"
},
"name": "calculate_isv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vehicle | Yes | The car being registered. | |
| tax_year | No | Year of the tax tables to use. Only years listed in the pricewise://tables resource are available (currently 2026). | |
| declaration_date | Yes | Date the car is declared to the tax authority (ISO 8601). Sets the age reduction; never defaults to today so results are reproducible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | Yes | Assumptions and caveats the caller should relay to the user. | |
| regime | Yes | ||
| sources | Yes | Legal sources of the tables used. | |
| tax_year | Yes | ||
| total_eur | Yes | ISV due, 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. | |
| age_reduction | Yes | Age reduction applied, 0.10 to 0.80. | |
| regime_factor | Yes | Multiplier for the reduced hybrid regimes. | |
| minimum_applied | Yes | True if the legal minimum replaced the computed value. | |
| declaration_date | Yes | ||
| co2_component_eur | Yes | CO2 component after age reduction and regime factor. | |
| co2_standard_used | Yes | ||
| co2_standard_assumed | Yes | True if the standard was guessed from the registration date. | |
| engine_component_eur | Yes | Engine-size component after age reduction and regime factor. | |
| alternative_total_eur | Yes | Total under the other standard, when the standard was unknown and both are possible. | |
| particle_surcharge_eur | Yes |