EU Duty Calculator (TARIC)
eu_duty_calculatorCalculate EU import duty for a 10-digit TARIC code by origin, as-of date, and EUR customs value; include TARIC quantities to compute specific duties and flag missing data.
Instructions
Compute EU import duty from TARIC for a declarable 10-digit code, as_of (YYYY-MM-DD, mandatory), origin (ISO country) and customs_value in EUR, with quantities by TARIC unit code (e.g. {"DTN": 12.5}) where a specific duty needs them. Every measure on the code for that origin gets a state: computed, insufficient_data (condition, quota balance, additional code, Meursing, entry price, MIN / MAX, or a quantity named in missing_inputs) or not_applicable. Third-country duty first; each other rate is its own line saying what it requires; no total. Trade-defence duties are listed, never computed. For the measures alone use eu_tariff_lookup; for the UK use uk_duty_calculator. No VAT, excise or currency conversion (EUR only); one monthly TARIC extraction, as_of must be its reference date. Reference, not advice. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eu_duty_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Declarable TARIC code, 10 digits (an 8-digit CN code is read as its 10-digit form). Required. | |
| as_of | No | Date the duty is computed for, YYYY-MM-DD. Required; must be the reference date of the TARIC extraction (a refusal names it). | |
| origin | No | Country of origin, ISO 3166 alpha-2 (e.g. CN, US, TR). Required. | |
| currency | No | EUR (the default and the only one accepted: no currency is converted). | |
| quantities | No | Quantities by TARIC unit code for specific or compound duties, e.g. {"DTN": 12.5} (12.5 × 100 kg), {"HLT": 4}, {"NAR": 100}, {"DTN/E": 3}. A specific duty without its quantity is listed as insufficient_data and named in missing_inputs. | |
| customs_value | No | Customs value in EUR, a positive number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| _meta | No | ||
| as_of | No | ||
| result | Yes | ||
| status | No | ||
| _source | Yes | ||
| edition | No | ||
| citation | Yes | ||
| validity | No | ||
| warnings | No | ||
| confidence | Yes | ||
| missing_inputs | No | ||
| blocking_errors | No | ||
| envelope_version | Yes | ||
| normalized_input | No |