Support » Plugin: WooCommerce » Apply tax to total after redeem voucher (smart coupons module)

  • Resolved andreasru


    A friend reached out to me because his WP & WC web agency couldn’t find a suitable solution, and what I’m describing is more a legal issue in Germany regarding VAT (they have also reached out for legal advice, who confirmed the issue). Please excuse if I’m overlooking something here, I’m a total noob with WC.

    Description of the issue:
    1. Step: The site sells single vouchers of 10 Euros each, including 19% tax.
    (The 19% vat is included in the invoice, correctly calculated and they pass the VAT amount to the authorities accordingly)
    2 Step: When a voucher holder buys a product of 11,50 € and redeems that voucher (that has already the 19% VAT included), the invoice gets calculated and shown as follow (translated from German):

    – (Subtotal) Zwischensumme: 11,50 €
    – (Discount) Rabatt: -0,00 €
    – Payment-Type: PayPal
    – Shop-Credit used: -10,00 € (this is the redeemed voucher)
    – Total: 1,50 €
    – incl. 19 % VAT 1,84 €

    The issue is because of the 19% VAT being calculated on the subtotal of 11,50 € and being activated in that invoice with its total amount of 1,84 €. BUT 1,60€ has already been passed to authorities after step 1. Because that second invoice is showing a VAT of 1,84 €, authorities will demand the exact VAT amount of 1,84 €, instead of the 0,24 €. The correct VAT in that invoice needs to be 0,24 € calculated on the total of 1,50€ being paid in step 2 only.

    I’ve seen the docs about “Apply before taxes” and multiple blog/forum entries over the internet, but none has really been fully helpful. In also doesn’t seem to apply here, and the description doesn’t really state what the setting really does: It just says “If you want to change this behavior of the store credit”, but not what or how it changes the behaviour of the store credit. Furthermore the WP Web Agency told them this would need further expensive customizing, what I couldn’t believe because of it beeing a really common issue here in Germany.

    Really appreciate any help or somebody pointing us to the right direction. Thank you.

    • This topic was modified 4 months, 2 weeks ago by andreasru.
    • This topic was modified 4 months, 2 weeks ago by andreasru.
    • This topic was modified 4 months, 2 weeks ago by andreasru.
    • This topic was modified 4 months, 2 weeks ago by andreasru.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Igor H woo-hc



    Can you provide the URL of the site as well as a product URL (single voucher) to check the behavior?

    Can you share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. 

    Also please include in your reply a screenshot of your tax and coupon settings.

    Note: You can use – to send screenshots, please follow the instructions on that page, then paste the URL in this thread.

    Thank you.

    Thread Starter andreasru


    @ihereira many thx for the quick response. I appreciate that a lot.

    I need to get further details from the company with the issue: Because of the legal situation, the URL to the voucher shop was temporarily closed. Also, I don’t have access to their wp-admin because I’m not their official WP freelancer. However, this is something their WP Web Agency should resolve.

    Just for furhter explanation:

    The issue is because of the voucher categorization by the german tax law and authorities, who demand the vouchers VAT immediately. At the end (during the final payment) where that voucher is redeemd, the VAT MUST NOT have the VAT calculated behalf it’s subtotal, but behalf the paying difference only. Otherwise the authorities would demand exceeded VAT. If e.g. the vouchers value exceeds the products value, VAT must be 0.

    Again, that’s not a plain setting issue. Just setting the voucher to not demand the VAT isn’t an alternative. The voucher MUST (by law) include the VAT, and furthermore when the product is purchased and the voucher is redeemed, the final VAT calculation MUST be calculated on behalf the total and not the subtotal.

    As you can also see from this post, there are other admins with the same issue in Germany (unfortunately in German):

    Many thx.

    • This reply was modified 4 months, 2 weeks ago by andreasru.
    Plugin Support Margaret S. woo-hc


    Hi @andreasru

    We understand the situation.

    While you gather the info, you may take a look at our guide that explains a lot on tax settings and will surely be of help:

    We’ll look forward to further updates from you.


    Plugin Support Margaret S. woo-hc


    We haven’t heard back from you in a while, so I’m marking this thread as closed for now – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.