---
id: "za_id"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["ZA"]
langs: ["en"]
quality: 75
url: "http://registry.apicrafter.io/datatype/za_id"
---

# South African identity number (`za_id`)

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

South African identity number: 13 digits made of the date of birth (YYMMDD), four digits, a citizenship digit, a digit that is usually 8 and a check digit.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: South Africa (ZA)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{13}$
```

## Mappings

- dpv: `pd:OfficialID`
- purview: `South Africa identification number`
- stdnum: `za.idnr`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `databricks`
- `microsoftpurview`
- `nightfall`
- `pythonstdnum`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-south-africa-identification-number>
- wikipedia: <https://en.wikipedia.org/wiki/South_African_identity_card>

## Quality

Score 75/100. Missing: examples, negative example, translation.

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