• Resolved outmaster

    (@outmaster)


    Hello,

    I have 2 types of VAT:

    1. VAT 0%
    2. VAT 7%

    I want to separate the total price of both types first, then + VAT 7%, subtotal, + shipping, finally add the total again

    I have attached the pictures that I want.

    https://photos.app.goo.gl/pvmZ2ZVYJnmCbRAQ9

    If I purchase WooCommerce PDF Invoices & Packing Slips Premium, will I be able to customize them according to the pictures I attached?

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

    (@kluver)

    Hi @outmaster,

    You can accomplish that with our Premium Templates extension. This will allow you to split the VAT in separate lines in the totals. It will also let you include the tax percentage and the tax base in those lines.

    Schermafbeelding-2020-11-06-om-10-08-08

    Thread Starter outmaster

    (@outmaster)

    Hello!

    I have already purchased a Premium Templates extension. Everything works very well. But I would like to ask one more thing.

    I have 2 types of web product tax forms:
    1.VAT 0%
    2.VAT 7%

    What if I want to separate the total price of all products under VAT 0% (excluding VAT 7% group) to be displayed in the TOTALS field? Do you have any advice?

    Thank you

    https://photos.app.goo.gl/oLJhPXpvwz7T81h47

    Thread Starter outmaster

    (@outmaster)

    Hello again

    I have figured out a way.

    
    <?php 
    $num1 = $order->get_subtotal();
    $num2 = $order->get_total_tax();
    $num3 = 100;
    $num4 = 7;
    echo number_format( $num1 - ($num2 * $num3 / $num4) , 2);
    ?>
    

    Thanks for the great plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I separate 2 types of taxes?’ is closed to new replies.