HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
69 stars 55 forks source link

EU B2B rule #155

Closed Tychodewaard closed 3 years ago

Tychodewaard commented 6 years ago

Describe the solution you'd like

EU requires VAT not to be calculated within the EU when:

In an ideal world this setup is flexible as the actual law is a more complex. https://www.baldwin.agency/blog/management/vat-rules-for-webshops/

But the first stated rule covers most situations, I think. That is: I have no private persons as customers and no companies that exceed thresholds in other countries.

Navilois commented 4 years ago

I'm running into similar problems in my B2B only shop. What it comes down to is the tax exemption number. I've implemented the input at checkout, but I need to remove tax once a valid tax exemption number has been added. This needs to be overruled by tax rules for specific EU countries though.

I'll have a solution soon (tm)

Navilois commented 4 years ago

It appears Soon (tm) = 8 months in this case. I have a working solution in a custom controller. However I believe it would benefit Hotcakes greatly to implement this enhancement for EU users - it's a must have for European webshops.

This is the basic commit for Hotcakes: https://github.com/Navilois/hotcakes-commerce-core/commit/d7672316d3d5ca6cd86d2edc87c71c2bf2f8564d

Remarks:

Todo:

There's probably some more things to think about, which exceed my knowledge of Hotcakes. If you're willing to put some work into this, I'll be happy to help implementing a proper solution @hismightiness

Navilois commented 4 years ago

This PR is live at https://www.sierzega.com/en-us/products/checkout

Navilois commented 4 years ago

Added localized validation msg via controller.resx