# EU TARIC Customs Duty & Landed Cost Calculator (API & MCP) (`eurocomply_data/eu-taric-customs-calculator`) Actor

Validate 4-to-10 digit EU HS/CN8/TARIC customs codes, check EU Free Trade Agreement (FTA) preferential origin eligibility, calculate EU27 import duties, destination VAT, and full landed cost in EUR, and flag CBAM/EUDR compliance requirements. Works as Batch Actor, REST API & MCP Server.

- **URL**: https://apify.com/eurocomply_data/eu-taric-customs-calculator.md
- **Developed by:** [Eduardo Pinto](https://apify.com/eurocomply_data) (community)
- **Categories:** Business, Automation, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 eu taric / landed cost checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU TARIC Customs Tariff, Duty & Landed Cost Calculator (API & MCP)

Validate 4-to-10 digit **EU HS / CN8 / TARIC** customs codes, verify **EU Free Trade Agreement (FTA)** preferential origin eligibility, calculate **EU27 destination Import VAT & Landed Cost (EUR)**, and automatically flag **EU CBAM** and **EU EUDR** compliance obligations.

Available in **three modes**:

1. **Batch Actor** — screen bulk SKU/PO lists and export CSV/Excel/JSON landed cost sheets.
2. **Low-Latency Standby REST API** — integrate into ERPs, e-commerce checkouts, customs platforms, or `n8n` / Make.
3. **Model Context Protocol (MCP) Server (`/mcp`)** — plug straight into AI agents (Claude, Cursor, Antigravity, LangChain).

***

### Features

- **EU HS / CN8 / TARIC Validation:** Normalizes 4–10 digit codes, identifies HS chapters, provides EU Common Customs Tariff (CCT) MFN duty benchmarks, and returns direct official EU TARIC consultation URLs.
- **EU Free Trade Agreements & Customs Unions:** Automatically detects 0% preferential duty eligibility across 23+ partner countries (UK TCA, Turkey Customs Union, EEA, Switzerland, Canada CETA, Japan EPA, South Korea, Vietnam, Singapore, New Zealand, etc.) with required proof-of-origin documents (`EUR.1`, `REX`, `A.TR`).
- **All 27 EU Member States Import VAT:** Calculates exact import VAT on `CIF + Customs Duty` using each destination country's standard VAT rate (`PT 23%`, `DE 19%`, `FR 20%`, `ES 21%`, `NL 21%`, `HU 27%`, etc.).
- **Built-In EU Regulatory Cross-Screening:** Flags shipments subject to **EU CBAM (2026+)**, **EU EUDR (Deforestation)**, and **CE Marking**.

### Standby REST API & MCP Endpoints

- `POST /mcp` — MCP tools: `lookup_eu_taric_code`, `calculate_eu_landed_cost`, `check_eu_trade_agreement`, `get_eu27_vat_rates`
- `POST /api/landed-cost` — Single or batch landed cost calculation
- `GET /api/taric/:code` — Instant TARIC/CN8 code lookup
- `GET /api/fta/:country` — Check EU FTA eligibility
- `GET /api/vat-rates` — Get all EU27 standard VAT rates

***

### Native MCP Server Setup (Claude Desktop, Cursor & VS Code)

Connect this Actor directly to any MCP-compatible AI agent using Streamable HTTP (or use our [1-Click MCP Config Generator](https://epinto1000-a11y.github.io/eurocomply-mcp-suite/#mcp-generator)):

```json
{
  "mcpServers": {
    "eu-taric-customs-calculator": {
      "type": "http",
      "url": "https://eurocomply-data--eu-taric-customs-calculator.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer apify_api_YOUR_TOKEN"
      }
    }
  }
}
```

- **Official MCP Registry ID:** `io.github.epinto1000-a11y/eu-taric-customs-calculator`
- **n8n Templates & Examples:** [eurocomply-mcp-suite on GitHub](https://github.com/epinto1000-a11y/eurocomply-mcp-suite)

***

### FAQ

**Are 2026 EU VAT rate updates included?**
Yes, all 27 EU member states are supported, including Estonia (24% VAT) and Romania (21% VAT).

**Does it handle the post-July 2026 €150 B2C customs reform?**
Yes. Shipments valued up to €150 under the post-July 2026 B2C regime automatically compute the €3 flat duty and €2 Union Handling Fee.

**Does it flag CBAM-covered goods automatically?**
Yes. Each calculation flags whether the CN/HS code falls under EU CBAM scope (while properly excluding `3105 60 00`).

***

### EuroComply Data Suite

Explore all 10 production EU compliance, live verification, and B2B automation Actors by [EuroComply Data](https://apify.com/eurocomply_data):

| Actor | Pricing | Modes |
| :--- | :--- | :--- |
| [EU CBAM 2026 Compliance Calculator](https://apify.com/eurocomply_data/eu-cbam-compliance-calculator) | `$0.005 / cbam-check` | Batch + REST + MCP |
| [EU EUDR GeoJSON Validator & Auto-Fixer](https://apify.com/eurocomply_data/eu-eudr-geojson-validator) | `$0.005 / eudr-plot-check` | Batch + REST + MCP |
| [EU TARIC Customs & Landed Cost Calculator](https://apify.com/eurocomply_data/eu-taric-customs-calculator) | `$0.005 / taric-lookup` | Batch + REST + MCP |
| [EU AI Act Risk Classifier](https://apify.com/eurocomply_data/eu-ai-act-risk-classifier) | `$0.005 / ai-act-check` | Batch + REST + MCP |
| [EU SEPA ISO 20022 XML Validator](https://apify.com/eurocomply_data/eu-sepa-iso20022-validator) | `$0.005 / sepa-validate` | Batch + REST + MCP |
| [EU NIS2 & DORA Compliance Calculator](https://apify.com/eurocomply_data/eu-nis2-dora-compliance-calculator) | `$0.005 / nis2-dora-check` | Batch + REST + MCP |
| [EU EUR-Lex Live Legislation Monitor](https://apify.com/eurocomply_data/eu-eurlex-legislation-monitor) | `$0.005 / eurlex-document` | Batch + REST + MCP |
| [EU KYB Live Company Verifier](https://apify.com/eurocomply_data/eu-kyb-company-verifier) | `$0.005 / kyb-check` | Batch + REST + MCP |
| [Universal E-Commerce Price & Stock Monitor](https://apify.com/eurocomply_data/universal-ecommerce-price-stock-monitor) | `$0.005 / product-check` | Batch + REST + MCP |
| [B2B Buying Intent Signal Finder](https://apify.com/eurocomply_data/b2b-buying-intent-signal-finder) | `$0.005 / intent-lead` | Batch + REST + MCP |

# Actor input Schema

## `items` (type: `array`):

List of imported goods with HS/CN8/TARIC code, origin country, destination EU country, and CIF customs value in EUR.

## `defaultDestinationCountry` (type: `string`):

Default EU27 Member State ISO code used when an item omits `destinationCountry`.

## Actor input object example

```json
{
  "items": [
    {
      "reference": "IMP-001",
      "taricCode": "8517 13 00 00",
      "originCountry": "CN",
      "destinationCountry": "PT",
      "customsValueEur": 12000,
      "claimPreferentialOrigin": true
    },
    {
      "reference": "IMP-002",
      "taricCode": "6109 10 00 10",
      "originCountry": "TR",
      "destinationCountry": "DE",
      "customsValueEur": 8500,
      "claimPreferentialOrigin": true
    },
    {
      "reference": "IMP-003",
      "taricCode": "7208 10 00 00",
      "originCountry": "IN",
      "destinationCountry": "NL",
      "customsValueEur": 45000,
      "claimPreferentialOrigin": false
    }
  ],
  "defaultDestinationCountry": "DE"
}
```

# Actor output Schema

## `results` (type: `string`):

Detailed duty rate, FTA eligibility, EU27 import VAT, landed cost in EUR, and CBAM/EUDR regulatory flags per shipment.

## `summary` (type: `string`):

Total customs value, total duty, total import VAT, and total landed cost across all items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "items": [
        {
            "reference": "IMP-001",
            "taricCode": "8517 13 00 00",
            "originCountry": "CN",
            "destinationCountry": "PT",
            "customsValueEur": 12000,
            "claimPreferentialOrigin": true
        },
        {
            "reference": "IMP-002",
            "taricCode": "6109 10 00 10",
            "originCountry": "TR",
            "destinationCountry": "DE",
            "customsValueEur": 8500,
            "claimPreferentialOrigin": true
        },
        {
            "reference": "IMP-003",
            "taricCode": "7208 10 00 00",
            "originCountry": "IN",
            "destinationCountry": "NL",
            "customsValueEur": 45000,
            "claimPreferentialOrigin": false
        }
    ],
    "defaultDestinationCountry": "DE"
};

// Run the Actor and wait for it to finish
const run = await client.actor("eurocomply_data/eu-taric-customs-calculator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "items": [
        {
            "reference": "IMP-001",
            "taricCode": "8517 13 00 00",
            "originCountry": "CN",
            "destinationCountry": "PT",
            "customsValueEur": 12000,
            "claimPreferentialOrigin": True,
        },
        {
            "reference": "IMP-002",
            "taricCode": "6109 10 00 10",
            "originCountry": "TR",
            "destinationCountry": "DE",
            "customsValueEur": 8500,
            "claimPreferentialOrigin": True,
        },
        {
            "reference": "IMP-003",
            "taricCode": "7208 10 00 00",
            "originCountry": "IN",
            "destinationCountry": "NL",
            "customsValueEur": 45000,
            "claimPreferentialOrigin": False,
        },
    ],
    "defaultDestinationCountry": "DE",
}

# Run the Actor and wait for it to finish
run = client.actor("eurocomply_data/eu-taric-customs-calculator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "items": [
    {
      "reference": "IMP-001",
      "taricCode": "8517 13 00 00",
      "originCountry": "CN",
      "destinationCountry": "PT",
      "customsValueEur": 12000,
      "claimPreferentialOrigin": true
    },
    {
      "reference": "IMP-002",
      "taricCode": "6109 10 00 10",
      "originCountry": "TR",
      "destinationCountry": "DE",
      "customsValueEur": 8500,
      "claimPreferentialOrigin": true
    },
    {
      "reference": "IMP-003",
      "taricCode": "7208 10 00 00",
      "originCountry": "IN",
      "destinationCountry": "NL",
      "customsValueEur": 45000,
      "claimPreferentialOrigin": false
    }
  ],
  "defaultDestinationCountry": "DE"
}' |
apify call eurocomply_data/eu-taric-customs-calculator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eurocomply_data/eu-taric-customs-calculator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/W4uRIf9IU4InnmHV9/builds/bV88WRXfdQsW5vepg/openapi.json
