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

# German passport number (`de_passport`)

> **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.

Serial number of a German passport (Reisepass): nine characters, a four-character code of the issuing authority and a five-character random number. Since November 2007 it is alphanumeric and avoids vowels and the letters B, D, Q and S; since November 2021 the digit 0 is no longer used. Microsoft Purview expects the first character of a passport number to be C, F, G, H, J or K, and also accepts the check digit and the D (Germany) that follow the number in the machine-readable zone. Temporary passports use a letter and seven digits instead.

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

## Detection

Regular expression (Python `re`):

```
^[CFGHJK][0-9CFGHJKLMNPRTVWXYZ]{8}\d?D?$
```

## Examples

- `CJ383NJ2P` — Synthetic number in the documented format
- `CJ383NJ2P6` — The same number with its machine-readable zone check digit
- `F48TTP2PP` — Synthetic number in the documented format
- `BJ383NJ2P` (invalid example) — B is not used
- `CJ383NJ2` (invalid example) — Eight characters

## Mappings

- fhir: `http://hl7.org/fhir/sid/passport-DEU`
- google_dlp: `GERMANY_PASSPORT`
- presidio: `DE_PASSPORT`
- purview: `German Passport Number`, `Germany passport number`, `EU passport number`

## Supported by tools

- `amazonmacie`
- `awsglue`
- `azureailanguage`
- `googledlp`
- `microsoftpurview`
- `nightfall`
- `presidio`
- `snowflake`

## Translations

- de: Reisepassnummer
- ru: Номер паспорта Германии: Серийный номер немецкого заграничного паспорта - девять букв и цифр - код выдавшего органа и случайный номер.

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-germany-passport-number>
- wikipedia: <https://de.wikipedia.org/wiki/Ausweisnummer>
- wikipedia: <https://en.wikipedia.org/wiki/German_passport>

## Quality

Score 100/100.

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