---
id: "kz_postal_code"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["KZ"]
langs: ["common"]
quality: 73
url: "http://registry.apicrafter.io/datatype/kz_postal_code"
---

# Kazakh postal code (`kz_postal_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.

Postal code of Kazakhstan. The rules on postal codes approved by order No. 66 of the Minister of Information and Communications of 29 July 2016 give each building its own seven-character code: a Latin letter for the region or city of republican significance, two digits for the district, then a letter, a digit, a letter and a digit for the building. The older six-digit codes of post offices, such as 010000 for Astana, remain in wide use, and both forms appear in addresses.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Kazakhstan (KZ)
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:\d{6}|[A-Z]\d{2}[A-Z]\d[A-Z]\d)$
```

## Examples

- `R00H5A9` — Seven-character postcode, example from the USPS country listing
- `010000` — Six-digit code of Astana
- `050000` — Six-digit code of Almaty
- `R00H5AA` (invalid example) — The seventh character must be a digit
- `01000` (invalid example) — Five digits

## Translations

- ru: Почтовый индекс Казахстана: Почтовый индекс Казахстана: семизначный код здания (буква, две цифры, буква, цифра, буква, цифра) по Правилам присвоения почтовых индексов 2016 года или прежний шестизначный индекс почтового отделения.

## Sources

- other: <https://about.usps.com/postal-bulletin/2023/pb22626/html/updt_002.htm>
- other: <https://www.zakon.kz/redaktsiia-zakonkz/4817004-utverzhdeny-pravila-po-prisvoeniju.html>

## Quality

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

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