Developer forum

Forum » Ecommerce - Standard features » VAT in EU - B2B (whitout) vs B2C (with)

VAT in EU - B2B (whitout) vs B2C (with)

Michael Fløe Haug
Reply

We need to setup Dynamicweb to comply with the VAT regulation in EU

  1. Denmark - Webshop allways show and charge VAT to both B2C and B2B customers
  2. EU
    1. B2C customers - Webshop show and charge VAT to B2C customers in EU
    2. B2B customers - Webshop does not show and does not charge VAT to B2B customers in EU.
  3. Outside EU - Webshop does not show and does not charge VAT to both B2B and B2C customers.

I can't figure out how to setup Dynamicweb - Please help me?!

This setup must be possible?!


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Michael

It is possible.

You need to set the VAT context in the scenarioes. You can do that on the website properties, under ecommerce, VAT setting . include or do not include.

You can change the context for each user by querystring: &PricesWithVAT=True|False

So you need to change the setting from the querystring (or by code: Dynamicweb.eCommerce.Common.Context.DisplayPricesWithVat = true), or you can use different website depending on each scenario. You need to set the rule for when a user is B2C or B2B.

BR Nicolai

 
Michael Fløe Haug
Reply

Hi Nicolai,

Do I understand correctly this;

I set show with vat on website settings. So all prices are with vat on the page from start. Querystring = True

If the custumer goes to cart, I have set the vat on countries to match the country vat rates - and then I insert a field for the user to choose wether he is B2C or B2B. And if B2B I manipulate the vat show/not show with the querystring false?

BR
Michael

 
Michael Fløe Haug
Reply

How does the payment gateway (Auto post) submit the value of the cart - If the context is set to PricesWithVat = False?

 
Nicolai Høeg Pedersen
Reply

Not sure, but my guess would be without the VAT. It can be changed using a template instead of Auto Post mode.

BR Nicolai

 

You must be logged in to post in the forum