Country pack
Albania PII detection: NID, NIPT, IBAN
Short answer
Maskflare's Albania pack has 5 detectors. 1 validates a check digit or letter, 1 tests layout or an embedded date, 3 match on pattern alone.
What the Albania pack covers
The Albania pack holds 5 detectors: IBAN, Personal number (NID), Tax id (NIPT), Phone number and Postal code. 1 of them recomputes a check digit or letter, 1 tests layout or an embedded date only, 3 are pattern-only, and 2 wait for a keyword before they match.
| Detector | Category | Validation | Valid example |
|---|---|---|---|
| IBAN | bank account number (IBAN) | Checksum | AL47 2121 1009 0000 0002 3569 8741 |
| Personal number (NID) | national ID number | Pattern only | J12345678A |
| Tax id (NIPT) | tax ID | Pattern only | L12345678B |
| Phone number | phone number | Layout rules | 069 123 4567 |
| Postal code | postal code | Pattern only | 1001 |
Every Albania detector in detail
IBAN
A bank account identifier. Validation: the registered length for the country and the ISO 13616 modulus 97 check. Valid example: AL47 2121 1009 0000 0002 3569 8741; the same shape that fails is AL47 2121 1009 0000 0002 3569 8740.
Personal number (NID)
A national identity number. Validation: the pattern only, with no checksum or structural validator. It needs one of 21 keywords within 48 characters before the value, such as id card, id number, identity card, karta e identitetit. Valid example: J12345678A.
Tax id (NIPT)
A tax identifier. Validation: the pattern only, with no checksum or structural validator. It needs one of 5 keywords within 48 characters before the value, such as nipt, nuis, numri i identifikimit per personin e tatueshem, numri i identifikimit për personin e tatueshëm. Valid example: L12345678B.
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: 069 123 4567.
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: 1001.
Local-language context words for Albania
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 (NID):
karta e identitetit,karte identiteti,kartë identiteti,leternjoftim,leternjoftimi,letërnjoftim,letërnjoftimi,nid,nr id,nr. id,nr. personal,numri i identitetitand 4 more - Tax id (NIPT):
nipt,nuis,numri i identifikimit per personin e tatueshem,numri i identifikimit për personin e tatueshëm - Phone number:
broj telefona,call me,cel,cel.,celular,celulari,fiks,fiksi,kontakt,kontakti,me thirr,moband 15 more
How Maskflare masks Albania 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 Albania is a primary country.
- Monitor first: alert (counted, forwarded unchanged) when Albania is a primary country.
Compliance profiles that include the Albania 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.
- 3 of the 5 detectors here match on pattern alone (Personal number (NID), Tax id (NIPT) 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 Albania identifiers.
Frequently asked questions
What does Maskflare detect for Albania?
5 detectors: IBAN, Personal number (NID), Tax id (NIPT), Phone number and Postal code.
Are Albania identifiers masked by default?
They are masked when Albania 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 Albania identifiers have a checksum?
IBAN.
Do the Albania detectors need keywords?
2 of them do: Personal number (NID) and Tax id (NIPT).
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.