Coverage · Costa Rica
Costa Rican residence ID detection and redaction
OpenAnonymizer finds the Costa Rican cédula de residencia in text and replaces it with a placeholder when its official label confirms it. It runs on a CPU, with no GPU and no API calls.
At a glance
- Country
- Costa Rica CR
- Format
- cédula de residenciaDIMEX, Documento de Identificación Migratorio para Extranjeros
- Placeholder
- Each distinct value gets its own number: RESIDENCE_PERMIT_1, RESIDENCE_PERMIT_2, and so on.
- How it is confirmed
- Official label
- Used for
- Identifying foreigners who are resident in Costa Rica.
About the cédula de residencia
It is issued by the Dirección General de Migración y Extranjería. The number is 11 or 12 digits and includes a code for the holder's country of origin.
How OpenAnonymizer handles it
Confirmed by its label. The library does not verify a check digit for this format, even where one exists. The number is masked when its official label is in the text, in the local language and script.
- It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
- Every package ships every detector, so this format is covered in each of them.
- It covers 34 languages.
Related formats
The same country, or the same kind of number elsewhere.