/codice_fiscale_rs

Library to manage Italian fiscal code.

Primary LanguageRustApache License 2.0Apache-2.0

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.