We are a company in EU with tax applying. We sell online to other EU countries
I have activated the SERVICE_ARE_ECOMMERCE_200238EC and the MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL
In the case we sell to a company in EU different to our company and VAT rate for that company is set and active, when the buying company dont have valide VAT number (is not registered to VAT in its country) or just dont have the fields VAT filled in dolibarr, when i want to add a product in the sales order for this company the system dont use the VAT of the coutnry of the buyer but suggest the VAT rate our the country of the seller.
Products are subject to taxes and marked as such in dolibarr..
VAT rates for each country to which we sell are defined and active.
We have set that our company is subject to tax.
What might be the problem?
By the day the OSS logic works when I set the third party type to be individual. But it should be the same logic if the company has no valid VAT number. Here always in the case we sell to individual or company in a different country than ours in the EU.
WHen the buyer is individual (with indvidual as third party type) then the logic works and system applies the VAT of his country. I have also put the constant SERVICE_ARE_ECOMMERCE_200238EC with value 1.
When i sell to a company with valide VAT number ( and VAT if filled) then i also have the correct result to have 0% VAT (reverse charge)
The problem is only with companies who dont have Valid VAT number (field VATnumber empty) - then the sstem dont treat them as indivudual and dont apply the VAT of their country but i can only choose the VAT of my country or 0% VAT.
@mgan This is not functionality I use, since my - or rather our - usage of Dolibarr is to sell dance classes and events, and we are a non profit so we do not charge VAT.
I think that there are 3 solutions for this:
you supply a valid VAT number for these companies
you or someone you hire change the code so Dolibarr pre selects the VAT of the recipient country, and possibly allows you to select a different VAT manually (please submit this change as a Merge Request at Dolibarrs github page)
you file a feature request at Dolibarrs github page, and then wait until someone codes it for you