---
id: "de_rvnr"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["DE"]
langs: ["common"]
aliases: ["de_socialinsurance"]
quality: 100
url: "http://registry.apicrafter.io/datatype/de_rvnr"
---

# German pension insurance number (Rentenversicherungsnummer) (`de_rvnr`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Versicherungsnummer of the German statutory pension insurance (§ 147 SGB VI), also called social insurance number (Sozialversicherungsnummer). It has 12 characters, as in 15 070649 C 103: a two-digit area number of the pension insurance institution, the date of birth as DDMMYY, the first letter of the birth name, a two-digit serial number (00-49 male, 50-99 female, diverse or no gender entry) and a check digit. For the check, the letter becomes its position in the alphabet as two digits (A=01 ... Z=26), the twelve digits are weighted 2 1 2 5 7 1 2 1 2 1 2 1, and the digit sums of the products are added modulo 10. The day of birth can be raised above 31 when a serial range is used up.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Germany (DE)
- Languages: Common to most languages (common)
- Classification: identifier
- Former IDs: `de_socialinsurance`

## Detection

Regular expression (Python `re`):

```
^\d{2} ?\d{6} ?[A-Z] ?\d{3}$
```

Check digit algorithm: `de_rvnr`

## Examples

- `15 070649 C 103` — Fictitious example of German Wikipedia
- `15070649C103` — The same number without spaces
- `15 070649 C 104` (invalid example) — Check digit does not match
- `15070649103` (invalid example) — The letter is missing

## Mappings

- dpv: `pd:OfficialID`
- presidio: `DE_SOCIAL_SECURITY`

## Metacrafter rules

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

- `de_pii_versicherungsnummerfield` (field, `pii/de/de_pii.yaml`)

## Supported by tools

- `metacrafter`
- `presidio`

## Translations

- de: Versicherungsnummer der Rentenversicherung
- ru: Номер пенсионного страхования Германии (Rentenversicherungsnummer): Номер застрахованного в обязательном пенсионном страховании - код региона, дата рождения, первая буква фамилии при рождении, порядковый номер (00-49 мужской пол, 50-99 женский, иной или не указанный) и контрольная цифра.

## Sources

- wikipedia: <https://de.wikipedia.org/wiki/Versicherungsnummer>

## Quality

Score 100/100.

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