Skip to content

v2.0.0

Compare
Choose a tag to compare
@lopadova lopadova released this 18 Apr 10:47
· 34 commits to master since this release

2.0.0 - 2018-04-18

BREAKING CHANGES:

validation:
  • isPiva and IsVatNumber was removed in favour to new functions: isEuVatNumber, isVATRegisteredInVies, isITVat.
  • isVATRegisteredInVies() : Validate a European VAT number using the EU commission VIES service to verify if VAT number is authorized to carry out intra-Community operations must use the service.
  • isITVat() : Check Italian Vat Number (Partita IVA).
  • isEuVatNumber() : Check if a valid EU vat given against specific EU country vat rules (at the moment only for italy) and optionally check the EU VIES service.