Calculate import duty and landed cost
calculate_import_dutyCalculates import duty, taxes and landed cost for shipments to the UK, EU, US or India from origin, HS code, customs value and proof of origin, flagging any duties that cannot be computed.
Instructions
Duties and taxes on one import, as of the tariff's version date: the third-country (MFN) duty or, with proof_of_origin, the lowest preferential duty under a trade agreement; extra duties in force for the origin (anti-dumping, countervailing, safeguard, US Section 301); excise (UK); import VAT (UK, or the EU member state's standard rate); US entry fees; and the landed cost. Destinations: gb (the UK), eu or an EU member state (de, fr, it, es, nl…; its import VAT applies), us (the United States) or in (India). Each line has its measure, legal instrument and source. A duty that cannot be computed (a specific duty without quantity, an exporter-specific anti-dumping duty without additional_code) is shown as not computed and totals.complete is false with the reasons. Use get_tariff to find the 10-digit code. The figures are an estimate, not a customs ruling: TARIC is not legally binding, and the customs authority makes the final determination.
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": {
"origin": "<origin>",
"hs_code": "<hs_code>",
"customs_value": "<customs_value>"
},
"name": "calculate_import_duty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit of quantity: kg, g, tonne, 100 kg, l, hl, items, 1000 items, pairs, m, m2, m3, or the tariff's own unit (e.g. "% vol/hl"). | |
| origin | Yes | Country of origin of the goods (ISO code or name), e.g. "cn", "India". | |
| hs_code | Yes | The 10-digit commodity code of the importing tariff (a shorter prefix works when it matches one line only), e.g. "0901210000"; dots and spaces are ignored. | |
| importer | No | Alias of destination (the importing country). | |
| quantity | No | Quantity in unit, for specific duties and excise (give unit too). | |
| vat_code | No | UK VAT additional code for another VAT rate (e.g. VATZ zero rate, VATR reduced rate). | |
| documents | No | Document (certificate) codes declared with the goods (up to 10), e.g. D008 for the invoice that gives an EU exporter its own anti-dumping rate. | |
| transport | No | US only: how the goods arrive; vessel adds the harbor maintenance fee. | |
| destination | No | Importing country (required, or give importer): gb (the UK), eu or an EU member state (de, fr, it, es, nl…; its import VAT applies), us (the United States) or in (India). Names work too ("United Kingdom", "Germany"). | |
| excise_code | No | UK excise additional code where several apply (e.g. X311). | |
| customs_value | Yes | Customs value in the tariff's currency: CIF (price plus transport and insurance to the border) in GBP for the UK and EUR for the EU; the transaction value in USD for the US; INR for India. | |
| additional_code | No | Additional codes declared with the commodity code (up to 4): the exporter's code for exporter-specific anti-dumping or countervailing duties (e.g. 8A95). | |
| proof_of_origin | No | true when the goods have a valid proof of origin for a preference: the lowest preferential duty is used instead of MFN. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mfn | Yes | ||
| basis | Yes | ||
| lines | Yes | ||
| notes | Yes | ||
| caveat | Yes | The tariff figures are not a customs ruling; who makes the final determination. | |
| inputs | Yes | ||
| origin | Yes | ||
| tariff | Yes | ||
| totals | Yes | ||
| licence | Yes | ||
| sources | Yes | Official sources for the rates used. | |
| currency | Yes | ||
| warnings | Yes | ||
| commodity | Yes | ||
| disclaimer | Yes | ||
| attribution | Yes | Always "Data by CalcBloc"; show it with the figures. | |
| calcblocUrl | Yes | The calcbloc.com page for this result. | |
| destination | Yes | ||
| memberState | Yes | ||
| customsValue | Yes | ||
| otherCharges | Yes | Listed, not added to the totals. | |
| preferential | Yes | The preference applied (proof_of_origin true), or the best one available. | |
| attributionUrl | Yes | ||
| tariffDisclaimer | Yes | ||
| extraDutiesPossible | Yes | Extra duties that apply to some imports of this origin (e.g. per exporter additional code). | |
| preferentialOptions | Yes |