# Validate Swiss VAT numbers in bulk (MWST/TVA/IVA)

**Use case:** 

Check a list of Swiss VAT numbers in any format against the official UID register: valid check digit, active company, VAT-registered, and the correct VAT number to invoice (VAT groups handled).

## Input

```json
{
  "identifiers": [
    "CHE-105.829.940 MWST",
    "CHE-102.753.938 TVA",
    "CHE105909036",
    "CHE-105.829.941"
  ],
  "maxResultsPerName": 5,
  "searchMode": "Auto",
  "includeInactive": false,
  "includeSoleProprietorNames": false,
  "requestIntervalMs": 3100
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "uid": {
    "label": "UID",
    "format": "string"
  },
  "uidFormatValid": {
    "label": "Format OK",
    "format": "boolean"
  },
  "found": {
    "label": "In register",
    "format": "boolean"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "vat.active": {
    "label": "VAT active",
    "format": "boolean"
  },
  "vat.vatNumberDE": {
    "label": "VAT number"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "legalForm": {
    "label": "Legal form",
    "format": "string"
  },
  "address.zip": {
    "label": "ZIP"
  },
  "address.town": {
    "label": "Town"
  },
  "address.canton": {
    "label": "Canton"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Swiss VAT (MWST/TVA) & UID Validator – Official Register Actor is ready to run with the inputs already set for "Validate Swiss VAT numbers in bulk (MWST/TVA/IVA)". [Sign up or log in](https://console.apify.com/create-task-from-example/KqoiG4xFFAKZnK7Vh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Validate Swiss VAT numbers in bulk (MWST/TVA/IVA)" task

The Swiss VAT (MWST/TVA) & UID Validator – Official Register Actor will start running based on the input automatically. You can also change all the input fields, like UID / VAT numbers, max results per name, and more, to match your specific use case.

### 3. Receive the "Validate Swiss VAT numbers in bulk (MWST/TVA/IVA)" 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 input, UID, format ok, 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 "Validate Swiss VAT numbers in bulk (MWST/TVA/IVA)" task via API](https://apify.com/characteristic_division/swiss-uid-vat-validator.md).

## FAQ

### Does VIES validate Swiss VAT numbers?

No. VIES covers EU countries only. This task queries the Swiss federal UID register directly.

### Which formats are accepted?

CHE-123.456.789, CHE123456789MWST, 'che 123 456 789 tva' or just the 9 digits. Each number becomes one row.

### What does a check cost?

$0.003 per register lookup, $0.0005 for numbers rejected by the check digit, plus $0.001 per run.

## About this Actor

This example demonstrates how to use [Swiss VAT (MWST/TVA) & UID Validator – Official Register](https://apify.com/characteristic_division/swiss-uid-vat-validator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/characteristic_division/swiss-uid-vat-validator.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/characteristic_division/swiss-uid-vat-validator.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`).
