---
id: "chuid"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["finances"]
country: ["CH"]
langs: ["de", "fr", "it"]
quality: 90
url: "http://registry.apicrafter.io/datatype/chuid"
---

# Swiss UID (`chuid`)

Swiss UID (Unternehmens-Identifikationsnummer) - Swiss business identification number

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: Switzerland (CH)
- Languages: German (de), French (fr), Italian (it)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^CHE-?\d{3}\.?\d{3}\.?\d{3}(?: ?(?:MWST|TVA|IVA))?$
```

## Examples

- `CHE-123.456.788` — Swiss UID (valid MOD-11 check digit)
- `CHE-123.456.788 TVA` — Swiss UID used as VAT number

## Mappings

- orgid: `CH-FDJP`, `CH_BS-CR`
- stdnum: `ch.uid`, `ch.vat`
- wikidata: `P4829`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `chuidfield` (field, `ch/ch_finances.yaml`)
- `chuidvalue` (data, `ch/ch_finances.yaml`)

## Supported by tools

- `dataprep`
- `metacrafter`
- `pythonstdnum`

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P4829>

## Quality

Score 90/100. Missing: negative example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/chuid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CH/finances/chuid.yaml>
