Switzerland VAT number: format and validation

By Remco from Avatcado

Format

CHE followed by 9 digits and an MWST, TVA, or IVA suffix. The local term is Mehrwertsteuernummer (MWST-Nr., German), taxe sur la valeur ajoutee (no TVA, French) or imposta sul valore aggiunto (n. IVA, Italian).

Pattern: /^\d{9}$/

  • Officially written CHE-123.456.789 MWST; the MWST, TVA, and IVA suffixes are language-region variants of the same registration and fully equivalent
  • CHE is the ISO 3166-1 alpha-3 code for Switzerland
  • Every Swiss enterprise has a UID; VAT registration is a separate flag on it, so a valid UID is not automatically a valid VAT number

Example of a registered number: CHE-105.836.495 MWST

Check digit

Switzerland VAT numbers carry a check digit (MOD 11): The 9th digit is a check digit: the weighted sum of digits 1-8 (weights 5,4,3,2,7,6,5,4) mod 11 determines it; a remainder of 1 means no valid check digit exists.

Check a Switzerland VAT number

Validated live against the BFS UID Register (official register).

Enter a VAT number to see the live API response

Validate via API

The same validation as an API call, with the example number above:

curl "https://api.avatcado.com/v1/validate?vat_number=CH105836495" \
  -H "Authorization: Bearer avat_live_your_api_key"
import Avatcado from "@avatcado/node";

const avatcado = new Avatcado("avat_live_your_api_key");
const { data, error } = await avatcado.vat.validate({
  vatNumber: "CH105836495",
});

if (data?.data.valid) {
  console.log(`Registered: ${data.data.company?.name}`);
}

Free tier includes 500 validations per month. Get an API key or read the API documentation.

Frequently asked questions

Is a UID the same as a Swiss VAT number?

Every enterprise gets a UID, but it only becomes a VAT number once the business has an active MWST registration, generally required from CHF 100,000 of turnover. Validators must check the VAT flag, not just UID existence.

Are CHE...MWST, CHE...TVA, and CHE...IVA different numbers?

No: MWST is German, TVA French, and IVA Italian for the same tax, and the suffix merely reflects language region. All three suffix forms refer to one registration.

Can I check Swiss numbers in VIES?

No: Switzerland is not in the EU VAT system, so validation goes through the BFS UID register (public search at uid.admin.ch, or its free SOAP API).

Related guides

VAT rate in Switzerland

The standard VAT rate in Switzerland is 8.1%. Reduced rates: 3.8%, 2.6%. See all Switzerland VAT rates.

Sources