DGRL Posted August 16, 2016 Share Posted August 16, 2016 (edited) Hi, I have a question about this module. When enabled this module removes tax from eu clients when entering a valid VAT number. now i want to know how to exclude an EU country from this rule. For example 1. Spain is in the EU but i have to charge Spanish companies who has a valid Tax number with X% Tax. 2. when entering for example an france Vat number but country spain it will continu anyway. Is there a way to exclude a specific country from this rule? And is there a way to check if the given VAT number is from the country you register with? Hope to hear from someone soon Kind regards, Edited August 16, 2016 by DGRL (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted August 16, 2016 Share Posted August 16, 2016 Just set your own country in the European VAT number module administration and all customers will be charged. Link to comment Share on other sites More sharing options...
DGRL Posted August 16, 2016 Author Share Posted August 16, 2016 Hi Tuk66 Thanks for the answer and what if i have 2 country's? Link to comment Share on other sites More sharing options...
tuk66 Posted August 17, 2016 Share Posted August 17, 2016 Do you have a company with two headquarters? You should consider to use Multistore. It is impossible to set it in one shop. Link to comment Share on other sites More sharing options...
DGRL Posted August 17, 2016 Author Share Posted August 17, 2016 Hi No we do not have 2 headquarters but because of laws i have 2 charge vat in 2 country's ( 1 based on my adress and 1 based on stock adress ) Stock adress is based in another country Link to comment Share on other sites More sharing options...
DGRL Posted August 26, 2016 Author Share Posted August 26, 2016 anyone? Link to comment Share on other sites More sharing options...
DGRL Posted September 6, 2016 Author Share Posted September 6, 2016 Can anyone help me pls? Link to comment Share on other sites More sharing options...
DGRL Posted September 12, 2016 Author Share Posted September 12, 2016 Anyone who want to explain? Link to comment Share on other sites More sharing options...
rictools Posted September 13, 2016 Share Posted September 13, 2016 Anyone who want to explain? Seems like you can add a condition in modules/vatnumber/VATNumberTaxManager.php, function: public static function isAvailableForThisAddress(Address $address) { return (!empty($address->vat_number) && $address->id_country != Configuration::get('VATNUMBER_COUNTRY') && $address->id_country != "SE") && Configuration::get('VATNUMBER_MANAGEMENT') ); } Maybe you have to replace "SE" with "Spain" or an id from the database. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now