Home > Docs > Customizer for WooCommerce PDF Invoices > Adding Tax Column in a WooCommerce Invoice Using Customizer

Adding Tax Column in a WooCommerce Invoice Using Customizer

Last updated on April 11, 2024

The WebToffee’s Customizer for WooCommerce PDF Invoices plugin helps you to customize WooCommerce invoices, drag and drop elements into the document type, and more. In addition to this, the plugin allows store owners to add tax to WooCommerce invoices. Taxes can be added in two ways:

  1. As a column inside the product table
  2. Within the summary table of invoices

The following image shows a premium version template with added tax columns. Here the tax is included in the Price and Total price of each line item. The tax format is set as a Separate column, to show tax as amount and rate in two different columns.

Sample invoice with tax column
Sample invoice with tax column

Adding tax to the product table of invoices

Store owners can easily add taxes to WooCommerce invoices as a separate column in the product table. Here are the steps for the same:

  1. Choose a Premium template for invoices.
    1. From the WordPress dashboard, navigate to Invoice/Packing > Invoice > Customize.
    2. Click on Change layout from the Customizer toolbar and select a premium template.
Premium version templates that supports tax
Premium version templates that supports tax
  1. Include/exclude tax from the Price and Total price in the product table.
    1. Scroll down and click on the Product table block in the preview pane. The Editor pane on the right will list all the elements in the product table.
    2. Now, find the elements Price and Total Price from the Editor pane, and click on the inverted arrow next to it.
Navigating to Price and Total price
Navigating to Price and Total price
  1. Here, include/exclude tax from the Price and Total price. You can choose either of the following options:
    • Exclude tax: If checked, the unit price/total price and the tax will be displayed separately in the product table. 
    • Include tax: If checked, all the prices (unit price or total price) displayed in the product table will include tax. 
  1. Include/exclude tax in the product table and customize its display format.
    1. Click on the product table of invoices. Then, move to the Editor pane and add Tax items and Total Tax to the product table from the Other items available in the block section.
Adding Tax items and Total Tax to the product table
Adding Tax items and Total Tax to the product table
  1. Now, click on the inverted arrow near Tax items and Total Tax and customize the tax display format.
Customizing Tax display format
Customizing Tax display format
  • The drop-down allows setting the Values properties.
  • Tax display – Allows choosing how the columns ‘Total tax’ or ‘Tax items’ should be displayed in the invoice. The Available formats are :
    • Amount
    • Rate(%)
    • Amount (rate)
    • Separate column
  1. Save and Activate the template.
    • As a final step, click on Save and Activate to save the template and use it further.

Adding tax to the summary table of invoices

Taxes can be shown in the summary table of invoices by following the below steps:

  1. Choose a Premium template for invoices.
    1. From the WordPress dashboard, navigate to Invoice/Packing > Invoice > Customize.
    2. Click on Change layout from the Customizer toolbar and select a premium template.
  2. Include/exclude tax from Subtotal, Shipping and Total in the summary table.
    1. To include or exclude tax, click on the summary table block in the preview pane.
    2. From the Editor pane, click on the inverted arrow of the element(eg. Subtotal).
Image highlighting the summary table and the editor pane
Image highlighting the summary table and the editor pane
  1. In the Values Properties section, include or exclude tax from the element. Here we have shown Subtotal as an example. Similarly, do it for Shipping and Total as well.
Values Properties
Values Properties

You can choose either of the following options:

  • Exclude tax: If chosen, the subtotal, shipping and the total will be exclusive of tax.
  • Include tax: If chosen, the subtotal, shipping and the total displayed in the summary table will include tax.
  1. Include/exclude tax in the summary table.
    • Click on the summary table of the template. Then, move to the Editor pane and add Tax items and Total Tax to the summary table from the Other items available in the block section. To rearrange the position of rows within the summary table, refer to this article.
  1. Save and Activate the template.
    1. As a final step, click on Save and Activate to save the template and activate it.

The image below shows a WooCommerce invoice with Tax items and Total tax added to the summary table. Here the Subtotal, the Shipping, and the Total Price are all inclusive of tax.

Sample invoice with tax added to the summary table
Sample invoice with tax added to the summary table