• I was wondering if it’s possible to implement specific validation for Italian VAT numbers (In Italy VAT numbers have a fixed length of 11 digits).

    Is there any way to customize the plugin to achieve this functionality? If yes, I would greatly appreciate some guidance on how to do it or if there’s an existing setting that I might have missed.

    Thank you all for your time and assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • HI @laurav89,

    Thank you for considering our EU/UK VAT Manager for WooCommerce plugin. Our plugin is designed to handle VAT verification for both UK and EU countries, including Italy, as Italy is a member of the EU.

    We recommend giving the plugin a try and testing its functionality with your specific requirements. It should seamlessly verify VAT numbers for Italy without needing any customization.

    To enable the VAT verification feature, all you need to do is install and activate our plugin. Once activated, the “EU VAT Number” field will automatically appear during the checkout page. Your customers can input their VAT numbers in this field, and the plugin will verify their validity.

    Please give it a try, but if you encounter issues during the implementation or usage of our plugin, please get in touch with us.

    Kind regards,
    Moshtafizur

    Thread Starter laurav89

    (@laurav89)

    Yes, I have difficulties because the VAT number check is carried out through VIES. However, some Italian VAT numbers do not have VIES validation, but they are acceptable for domestic sales. Therefore, for this reason, I have deactivated the validation for the Italian VAT number, but I was wondering if there is a possibility to enable validation for a specific number of characters.


    I hope I have been clear.

    Thank you

    Hi @laurav89,

    Thanks for providing more information on the issue.

    I have escalated this with our development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    Plugin Author Omar AlDabbas

    (@omardabbas)

    Hello @laurav89,

    VAT numbers format & length vary by country, and the plugin handles them exactly as they are registered in the VIES system, so for Italian VAT numbers, whatever numbers are provided by customers, they will be validated against the official database (VIES), regardless of number of characters.

    I’m not quite sure if this solves the issue since it’s still a bit unclear to me, have you tried validating a valid IT VAT number but didn’t work? Can you share the logs (enable debug under advanced, try validating a number, then check logs).

    Omar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘specific validation for Italian VAT numbers’ is closed to new replies.