Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users. Post the aforementioned date, users who purchase the plugin, which now is made available as multiple add-ons, must refer to their corresponding setup guides. The drag-and-drop customizer feature is now available for purchase as an add-on.

WooCommerce PDF Invoices, packing slips and credit notes plugin | WooCommerce Shipping labels, Dispatch labels and Delivery notes plugin | WooCommerce Address labels plugin | WooCommerce Picklists plugin | WooCommerce Proforma invoices plugin | Customizer for WooCommerce PDF Invoices

Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users.

Home > Docs > How to add custom checkout tax field in WooCommerce invoice

How to add custom checkout tax field in WooCommerce invoice

Last updated on September 1, 2022

Often store owners want to display custom checkout fields in the invoice. Print Invoice, Packing Slip, Delivery Note & Label Plugin for WooCommerce allows you to add checkout fields in the invoice as order meta.

For instance, you can ask the customer to input the VAT, GSTIN, ABN, etc., or any other company tax ID relevant to your business at the checkout. You can link this ID as order meta to display in the invoice.

Let’s take a look at the steps for adding custom VAT data in the WooCommerce invoice.

Adding custom checkout field

To add additional custom fields at the checkout:

  • Go to Invoice/Packing > General Settings > Advanced.
  • Head on to the option Add additional fields on checkout page. You can add the checkout field in two ways:
    1. By selecting from Predefined options
    2. By adding a new custom field

Predefined checkout fields

The plugin provides two pre-defined checkout labels as SSN and VAT.

Select the required item to appear as labels at the checkout. The buyer can enter the data into the fields on checkout.

Add/edit custom field

To add a new custom field at the checkout other than the pre-defined options:

Click on Add/edit custom field button. Into the pop-up that opens up enter the Field Name, Meta Key, Placeholder. Also mark Yes if the field is mandatory. Then, Save.

Then, click on Update settings.

To edit or delete existing fields, move on to the Previously added tab. Click on the edit or delete icon against an item.

Custom field at the checkout

As per the above example, three additional fields appear at the checkout field as shown below:

Show VAT in the invoice

The plugin displays VAT data in the invoice as an order meta. Follow the steps below to add meta in the invoice:

  • From the WordPress dashboard, go to Invoice/Packing > Invoice.
  • Head on to the Advanced tab.

Predefined VAT

In the order meta field, choose VAT. Now, the VAT data will be shown on your invoice.

Custom VAT

To add other custom order meta details (probably from another third-party plugin) other than the ones displayed in the drop-down,

  1. From the VAT meta field, click on Add/Edit Order Meta Field button.
  2. Into the popup that appears, from Add New tab section, key in custom Field Name and its corresponding Meta Key.
  3. Then, click on the Save button.

You can modify or delete existing order metadata from the Previously added tab.

Finally, click on the Update settings button to save the changes.

Sample invoice with VAT

A sample invoice with the custom VAT will be as shown below:

Related articles: