# Find a Swiss company's UID and VAT number by name

**Use case:** 

Search the official Swiss UID register by company name and get the UID, VAT number, legal form, canton and address of the best matches.

## Input

```json
{
  "identifiers": [
    "CHE-105.829.940 MWST",
    "CHE-105.829.941"
  ],
  "companyNames": [
    "Swisscom AG",
    "Migros-Genossenschafts-Bund",
    "Nestlé AG"
  ],
  "maxResultsPerName": 1,
  "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 "Find a Swiss company's UID and VAT number by name". [Sign up or log in](https://console.apify.com/create-task-from-example/MSQDJ65V9w0mJzif2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find a Swiss company's UID and VAT number by name" 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, company names (optional search), and more, to match your specific use case.

### 3. Receive the "Find a Swiss company's UID and VAT number by name" 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 "Find a Swiss company's UID and VAT number by name" task via API](https://apify.com/characteristic_division/swiss-uid-vat-validator.md).

## FAQ

### How many matches per name?

Set maxResultsPerName from 1 to 30. Each match is one row with a searchRating.

### Can I search for people?

No. The task searches company names only, and sole-proprietor names are redacted by default.

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