Latvia personal code

Tip

If you're not an E5 customer, use the 90-day Microsoft Purview solutions trial to explore how additional Purview capabilities can help your organization manage data security and compliance needs. Start now at the Microsoft Purview compliance portal trials hub. Learn details about signing up and trial terms.

Format

11 digits and an optional hyphen

Pattern

Old format

11 digits and a hyphen:

  • six digits that correspond to the birth date (DDMMYY)
  • a hyphen
  • one digit that corresponds to the century of birth ("0" for 19th century, "1" for 20th century, and "2" for 21st century)
  • four digits, randomly generated

New format

11 digits

  • Two digits "32"
  • Nine digits

Checksum

Yes

Keyword Highlighting

Supported

When keyword highlighting is supported in the contextual summary for a sensitive information type or a trainable classifier, in the Contextual Summary view of activity explorer, the keywords in a document that were matched to a policy are highlighted.

Definition

A DLP policy has high confidence that it's detected this type of sensitive information if, within a proximity of 300 characters:

  • The function Func_latvia_eu_national_id_card or the regex Regex_latvia_eu_national_id_card_new_format finds content that matches the pattern.
  • A keyword from Keywords_latvia_eu_national_id_card is found.

A DLP policy has medium confidence that it's detected this type of sensitive information if, within a proximity of 300 characters:

  • The function Func_latvia_eu_national_id_card or the regex Regex_latvia_eu_national_id_card_new_format finds content that matches the pattern.
      <!-- Latvia Personal Code -->
      <Entity id="03fcf763-27c2-49ed-9422-2641c6c895c9" patternsProximity="300" recommendedConfidence="85">
        <Pattern confidenceLevel="85">
          <IdMatch idRef="Func_latvia_eu_national_id_card" />
          <Match idRef="Keywords_latvia_eu_national_id_card" />
        </Pattern>
        <Pattern confidenceLevel="75">
          <IdMatch idRef="Func_latvia_eu_national_id_card" />
          <Any minMatches="0" maxMatches="0">
            <Match idRef="Keywords_latvia_eu_telephone_number" />
            <Match idRef="Keywords_latvia_eu_mobile_number" />
          </Any>
        </Pattern>
        <Pattern confidenceLevel="85">
          <IdMatch idRef="Regex_latvia_eu_national_id_card_new_format" />
          <Match idRef="Keywords_latvia_eu_national_id_card" />
        </Pattern>
        <Pattern confidenceLevel="75">
          <IdMatch idRef="Regex_latvia_eu_national_id_card_new_format" />
          <Any minMatches="0" maxMatches="0">
            <Match idRef="Keywords_latvia_eu_telephone_number" />
            <Match idRef="Keywords_latvia_eu_mobile_number" />
          </Any>
        </Pattern>
      </Entity>

Keywords

Keywords_latvia_eu_national_id_card

  • administrative number
  • alvas nē
  • birth number
  • citizen number
  • civil number
  • electronic census number
  • electronic number
  • fiscal code
  • healthcare user number
  • id#
  • id-code
  • identification number
  • identifikācijas numurs
  • id-number
  • individual number
  • latvija alva
  • nacionālais id
  • national id
  • national identifying number
  • national identity number
  • national insurance number
  • national register number
  • nodokļa numurs
  • nodokļu id
  • nodokļu identifikācija numurs
  • personal certificate number
  • personal code
  • personal id code
  • personal id number
  • personal identification code
  • personal identifier
  • personal identity number
  • personal number
  • personal numeric code
  • personalcodeno#
  • personas kods
  • population identification code
  • public service number
  • registration number
  • revenue number
  • social insurance number
  • social security number
  • state tax code
  • tax file number
  • tax id
  • tax identification no
  • tax identification number
  • tax no#
  • tax no
  • tax number
  • taxid#
  • taxidno#
  • taxidnumber#
  • taxno#
  • taxnumber#
  • taxnumber
  • tin id
  • tin no
  • tin#
  • voter's number