Home > Docs > Order / Coupon / Subscription Export Import Plugin for WooCommerce > Import/Export WooCommerce Orders with Tax Data

Import/Export WooCommerce Orders with Tax Data

Last updated on January 23, 2024

The Order, Coupon, Subscription Export Import for WooCommerce is an ideal plugin for exporting and importing data with tax-related details. For configuring tax data:

  1. Add tax in WooCommerce.
  2. Save the tax.
  3. Add tax class in the product edit page.
  4. Update the product.

Once these settings are configured, the next product will get added to the cart with the newly added tax details. Once the order is completed with new tax, you can export these orders and import them to your store with ease.

Add tax in WooCommerce

  1. Navigate to WooCommerce > Settings > Tax.
  2. Under Standard rates, add VAT(10%).
  3. Save the changes and the tax will appear as shown below.
Adding tax
Adding tax
  1. To export tax-related data from this website, use Export CSV. To import tax data from a CSV file, use can use the Import CSV option.
  2. After adding tax to the store, go to the product edit page for which you would like to apply the new tax class.
  3. Under Product data, from the General tab, set the Tax class to Standard and save the changes.
Setting Tax class
Setting Tax class

Now, when an order is placed for the product, VAT will get added and the tax data will be stored in the tax tab of WooCommerce.

VAT added in the order
VAT added to the order

The WooCommerce tax classes along with their values in the column: tax_class are listed here:

Tax classValues in column: tax_class

Standardstandard
Reduced ratereduced_rate
Zero ratezero_rate

Export or import orders with tax data

Now, to export or import the WooCommerce orders with tax data:

Steps to export orders with tax data

  1. Under Export, select a post type as Order.
    Selecting-post-type-as-Order-in-the-Import-export-plugin-for-WooCommerce
  2. Select an export method.
    advanced-export-of-order-in-the-Import-export-plugin-for-WooCommerce
  3. Filter data that needs to be exported.
    filtering-orders-during-export
  4. Map and reorder export columns.
    mapping-orders
  5. Use the Advanced Options/Batch Export and scheduling options.
    advanced-options-during-export-of-orders
Sample of exported CSV with tax details
Sample of exported CSV with tax details

Steps to import orders with tax data

  1. Under Import, select a post type as Order.
    selecting-post-type-as-order-during-import
  2. Select an import method.
    advanced-import-of-orders
  3. Map the import columns.
    mapping-orders-during-import
  4. Use the Advanced Options/Batch Import and scheduling options.
    advanced-options-during-import-of-orders

On successful import, the order will get imported with tax data as shown below.

Sample of imported order with tax details
Sample of imported order with tax details

Related articles