Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattmezza/italiantaxcode

Everybody loves to pay taxes! [-_-] This library lets you calculate Italian fiscal code with ease. It also reverts it to go back from the code to every (possible) original info. --- Calcola il codice fiscale a partire dai dati personali e viceversa.
https://github.com/mattmezza/italiantaxcode

code codice codicefiscale fiscal italian tax taxes

Last synced: about 2 months ago
JSON representation

Everybody loves to pay taxes! [-_-] This library lets you calculate Italian fiscal code with ease. It also reverts it to go back from the code to every (possible) original info. --- Calcola il codice fiscale a partire dai dati personali e viceversa.

Awesome Lists containing this project

README

        

italianTaxCode
==============

Everybody loves to pay taxes! [-_-]

This is a library to calculate Italian tax code. It can calculate a tax code from data (name, surname, sex, birth date, birth place) and data (sex, birth date, birth place) from code.

Questa libreria Java ti puΓ² essere utile se devi implementare il calcolo del codice fiscale. Supporta il calcolo del codice fiscale a partire dai dati (nome, cognome, sesso, data di nascita, luogo di nascita) e dei dati (sesso, data di nascita, luogo di nascita) a partire dal codice fiscale.

### Usage

_Clone or download this repository and then add the .jar provided into the building path of your java application._

_Clona o scarica questa repository e poi aggiungi il .jar fornito nel building path della tua applicazione java._

### Usage with gradle

`compile 'me.matteomerola:codicefiscale:0.1.1'` with `jcenter() in the repositories`

```java
FiscalCodeCalculator fcc = new FiscalCodeCalculator();
try {
String fiscalCode = fcc.calculateFC("Mario", "Rossi", 'M', new Date(1979, 2, 31), "Pozzilli");
System.out.println(fiscalCode);
System.out.println("tryin to reverse now...");
Object[] response = fcc.reverseFC(fiscalCode);
for(Object o : response) {
System.out.println(o);
}
} catch(NotSuchCityException e) {}
```

###### Trovato un bug πŸ’©? Una funzionalitΓ  mancante πŸ‘? Questo codice non sarΓ  mica perfetto 😏 ! Crea una issue [qui](https://github.com/mattmezza/italianTaxCode/issues) πŸ‘ˆ!
###### Found a bug πŸ’©? A missing feature πŸ‘? This code is not perfect for sure 😏 ! Fill up an issue [here](https://github.com/mattmezza/italianTaxCode/issues) πŸ‘ˆ!
=============
_Matteo Merola_