Coverage · France
French tax number (SPI) detection and redaction
OpenAnonymizer finds the French numéro fiscal 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
- France FR
- Format
- numéro fiscalNuméro fiscal de référence (SPI)
- Placeholder
- Each distinct value gets its own number: ES_DNI_1, ES_DNI_2, and so on. Formats from other countries use the ES_DNI placeholder too.
- How it is confirmed
- Official label
- Used for
- Identifying each taxpayer to the French tax administration (DGFiP). It is printed on tax returns and tax notices.
About the numéro fiscal
The number is 13 digits.
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.