Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3956453
VAT calculation is incorrect
Open

Comments

  •  5
    Martijn Chel started the conversation

    Hello,

    I have an issue which I just noticed because the government pointed it out. VAT is calculated wrong with bundles. 

    See example attached. 21% VAT (set in Woocommerce) should be 21,85 euros. 

    All non-bundled products work fine.

    Can you please check?

    Attached files:  Scherm­afbeelding 2025-04-12 om 16.32.25.png

  •  5
    Martijn Chel replied

    Seems like the VAT is calculated on the normale price, not the bundled price.

  •  5
    Martijn Chel replied

    When setting the price manually it works. Seems like a bug, which is not good.

    Let me know.

  •  1,436
    Dustin replied

    Hi Martijn,

    When you use automatic pricing for a bundle, the total for the bundle is calculated from the child products and their VAT. Conversely, if you use fixed pricing for a bundle, the price and VAT are calculated only for the main product, and the child products will have a zero price.

    Best regards,
    Dustin

  •  5
    Martijn Chel replied

    Hello Dustin,

    So, are you saying the wrong VAT is the way it should be? Why is there an automatic option then? Cause nobody can sell products with the wrong VAT amount.

    Or maybe I understand you wrong, but it's not clear for me why giving a discount on a bundle gives the wrong VAT amount.

  •  1,436
    Dustin replied

    I give two pricing methods on our plugin so you can choose the one that suits you.

    Which pricing method are you using for your bundle?

    I can help you check further and fix this issue when you use the premium version of our plugin: https://wpclever.net/downloads/product-bundles/ 

    Best regards,
    Dustin

  •  5
    Martijn Chel replied

    Hello Dustin,

    I did buy the premium version ([email protected]). 

    I want to use the automatic pricing, with the discount set in your form. But then the VAT is not calculated correctly.

  •  1,436
    Dustin replied

    Please send me your website credentials (wp-admin link, username, and password) or create a dev/staging site with identical configurations so I can check for any issues.

    Best regards,
    Dustin

  •   Martijn Chel replied privately
  •  1,436
    Dustin replied

    When you set the discount amount, it will be assigned to the main product bundle with a negative value so that the VAT calculation will be wrong. Instead, try using a percentage discount:

    9641767713.png

    The result will be like this:

    1975513459.png

    Best regards,
    Dustin

  •  5
    Martijn Chel replied

    Doesn't that defeat the purpose of setting a fixed discount? I want to be able to set a fixed discount because the price of a product can change.

    Also, the VAT in your image (9,88) is still the wrong amount.

  •  1,436
    Dustin replied

    I have reset the discount to 5,95€ for that bundle https://www.yvsport.nl/product/sportoutfit-yv-dark/

    Now, it looks like this:

    3480732169.png

    Is this an acceptable calculation result?

    Best regards,
    Dustin

  •  5
    Martijn Chel replied

    No. It should be 19,77. That’s 21 percent VAT. 

  •  5
    Martijn Chel replied

    So, with percentage or set discount in the options it doesn't calculate the VAT correctly.

  •  1,436
    Dustin replied

    I apologize for this shortcoming in our plugin! I will check and fix this issue as soon as possible.

    If you use the premium version, you can request a refund because it is not working as expected. We will refund you.

    Best regards,
    Dustin

  •  5
    Martijn Chel replied

    Thank you. How do I request the refund?

  •  1,436
    Dustin replied

    Please open a new ticket and provide the WPC Product Bundles' license key or email.

    Best regards,
    Dustin