Latvian personal code
ID lv_personal_code
DatatypePersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Latvian personal code (personas kods), 11 digits. Codes issued before July 2017 start with the date of birth (DDMMYY), followed by a hyphen, a century digit and four digits. Newer codes start with 32 and carry no date of birth.
- Categories
- Personally identifiable information, Person related
- Countries
- Latvia
- Languages
- Latvian
- W3C DPV
pd:OfficialID- Microsoft Purview
Latvia personal code,EU national identification number,EU Tax Identification Number (TIN),EU Tax identification number- Quality
- 75/100 · missing: examples, negative example, translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Microsoft Purview Data Loss Prevention, Snowflake sensitive data classification
Regular expression
^(?:(?:0[1-9]|[12]\d|3[01])(?:0[1-9]|1[0-2])\d{2}-?[012]\d{4}|32\d{4}-?\d{5})$
Python re syntax.
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/lv_personal_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/LV/persons/lv_personal_code.yamlon GitHub