• Hi –

    I’m using the plugin for few years now and I love it. However, recently we got a VAT number and I have an issue – some countries we sell to use 0% vat. Problem is, that even in the case of 0% VAT, we still have to include the VAT line.

    First, wordpress wasn’t displaying this during the checkout either. But when I added this filter, 0% VAT is now shown:

    add_filter( ‘woocommerce_cart_hide_zero_taxes’, ‘__return_false’ );

    However, PDF invoices still don’t include it. Any quick way to ensure even zero VAT is included in the invoice?

    (I also need to add an additional text line that says why the VAT is not included, but hopefully this can be inherited from wordpress taxes module)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! The filter that you have applied only works in the cart (hence the name woocommerce_cart_hide_zero_taxes), not on the actual order created.

    Luckily there’s another filter that works exactly the same and applies to the order data:

    
    add_filter( 'woocommerce_order_hide_zero_taxes', '__return_false' );
    

    Hope that helps!

    Thread Starter aurimas_m

    (@aurimas_m)

    Awesome, will test this out. Thanks!

    Plugin Contributor Ewout

    (@pomegranate)

    thanks – let us know when you have tested this ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘0% zero VAT in PDF invoices’ is closed to new replies.