The Fiscal Code of Italy. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | ITA, IT |
| ID type | Fiscal Code |
| Official name | Codice fiscale |
| Also known as | Fiscal Code; Codice fiscale |
| Display format | LLLLLLYYMDDXXXXC |
| Input masks | LLLLLLXXLXXLXXXL |
| Length | 16 |
| Example | RSSMRA85M01H501Q |
| Checksum | yes |
| Checksum algorithm | Weighted alphanumeric mod 26 -> check letter |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('ITA', 'RSSMRA85M01H501Q').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/ita and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/ita';
register(country);
validateNationalId('ITA', 'RSSMRA85M01H501Q').isValid; // true