Title: Strainovic UID Check Schweiz
Author: gstrainovic
Published: <strong>September 29, 2026</strong>
Last modified: September 29, 2026

---

Search plugins

![](https://ps.w.org/strainovic-uid-check-schweiz/assets/banner-772x250.png?rev=
3719174)

![](https://ps.w.org/strainovic-uid-check-schweiz/assets/icon-256x256.png?rev=3719174)

# Strainovic UID Check Schweiz

 By [gstrainovic](https://profiles.wordpress.org/gstrainovic/)

[Download](https://downloads.wordpress.org/plugin/strainovic-uid-check-schweiz.0.2.1.zip)

 * [Details](https://wordpress.org/plugins/strainovic-uid-check-schweiz/#description)
 * [Reviews](https://wordpress.org/plugins/strainovic-uid-check-schweiz/#reviews)
 *  [Installation](https://wordpress.org/plugins/strainovic-uid-check-schweiz/#installation)
 * [Development](https://wordpress.org/plugins/strainovic-uid-check-schweiz/#developers)

 [Support](https://wordpress.org/support/plugin/strainovic-uid-check-schweiz/)

## Description

Business customers enter their Swiss business identification number (UID, in German“
Unternehmens-Identifikationsnummer”) in the checkout or in a quote form. Strainovic
UID Check Schweiz validates it before the order or request goes through:

 * Format and check digit instantly, without a network request (CHE-123.456.789,
   also without separators or with the suffix MWST/TVA/IVA)
 * Existence in the UID register of the Swiss Federal Statistical Office
 * Status: deleted or unknown companies are rejected with a clear message in the
   form
 * Consistent format in the order (CHE-123.456.789)
 * If the UID register is unreachable, the order is not blocked as long as the check
   digit is correct
 * Results are cached for one day, so each UID is requested at most once per day

**WooCommerce:** the plugin adds an optional “UID” field to the checkout, both to
the Checkout block (default since WooCommerce 8.3, contact section, saved to the
customer account) and to the classic shortcode checkout (after the company name).
If filled in, it is validated.

**Contact Form 7:** every text field named `uid` is validated, for example `[text
uid placeholder "CHE-123.456.789"]`, or `[text* uid]` for a required field.

**Languages:** English, German (Germany and Switzerland), French and Italian are
included. The field label and the error messages follow the language of the site,
with the Swiss terms UID, IDE (French) and IDI (Italian). German variants such as
de_CH_informal or de_AT, and French or Italian variants such as fr_CA or it_CH, 
use the matching bundled translation.

**Pro version (in preparation):** fill in company name, legal form and address automatically
from the register, show the VAT status, allow invoice payment only for valid companies,
alert when a customer company is deleted. More at https://www.strainovic-it.ch/uid-
check/

### External services

This plugin connects to the public UID web service of the Swiss Federal Statistical
Office (FSO, in German “Bundesamt für Statistik”, BFS). The service gives access
to the official Swiss UID register (https://www.uid.admin.ch/).

**What it is used for:** to check whether a Swiss business identification number(
UID) entered by a customer exists in the UID register and whether the company is
still active. Unknown and deleted UIDs are rejected with an error message.

**When data is sent:** only when a filled-in UID field is validated: when a checkout
or a Contact Form 7 form is submitted, when the WooCommerce Checkout block saves
the entered UID while the customer fills in the checkout, or when a customer saves
the UID in the account details. In every case only after the UID has passed the 
local format and check digit validation. Invalid input never leaves the website.
The answer is cached for one day, so the same UID is sent at most once per day. 
Nothing is sent when the UID field is empty, and nothing is sent in the background.

**What data is sent:** only the nine digits of the entered UID (for example 353272857
for CHE-353.272.857), in a SOAP request to the “GetByUID” operation. No name, address,
email or other customer data is sent. The request is made by the website’s server,
not by the visitor’s browser, so the visitor’s IP address is not transmitted; like
every WordPress HTTP request, it carries the server’s IP address and WordPress’s
default user agent (WordPress version and site address).

 * Service provider: Swiss Federal Statistical Office (FSO), Espace de l’Europe 
   10, 2010 Neuchâtel, Switzerland
 * Endpoint: https://www.uid-wse.admin.ch/V5.0/PublicServices.svc
 * Service description: https://www.bfs.admin.ch/bfs/en/home/registers/enterprise-
   register/enterprise-identification/uid-register/uid-interfaces.html
 * Terms of use: https://www.admin.ch/en/terms-and-conditions
 * Privacy policy: https://www.admin.ch/en/terms-and-conditions#Privacy-Notice
 * UID register legal basis and data protection: https://www.bfs.admin.ch/bfs/en/
   home/registers/enterprise-register/enterprise-identification/uid-general/legal-
   basis-data-protection.html

## Screenshots

[⌊WooCommerce checkout (block): a UID that is not listed in the UID register is 
rejected before the order is placed.⌉⌊WooCommerce checkout (block): a UID that is
not listed in the UID register is rejected before the order is placed.⌉[

WooCommerce checkout (block): a UID that is not listed in the UID register is rejected
before the order is placed.

## Installation

 1. Search for “Strainovic UID Check Schweiz” under Plugins  Add New, or upload the
    folder `strainovic-uid-check-schweiz` to `/wp-content/plugins/`.
 2. Activate the plugin.
 3. WooCommerce: the field appears in the checkout automatically. Contact Form 7: add
    a text field named `uid` to your form.

## FAQ

### Is the field required?

In the WooCommerce checkout it is optional and only validated when filled in. In
Contact Form 7 you decide with `[text uid]` or `[text* uid]`.

### What happens if the UID register is down?

A UID with a correct check digit is accepted. An outage of the federal service should
never block an order.

### Do I need an account or API key?

No. Public queries of the UID register are free and need no login.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Strainovic UID Check Schweiz” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ gstrainovic ](https://profiles.wordpress.org/gstrainovic/)

[Translate “Strainovic UID Check Schweiz” into your language.](https://translate.wordpress.org/projects/wp-plugins/strainovic-uid-check-schweiz)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/strainovic-uid-check-schweiz/),
check out the [SVN repository](https://plugins.svn.wordpress.org/strainovic-uid-check-schweiz/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/strainovic-uid-check-schweiz/)
by [RSS](https://plugins.trac.wordpress.org/log/strainovic-uid-check-schweiz/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.2.1

 * Renamed to “Strainovic UID Check Schweiz” with the slug and text domain strainovic-
   uid-check-schweiz; the Checkout block field is now strainovic-uid-check-schweiz/
   uid.
 * The “External services” section describes in detail which data is sent to the
   UID register and when.

#### 0.2.0

 * Translations: English source texts, bundled German (de_DE, de_CH), French and
   Italian translations for the checkout field and all error messages.

#### 0.1.1

 * Checkout block support via the additional checkout fields API; the UID is validated
   on the Store API and saved to the order in a consistent format.

#### 0.1.0

 * First release: UID validation in WooCommerce checkout and Contact Form 7.

## Meta

 *  Version **0.2.1**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [checkout](https://wordpress.org/plugins/tags/checkout/)[contact form 7](https://wordpress.org/plugins/tags/contact-form-7/)
   [Switzerland](https://wordpress.org/plugins/tags/switzerland/)[uid](https://wordpress.org/plugins/tags/uid/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/strainovic-uid-check-schweiz/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/strainovic-uid-check-schweiz/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/strainovic-uid-check-schweiz/reviews/)

## Contributors

 *   [ gstrainovic ](https://profiles.wordpress.org/gstrainovic/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/strainovic-uid-check-schweiz/)