Giter VIP home page Giter VIP logo

itax-code's People

Contributors

baraidrissa avatar github-actions[bot] avatar matteoredz avatar roccoemanuelebonanno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

itax-code's Issues

Belfiore code for birthplace

Ciao, it would be great if it was possible to specify the Belfiore code for birthplace when calling ItaxCode.encode.

Base error class for errors?

Hey Matteo 👋 😁
What about introducing a base class for errors?

For example for these ones:

NoTaxCodeError = Class.new(Error)
InvalidControlInternalNumberError = Class.new(Error)
InvalidTaxCodeError = Class.new(Error)

The point is that there isn't an easy way to catch all the ItaxCode errors if you are not interested to handle the specific cases.

ItaxCode.valid? ritorna false per omocodia cittadini estere

Ciao @matteoredz , c'è un piccolo problema con i codici fiscale omocodes.

Io ho un codice fiscale reale di un cittadino indiano che finisce con Z2N2Y, però ItaxCode.valid? su questo codice fiscale mi ritorna sempre false.

Ho visto che il metodo ItaxCode::Validator.new(tax_code, data = {}).valid?
controlla che encoded_tax_code sia uguale al tax_code fornito.
Ovviamente encoded_tax_code ritorna un valore che finisce Con codice catastale in questo "Z222N".

Si potrebbe cercare di migliorare questo controllo, altrimenti il programma continuerà a dare false anche per molti altri codici fiscali reali.

Spiego di essermi spiegato.

Grazie mille!

Automate cities and countries data import

At this moment, when a CSV data should be updated, each file should be manually updated. An automated task should be created to fetch data from an official ext source!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.