---
id: "bg_pnf"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["BG"]
langs: ["bg"]
quality: 93
url: "http://registry.apicrafter.io/datatype/bg_pnf"
---

# Bulgarian personal number of a foreigner (LNCh) (`bg_pnf`)

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

Личен номер на чужденец, the 10-digit personal number given to foreigners who live in Bulgaria. The last digit is a weighted check digit.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Bulgaria (BG)
- Languages: Bulgarian (bg)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{10}$
```

## Examples

- `4199722079` — Synthetic number with a valid check digit
- `6345738590` — Synthetic number with a valid check digit
- `41997220797` (invalid example) — One character too many

## Mappings

- dpv: `pd:OfficialID`
- stdnum: `bg.pnf`

## Supported by tools

- `dataprep`
- `pythonstdnum`

## Translations

- bg: Личен номер на чужденец (ЛНЧ)

## Sources

- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.bg.pnf.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_bg_pnf.html>

## Quality

Score 93/100. Missing: authoritative source link.

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