---
id: "bg_vat"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances", "companies"]
country: ["BG"]
langs: ["bg"]
quality: 100
url: "http://registry.apicrafter.io/datatype/bg_vat"
---

# Bulgarian VAT identification number (`bg_vat`)

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

Bulgarian VAT identification number (ДДС номер). It is BG followed by 9 digits for legal entities or 10 digits for individuals, foreigners and others; a 10-digit number can be a personal number (EGN). The last digit is a check digit, with a different algorithm for each length.

- Parent datatype: `euvat`
- Personal data (PII): yes
- Categories: Finances and banking (finances), Companies/business/organizations (companies)
- Countries: Bulgaria (BG)
- Languages: Bulgarian (bg)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^BG\d{9,10}$
```

Check digit algorithm: `bg_vat`

## Examples

- `BG175074752` — legal entity, valid check digit
- `BG200356710` — legal entity (Ontotext)
- `BG175074751` (invalid example) — wrong check digit

## Mappings

- schema_org: `vatID`
- stdnum: `bg.vat`

## Supported by tools

- `awsglue`
- `dataprep`
- `pythonstdnum`
- `talend`

## Translations

- bg: Идентификационен номер по ДДС

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/VAT_identification_number>
- doc: <https://ec.europa.eu/taxation_customs/vies/>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.bg.vat.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_bg_vat.html>

## Quality

Score 100/100.

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