Datatypes

Spanish social security number

ID es_nss

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

Spanish social security affiliation number (número de la Seguridad Social): a two-digit province code, seven or eight digits and two check digits, optionally separated by slashes.

Categories
Personally identifiable information, Person related
Countries
Spain
Languages
Spanish
W3C DPV
pd:OfficialID
Microsoft Purview
Spain social security number (SSN), EU Social Security Number (SSN) or Equivalent ID, EU social security number or equivalent identification
Quality
75/100 · missing: examples, negative example, translation
Metacrafter rules
no detection rule yet
Supported by tools
Amazon Macie, AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Microsoft Purview Data Loss Prevention, Nightfall AI, Snowflake sensitive data classification

Regular expression

^\d{2}/?\d{7,8}/?\d{2}$

Python re syntax.

Sources

Use this record