Skip to content

adnane-o/JVatValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

JVatValidator

About

This is a standalone Java library for VAT (Value-Added Tax) number formal validation. It doesn't connect to any web service. It can be used to verify if an input value is a valid VAT number with respect of the formal rules of a certain country.

Important
This library does not verify if the input value is actually assigned to a certain company or organization.

Usage

This will validate 11198699 value against Romanian VAT patterns:

boolean isValid = VatValidator.validate("RO", "11198699");

The first argument is the ISO-3166 country code, the second one is the value to be validated.

Acknowledgement

The validation source is a Javascript file found here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages