---
id: "dz_nif"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances", "companies"]
country: ["DZ"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/dz_nif"
---

# Algerian tax identification number (NIF) (`dz_nif`)

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

Numéro d'Identification Fiscale, the tax number that the Algerian tax administration has assigned since 2006 in place of the older NIS number. It is given to individuals, companies, public bodies, associations and branches of foreign companies. It has 15 digits; a 20-digit form identifies a branch or secondary establishment. Digits are often written in groups of three separated by spaces.

- Personal data (PII): yes
- Categories: Finances and banking (finances), Companies/business/organizations (companies)
- Countries: Algeria (DZ)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:\d{3} ?){4}\d{3}(?: ?\d{5})?$
```

## Examples

- `416001000000007` — Example from the python-stdnum documentation
- `408 020 000 150 039` — Example from the python-stdnum documentation, written in groups
- `41201600000606600001` — 20-digit branch form, example from the python-stdnum documentation
- `X1600100000000V` (invalid example) — Letters are not allowed

## Mappings

- stdnum: `dz.nif`

## Translations

- fr: Numéro d'Identification Fiscale (NIF)

## Sources

- doc: <https://www.mf.gov.dz/index.php/fr/fiscalite>
- doc: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.dz.nif.html>

## Quality

Score 90/100. Missing: detector coverage.

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