The Social Security Number of France. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | FRA, FR |
| ID type | Social Security Number |
| Official name | Numéro de Sécurité Sociale (INSEE) |
| Also known as | Social Security Number; Numéro de Sécurité Sociale; INSEE Number |
| Display format | SYYMMDDCCCOOOKK |
| Input masks | ############### |
| Length | 15 |
| Example | 255081416802538 |
| Checksum | yes |
| Checksum algorithm | Mod-97 (key = 97 - number mod 97) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('FRA', '255081416802538').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/fra and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/fra';
register(country);
validateNationalId('FRA', '255081416802538').isValid; // true