#italian #codice #fiscale

codice_fiscale_rs

Crate to compute and validate Italian Tax code (codice fiscale)

6 releases

0.2.1 Sep 17, 2023
0.2.0 Sep 17, 2023
0.1.3 Jan 8, 2023

#935 in Algorithms

Custom license

33KB
786 lines

codice_fiscale_rs

gitHub actions codecov crates.io docs.rs

Crate to manage Italian codice fiscale (tax code).

It aims to be a feature complete crate to generate and verify Italian codici fiscali.

Limitations

Special characters are not handled correctly at the moment, they are considered invalid and an error will be returned. In the future, the government Circolare N. 34/E will be implemented.

Omocode feature is available but still needs some work to be considered complete.

Codice catastale, erroneously defined Befiore codes, are only accepted in input. The crate does not provide any feature to translate a municipality name to the relative code. This will have a separate crate.

Dependencies

~1.4–2.2MB
~39K SLoC