| 开发者 | gstrainovic |
|---|---|
| 更新时间 | 2026年10月5日 06:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
uid is validated, for example [text uid placeholder "CHE-123.456.789"], or [text* uid] for a required field.
For developers: during a Contact Form 7 submission, other plugins (for example a connector that sends the inquiry to a CRM) get the check result with apply_filters( 'strainovic_uid_check_schweiz_cf7_report', null ). It returns null (no or empty UID field) or an array with the keys uid (CHE-123.456.789), status (active, deleted, not_listed or unverified when the register was unreachable), register_reached, checked_at (ISO 8601, UTC) and company (null or name, legal_form as eCH-0097 code, street, postcode, city, canton, vat_registered), taken from the register at the time of the submission.
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/
strainovic-uid-check-schweiz to /wp-content/plugins/.uid to your form.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].
A UID with a correct check digit is accepted. An outage of the federal service should never block an order.
No. Public queries of the UID register are free and need no login.
Yes, tested with Germanized for WooCommerce 4.1.4 (free version) and WooCommerce 11.1.2 in the Checkout block: the UID field appears, deleted companies are rejected and valid UIDs are saved with the order. Germanized Pro, which adds its own VAT ID field checked against the EU VIES service, has not been tested yet.