---
id: "ru_ifns_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["government", "finances"]
country: ["RU"]
langs: ["ru"]
quality: 65
url: "https://registry.apicrafter.io/datatype/ru_ifns_code"
---

# Russian tax office code (код ИФНС) (`ru_ifns_code`)

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

Four-digit code of a Russian tax office (инспекция ФНС): two digits for the region and two for the office within it, as in 7707 for inspection No. 7 of Moscow. The first four digits of an organization's INN are the code of the office that assigned it, and the first four digits of a KPP the code of the office where it is registered.

- Personal data (PII): no
- Categories: Government related (government), Finances and banking (finances)
- Countries: Russian Federation (RU)
- Languages: Russian (ru)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `7707` — Inspection No. 7 of Moscow
- `0107` — Tax office in the Republic of Adygea
- `107` (invalid example) — Leading zero dropped

## Translations

- ru: Код налогового органа (ИФНС)

## Quality

Score 65/100. Missing: source link, mapping (Wikidata, Schema.org, ...), detector coverage.

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