Issue with "Floating Tax prices". VAT is not subtracted when selling B2B

  • Posts: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 1 month ago #356466

-- HikaShop version -- : 4.7.3
-- Joomla version -- : 3.10.12
-- PHP version -- : 7.4.12

Hi,

We have the VAT online check active (Europe).

So, when a customer registers his VAT number, the prices should be without VAT (exkl. VAT), since it is a B2B sale.

In normal VAT mode (not floating tax), this is working properly.

However, if "Floating Tax prices" is configured, the VAT is not removed from the price.

Is this a bug or how can this be fixed, so that the VAT amount is subtracted from the price.

Thanks and br

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
1 year 1 month ago #356480

Hi,

The goal of having this "floating tax prices" setting turned on is that the end price is always the same, regardless of taxes.
So for example, if you have a price at 10€, whether the taxes are 20%, 10%, 5% or 0%, the end price will always be 10€, and it's the price without taxes and the taxes amount which will vary to accommodate this.

Knowing that, when I read

if "Floating Tax prices" is configured, the VAT is not removed from the price.

in your message, it seems to me that HikaShop does exactly what it is supposed to in this mode and that you actually might not want to turn on that setting if that's not what you want.

Please Log in or Create an account to join the conversation.

  • Posts: 78
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 1 month ago #356599

What we need is:

Floating tax prices, so the price incl. taxes is always the same, no matter where the customer is.

But if a customer enters his VAT number, then the corresponding VAT for his country should be deducted.

Even with floating tax enabled, the VAT and net price is listed in the order separately.

How can we achieve that the TAX is removed if it is a B2B sale with valid VAT number entered and floating tax prices active ??

Thank you and best regards

Last edit: 1 year 1 month ago by tgdkere2.

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
1 year 1 month ago #356603

Hi,

I don't see a way to do that with the current system with just the options available.

This would require the development of a plugin to add a fee to the cart which would be the negative amount of the taxes if the current user is a company with a tax number.
The plugin would implement the onAfterCartShippingLoad event:
www.hikashop.com/support/documentation/6...fterCartShippingLoad
And checking the type of the current user is quite easy :

$currencyClass = hikashop_get('class.currency');
$type = $currencyClass->getTaxType();
if($type=='company_with_vat_number') {
  // code
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum