• Resolved clarru

    (@clarru)


    Hello, due to legal reasons I need to display the VAT percentage that woocommerce generates into the invoices that gets sent eventually, did you have this request in the past? Or could you guide me on how to put this on an invoice?


    I also have the premium version of the plugin.

    Thank you

    • This topic was modified 7 months, 3 weeks ago by clarru.
    • This topic was modified 7 months, 3 weeks ago by clarru.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter clarru

    (@clarru)

    In addition to what I wrote above, I just need to swap the “Total tax” field to Woocommerce’s Tax Name

    What shows in the final order screen on website:

    While on the printed invoice it displays:

    I can see that on Help Guide there are Filters to alter different things but not the Total Tax, could you help me out with this specific field?

    Thank you.

    Thread Starter clarru

    (@clarru)

    I’ve done more digging and found this filter in your plugin code, and I tried altering this total tax label like this, but it still displays total tax on the invoice, instead of MwSt, how I wrote it.

    add_filter('wf_pklist_alter_taxitem_label', 'wt_pklist_alter_taxitem_label', 10, 4);

    function wt_pklist_alter_taxitem_label($tax_label, $template_type, $order, $tax_item)
    {
    // Retrieve the tax rate
    $tax_rate = $tax_item->get_rate_percent();

    // Format the tax information
    $formatted_tax_info = sprintf('MwSt %s%%', $tax_rate);

    return $formatted_tax_info;
    }
    Thread Starter clarru

    (@clarru)

    NEVERMIND!!

    My bad, who would’ve guessed that Tax Item, is eventually the Tax Zone……………… Bad UX

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi clarru,

    Thanks for reaching out.

    Our free plugin does not offer customization of tax fields in the PDF invoice document. However, the premium version of the plugin supports the customization.

    As it’s not advisable to discuss the premium features in this forum, we request that you reach out to our support team through this?link?for more information and assistance with your query.?Our team will be happy to help you and provide any assistance you may need.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vat percentage in Invoice’ is closed to new replies.