---
id: "hr_oib"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances", "pii"]
country: ["HR"]
langs: ["hr"]
quality: 100
url: "http://registry.apicrafter.io/datatype/hr_oib"
---

# Croatian personal identification number (OIB) (`hr_oib`)

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

Osobni identifikacijski broj, the 11-digit identification number of persons and legal entities in Croatia. It holds no personal information and has an ISO 7064 mod 11-10 check digit. With the HR prefix it is the VAT number.

- Parent datatype: `vatin`
- Personal data (PII): yes
- Categories: Finances and banking (finances), Personally identifiable information (pii)
- Countries: Croatia (HR)
- Languages: Croatian (hr)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:HR[ -]?)?\d{11}$
```

## Examples

- `63121378524` — Synthetic number with a valid check digit
- `18231363323` — Synthetic number with a valid check digit
- `631213785247` (invalid example) — One character too many

## Mappings

- orgid: `HR-OIB`
- purview: `Croatia personal identification (OIB) number`, `EU Social Security Number (SSN) or Equivalent ID`, `EU social security number or equivalent identification`
- schema_org: `taxID`, `vatID`
- stdnum: `hr.oib`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `dataprep`
- `microsoftpurview`
- `pythonstdnum`
- `snowflake`

## Translations

- hr: Osobni identifikacijski broj (OIB)

## Sources

- wikipedia: <https://hr.wikipedia.org/wiki/Osobni_identifikacijski_broj>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.hr.oib.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_hr_oib.html>

## Quality

Score 100/100.

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