Skip to content

Country pack

Kosovo PII detection: numri personal, IBAN

Updated 4 detectorsPack code xk

Short answer

Maskflare's Kosovo pack has 4 detectors. 1 validates a check digit or letter, 1 tests layout or an embedded date, 2 match on pattern alone.

What the Kosovo pack covers

The Kosovo pack holds 4 detectors: IBAN, Personal number (numri personal), Phone number and Postal code. 1 of them recomputes a check digit or letter, 1 tests layout or an embedded date only, 2 are pattern-only, and 1 waits for a keyword before it matches.

Examples are synthetic and were run through Maskflare's validators. Click a detector name for its own page where one exists.
DetectorCategoryValidationValid example
IBANbank account number (IBAN)ChecksumXK05 1212 0123 4567 8906
Personal number (numri personal)national ID numberPattern only1234567890
Phone numberphone numberLayout rules049/987-654
Postal codepostal codePattern only10000

Every Kosovo detector in detail

IBAN

A bank account identifier. Validation: the registered length for the country and the ISO 13616 modulus 97 check. Valid example: XK05 1212 0123 4567 8906; the same shape that fails is XK05 1212 0123 4567 8900.

Personal number (numri personal)

A national identity number. Validation: the pattern only, with no checksum or structural validator. It needs one of 18 keywords within 48 characters before the value, such as jmbg, leternjoftim, leternjoftimi, letërnjoftim. Valid example: 1234567890.

Phone number

A telephone number in the national format. Validation: between 7 and 15 digits, the range an international number can have. A run of digits with no separator is judged by words nearby; the detector's own keywords include broj telefona, call me, cel, cel.. Valid example: 049/987-654.

Postal code

A postal code, which identifies a place rather than a person on its own. Validation: the pattern only, with no checksum or structural validator. Valid example: 10000.

Local-language context words for Kosovo

These are the words in the catalogue that confirm a value as belonging to this country's detector. Shared English words such as ID number or tax id are left out here because many packs use them; a word below points at this pack even when other packs are on.

  • Personal number (numri personal): jmbg, leternjoftim, leternjoftimi, letërnjoftim, letërnjoftimi, licna karta, licni broj, lična karta, lični broj, nr personal, nr. personal, numri i leternjoftimit and 4 more
  • Phone number: broj telefona, call me, cel, cel., celular, celulari, fiks, fiksi, kontakt, kontakti, me thirr, mob and 15 more

How Maskflare masks Kosovo identifiers

Detections are replaced with a token such as mf_mask_d7e0 before the request goes to the AI provider, and with response restoration turned on the real value is put back in the answer. The other actions are redact, partial, hash, format-preserving encryption, generalize, alert and block.

  • Protect now, Finance - Protect now, Healthcare and Developer: mask (a reversible token) when Kosovo is a primary country.
  • Monitor first: alert (counted, forwarded unchanged) when Kosovo is a primary country.

Compliance profiles that include the Kosovo pack: GDPR - EU/EEA.

Limits worth knowing

  • A passing checksum shows that a value is well formed, not that it was issued to a real person. The examples on this page pass for that reason and are not real.
  • 2 of the 4 detectors here match on pattern alone (Personal number (numri personal) and Postal code), so they can match text that merely has the same shape.
  • Detectors read the text of the request. A value inside an image is found only after OCR, and a value split across lines is not one match.
  • Names, addresses and free-text details are handled by other packs. This page is limited to the Kosovo identifiers.

Frequently asked questions

What does Maskflare detect for Kosovo?

4 detectors: IBAN, Personal number (numri personal), Phone number and Postal code.

Are Kosovo identifiers masked by default?

They are masked when Kosovo is chosen as a primary country (the default Protect now template uses the action mask), or when the pack is turned on directly. A country pack is not on for organisations that did not choose the country.

Which Kosovo identifiers have a checksum?

IBAN.

Do the Kosovo detectors need keywords?

1 of them do: Personal number (numri personal).

Rules on this page describe what Maskflare's detectors and validators check. They are read from the detection catalogue and are not the specification of the body that issues the identifier. Examples are synthetic.

Related pages

See it on your own data

Try Maskflare free.
Bring your hardest prompts.

28-day free trial or 10,000 requests, whichever comes first. Point one app at the gateway or enroll a few laptops,
and watch what gets masked. Or talk to us first.