
How the UID is built
The UID consists of the country code “CHE” and nine digits. The first eight digits are assigned at random and say nothing about the industry, canton or year of founding. The ninth digit is a check digit that makes typing errors detectable. The number is written with a hyphen and full stops in groups of three: CHE-123.456.789. This notation is a sample; a real UID with exactly these digits does not exist, because the check digit does not work out.[1]
The check digit is calculated using the “modulo 11” method. Each of the eight digits is multiplied by a fixed weight, the products are added up, and the remainder of the division by 11 is subtracted from 11. If the result is 11, the check digit is 0. If the result is 10, that sequence of digits is never assigned.
| Digit | Weight | Product |
|---|---|---|
| 1 | 5 | 5 |
| 2 | 4 | 8 |
| 3 | 3 | 9 |
| 4 | 2 | 8 |
| 5 | 7 | 35 |
| 6 | 6 | 36 |
| 7 | 5 | 35 |
| 8 | 4 | 32 |
| Total | 168 |
168 divided by 11 gives 15 remainder 3. 11 minus 3 gives 8. The valid number for this sequence would therefore be CHE-123.456.788, not CHE-123.456.789. Whether a business with this number actually exists is something the check digit cannot tell you; only a look at the UID register shows that. Good software checks the digit as soon as it is entered and reports an error before a wrong number ends up on an invoice.
Who gets a UID
The UID was introduced so that authorities and businesses use one single, permanent number for the same company, instead of a commercial register number, a VAT number, a social insurance number and other register numbers side by side. The FSO assigns it to so-called UID units. These include all companies entered in the commercial register, all businesses registered for VAT, as well as public administrations and other organisations that deal with authorities.[2]
As a rule, you do not have to apply for a UID. It is created automatically when a business is entered in the commercial register or registered for VAT with the Swiss Federal Tax Administration (ESTV). A sole proprietorship (Einzelfirma) that is neither in the commercial register nor liable for VAT therefore often has no UID. That is not a shortcoming; it simply issues its invoices without this detail.
The number stays the same for the whole life of the business. If a GmbH changes its name, moves to another canton or converts into an AG, it keeps its UID. If the business is deleted from the register, the number is never reassigned. For bookkeeping this is useful: whoever identifies customers by their UID rather than by name finds them again straight away even after a change of company name, and old invoices stay clearly assigned to the right business.
UID, VAT number and commercial register
Since 2014, Switzerland no longer has a separate VAT number. The VAT number (MWST-Nummer) is the UID with the suffix “MWST”, in French “TVA”, in Italian “IVA”. A business that registers with the ESTV therefore keeps its UID and simply adds this suffix. If a business partner abroad asks for your “VAT number”, this is the number they mean. From a turnover of CHF 100'000 a year from taxable supplies, registration is generally compulsory; the details are explained on the page on VAT liability.
| Notation | Meaning | Where it typically appears |
|---|---|---|
| CHE-123.456.789 | Business identification number | Contracts, forms, dealings with authorities |
| CHE-123.456.789 MWST | The business’s VAT number | Invoices and receipts of businesses registered for VAT |
| CHE-123.456.789 HR | The business is entered in the commercial register | Commercial register extract, sometimes letterhead |
The former company number of the commercial register (Handelsregister), which began with “CH-”, has also been replaced by the UID. In the central business name index Zefix, registered businesses appear with their UID, registered office, legal form and purpose.
In Austria, the VAT identification number is also called the “UID-Nummer”, but it begins with “ATU” and is something different from the Swiss UID. If you are asked for the UID of an Austrian customer, you need their ATU number.
UID register: how to search for a business
The public part of the UID register is freely accessible. For every business it shows the name, address, legal form, status and whether it is entered in the VAT register. This also lets you look up a VAT number, for example to check the details on a supplier’s invoice.
- Open the UID register
Go to the search on uid.admin.ch. No login is needed for the public search.
- Enter the name or number
Search by business name, town or UID. For common names, narrowing the search by town or legal form helps.
- Check the result
Compare the status “active”, the address and the legal form with the details the customer gave you. If the VAT register shows “active”, the business is registered for VAT.
- Add Zefix if needed
Look up authorised signatories, purpose and the commercial register extract in the business name index Zefix.
Knowing a customer’s UID is more than a formality. It helps avoid duplicates when the same business sits in your customer master data under slightly different names, and before a larger delivery on account it shows whether the business is still active at all. If you supply businesses abroad, you also need their foreign tax number for certain tax situations.
The UID register and Zefix complement each other, but they are not the same. The UID register contains all units with a UID, including associations, public administrations and VAT-registered businesses without a commercial register entry, and shows the VAT status. Zefix is the index of the commercial register and contains only registered businesses, but with their purpose, governing bodies and the notices in the Swiss Official Gazette of Commerce. To find out whether an invoice is entitled to show VAT, the UID register is the right place; to find out who may represent a business, it is Zefix.
UID and foreign tax numbers
In business with other countries, the Swiss UID meets other systems. In the European Union, every business liable for VAT has a VAT identification number beginning with the country code, such as “DE” for Germany or “ATU” for Austria. These numbers can be confirmed in the European Commission’s validation system; Swiss numbers are not recorded there because Switzerland is not part of the EU.
Conversely, foreign businesses that become liable for VAT in Switzerland receive a Swiss UID with the suffix “MWST”. On invoices to business customers in Germany or Austria, the customer’s foreign number may also be required depending on the tax situation, for example when the tax liability passes to the recipient. Which details are required in which case is governed by the law of the country concerned; if in doubt, a fiduciary (Treuhänderin) or the tax administration can clarify it.
Where the UID must appear
The number is compulsory above all on invoices from businesses registered for VAT. The Swiss Federal Act on Value Added Tax (MWSTG) requires an invoice to state the number under which the supplier is entered in the register of taxable persons, in other words the UID with the suffix “MWST”.[3] If it is missing, the customer may run into difficulties with the input tax deduction.
- Invoices and receipts of businesses registered for VAT: UID with the suffix “MWST”, usually in the letterhead or footer.
- Quotes (Offerten) and order confirmations: not required, but common so that customers can identify the business clearly.
- Website and legal notice: sensible as information about the business, especially in online retail.
- Forms from authorities and social insurance offices: the UID is often explicitly requested there.
Businesses that are not registered for VAT may state their UID on invoices, but never with the suffix “MWST” and never with a tax amount. Anyone who shows VAT without being registered still owes the tax shown. Which other details belong on a Swiss invoice is explained in the guide “Writing an invoice in Switzerland”; the payment part is explained on the page on the QR-bill (QR-Rechnung).
Common mistakes with the UID
Most problems with the UID do not arise at the federal level, but in templates and customer master data that have grown over the years. A quick look at your own letterheads and customer data is therefore worthwhile.
- Old VAT number in the template: Letterheads from before 2014 sometimes still contain the former six-digit VAT number. It has long been invalid.
- Suffix “MWST” without registration: Anyone who is not in the VAT register may not use the suffix and may not show a tax amount.
- Confusion with the AHV number: The AHV number (Swiss social security number) begins with 756 and belongs to a person, not a business. It never belongs on an invoice.
- UID of the wrong company: In groups of companies, each company has its own UID. Invoices to the subsidiary carry its number, not that of the holding company.
- Typing errors in the customer master data: A wrong digit only becomes apparent when the check digit is verified. Without that check, it often goes unnoticed for years.
A practical example
Example: Malerei Muster GmbH checks a new business customer
Malerei Muster GmbH in Winterthur (a sample company) receives an order from a previously unknown property company to paint a stairwell. Before confirming the order, the owner looks up the company in the UID register: status active, registered office in Zurich, entered in the commercial register, VAT register active.
She adds the UID to the customer master data. The invoice issued once the work is finished carries the painting firm’s own UID with the suffix “MWST” in the letterhead, because the painting firm itself is registered for VAT, and shows the tax amount at the standard rate of 8.1%. This allows the property company to claim the input tax correctly.
| Painting work in the stairwell, flat rate | CHF 4'860.00 |
|---|---|
| VAT 8.1% on CHF 4'860.00 | CHF 393.66 |
| Invoice total | CHF 5'253.66 |
The sample companies and figures are invented. CHE-123.456.789 is a sample number with a deliberately invalid check digit.
How VoxCRM helps
yesIn VoxCRM’s contacts, every business has a UID field that checks the format and check digit as you type. The check against the commercial register (Zefix) is prepared and becomes active as soon as access with the federal government has been set up. VoxCRM automatically adds your own UID or VAT number to the sender details of quotes and invoices.
