uk_duty_calculator
Estimates UK import duty and VAT from a 10-digit commodity code using live GOV.UK Trade Tariff rates: computes CIF value, duty by origin country, and VAT on the duty-inclusive total.
Instructions
Estimate UK import duty and VAT for a commodity code from the LIVE GOV.UK Trade Tariff: CIF = customs_value + freight_cost + insurance_cost (GBP); duty = CIF x the rate for the origin country; VAT on the duty-inclusive value. commodity_code must be the declarable 10 digits: a 6- or 8-digit code is refused — never padded with zeros — with the declarable codes beneath it. To find the code first use hs_code_lookup; for who pays these costs incoterms_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. An estimate, not a customs ruling — confirm with a customs broker or HMRC.
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": "uk_duty_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Batch: up to 10 lines, each { commodity_code, origin_country, customs_value, freight_cost?, insurance_cost?, incoterm? }. Send alone. | |
| incoterm | No | Incoterms 2020 basis of the customs_value — documents which costs are already included. | |
| freight_cost | No | Freight cost in GBP, 0 or more — added to the CIF value. Default: 0. | |
| customs_value | No | Goods value, GBP. Required unless lines[] is sent. | |
| commodity_code | No | Required unless lines[] is sent. The declarable 10-digit UK commodity code, e.g. "8471300000". | |
| insurance_cost | No | Insurance cost in GBP, 0 or more — added to the CIF value. Default: 0. | |
| origin_country | No | Required unless lines[] is sent. ISO 2-letter country of origin. |
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 |