# Check a customer list for EU VAT and customs status

**Use case:** 

Tag a list of customer addresses with their EU VAT, customs and excise status and the standard VAT rate, so checkout charges the right tax and flags parcels that need customs paperwork.

## Input

```json
{
  "items": [
    {
      "id": "tenerife",
      "country": "ES",
      "postcode": "38001"
    },
    {
      "id": "ceuta",
      "country": "ES",
      "postcode": "51001"
    },
    {
      "id": "helgoland",
      "country": "DE",
      "postcode": "27498"
    },
    {
      "id": "belfast",
      "country": "GB",
      "postcode": "BT1"
    },
    {
      "id": "lanzarote",
      "country": "ES",
      "lat": 29.035,
      "lon": -13.63
    }
  ],
  "lines": [
    "ES 28001",
    "ES 35001",
    "PT 9500-321",
    "FR 97100",
    "DE 10115",
    "GB SW1A 1AA",
    "GB BT1 1AA",
    "JE JE2 3AB",
    "MC 98000",
    "IT 22061"
  ]
}
```

## Output

```json
{
  "id": {
    "label": "Your id",
    "format": "string"
  },
  "country": {
    "label": "Country (input)",
    "format": "string"
  },
  "postcode": {
    "label": "Postcode (input)",
    "format": "string"
  },
  "territory.code": {
    "label": "Territory code",
    "format": "string"
  },
  "territory.name": {
    "label": "Territory",
    "format": "string"
  },
  "inEU": {
    "label": "In the EU",
    "format": "boolean"
  },
  "inEUVatArea": {
    "label": "In the EU VAT area",
    "format": "boolean"
  },
  "inEUCustomsTerritory": {
    "label": "In the EU customs territory",
    "format": "boolean"
  },
  "inEUExciseArea": {
    "label": "In the EU excise area",
    "format": "boolean"
  },
  "inSchengen": {
    "label": "In Schengen",
    "format": "boolean"
  },
  "localTax": {
    "label": "Local indirect tax",
    "format": "string"
  },
  "basis": {
    "label": "Basis",
    "format": "string"
  },
  "confidence": {
    "label": "Confidence",
    "format": "string"
  },
  "nearBorder": {
    "label": "Near a border",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The EU VAT & Customs Territory Check by Postcode Actor is ready to run with the inputs already set for "Check a customer list for EU VAT and customs status". [Sign up or log in](https://console.apify.com/create-task-from-example/fD1NWekQLmOUThhKQ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check a customer list for EU VAT and customs status" task

The EU VAT & Customs Territory Check by Postcode Actor will start running based on the input automatically. You can also change all the input fields, like addresses or points and plain lines, to match your specific use case.

### 3. Receive the "Check a customer list for EU VAT and customs status" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as your id, country (input), postcode (input), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check a customer list for EU VAT and customs status" task via API](https://apify.com/fetchgrove/eu-special-territory-classifier.md).

## About this Actor

This example demonstrates how to use [EU VAT & Customs Territory Check by Postcode](https://apify.com/fetchgrove/eu-special-territory-classifier.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fetchgrove/eu-special-territory-classifier.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fetchgrove/eu-special-territory-classifier.md

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`).
