ItalianToolkit 1.2.1

dotnet add package ItalianToolkit --version 1.2.1                
NuGet\Install-Package ItalianToolkit -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ItalianToolkit" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ItalianToolkit --version 1.2.1                
#r "nuget: ItalianToolkit, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ItalianToolkit as a Cake Addin
#addin nuget:?package=ItalianToolkit&version=1.2.1

// Install ItalianToolkit as a Cake Tool
#tool nuget:?package=ItalianToolkit&version=1.2.1                

Italian Toolkit

Lint Code Base CodeQL NuGet Nuget License: MIT

A collection of helper methods and classes for .NET for common Italy-related data management packed in a single library to avoid code duplication.


The library is available on NuGet. Just search for ItalianToolkit in the Package Manager GUI or run the following command in the .NET CLI:

dotnet add package ItalianToolkit


  • Fiscal codes management
    • Formal validation
    • Calculation from person master data
    • Homocodies calculation from base fiscal code
    • Homocody validation
    • Birthplace validation
  • ANPR Identifier (ID ANPR)
    • Formal validation (EXPERIMENTAL)
    • Check character calculation (EXPERIMENTAL)
  • Transports
    • Car plates validation
      • Car plates (pre 1994)
      • Car plates (post 1994)
      • Trailers
    • Motorcycles and Motorbikes plates validation
      • Motorcycles (mopeds, three-wheelers, motor-tractors and light quadricycles with an engine capacity of less than 50 cm³)
      • Motorbikes (motor vehicles and quadrycycles with an engine capacity of more than 50 cm³) - (Warning: old provinces codes check is missing)
    • Special vehicles plates validation
      • Carabineers
      • Civil Protection Department
        • Cars
        • Trailers used as emergency shelter
        • Civil Protection - Aosta Valley
        • Civil Protection - Bolzano
        • Civil Protection - Friuli
        • Civil Protection - Trento
      • Coast Guard - Port Authorities
        • Department representative vehicles
        • Cars
        • Buses and heavy vehicles
        • Motorbikes
        • Trailers
      • Diplomatic, consular corps and United Nations vehicles
        • Consolar corps
        • Diplomatic corps
        • United Nations (service vehicles)
        • United Nations (staff personal vehicles)
        • United Nations (vehicles in transit through Italy)
      • Foreign Excursionists (EE) temporary plates
      • Finance Guards
        • Cars
        • Motorbikes
        • Trailers
      • Fire Fighters
        • Cars
        • Trailers
        • Test plates
        • Fire Fighters - Bolzano
        • Fire Fighters - Trento
      • Forestry Corps
        • Italian Forestry Corps
        • Forestry Corps - Aosta
        • Forestry Corps - Bolzano
        • Forestry Corps - Friuli
        • Forestry Corps - Sardinia (all provinces)
        • Forestry Corps - Sicily (all provinces)
        • Forestry Corps - Trento
      • Italian Red Cross
        • Italian Red Cross (cars and ambulances)
        • Italian Red Cross (motorcycles, motorbikes, trailers and roulottes)
      • Italian Air Force
        • Cars
        • Motorbikes
      • Italian Army
        • Cars
        • Trailers
        • Tanks and armored vehicles
        • Historical vehicles re-registered
      • Italian Navy
        • Cars
        • Trailers
      • Local Police
        • Cars
        • Motorcycles
        • Motorbikes
      • Penitentiary Police
      • Temporary plates for vehicles in transit
      • Test plates
      • Sovereign Military Order of Malta
        • Cars
        • Motorbykes
      • State Police
        • Cars
        • Special cars (e.g. Lamborghini Huracan for organs transport)
  • Places
    • Regions
    • Provinces
    • Municipalities and metropolitan areas
  • Other? - File an issue!

ANPR Identifier support (EXPERIMENTAL)

The validation methods for ANPR Identifier are released as EXPERIMENTAL because the official technical specification is not yet available, and it was written reverse engineering the available technical information (and a bit of try & guess).


Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can. This repo uses Project Template's issue templates, but feel free to open a blank issue if you don't find a template that fits your needs.

Warning Always use the developizza branch for your Pull Requests, don't target the maindolino branch directly.



You can find a detailed changelog here.


Special thanks to Marco Minerva for his continuous and tireless work in favor of the community, and for this video in particular from which I practically copied & pasted the version management.

GitHub + DEV 2023 Hackathon

This repo participates to the GitHub + DEV 2023 Hackathon, and shows how to use the following Github Actions:


MIT © Alessio Marinelli

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 901 10/2/2023
1.1.1 532 5/26/2023
1.0.1 129 5/15/2023
0.1.7-beta 105 5/12/2023