=== YITH WooCommerce EU VAT, OSS & IOSS Premium ===

Contributors: yithemes
Tags: digital VAT, digital goods, EU tax, EU VAT, euvat, IVA, moss, EU moss, european tax, VAT compliance, EU VAT compliance, woocommerce, e-commerce, e commerce, tax, order tax, order VAT, EU VAT compliance, european VAT, VAT moss, VAT rates, vatmoss, taxes, VAT, vatmoss, ue, commerce, ecommerce, OSS, IOSS
Requires at least: 6.2
Tested up to: 6.4
Stable tag: 2.31.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Documentation: https://docs.yithemes.com/yith-woocommerce-eu-vat/

== Changelog ==

= 2.31.0 - Released on 22 February 2024 =

* New: support for WooCommerce 8.6
* Update: YITH plugin framework
* Dev: added new filter "yith_yweu_allow_oss_tax_localization"

= 2.30.1 - Released on 30 January 2024 =

* Update: YITH plugin upgrade

= 2.30.0 - Released on 03 January 2024 =

* New: support for WooCommerce 8.5
* Update: YITH plugin framework
* Fix: new VAT percentage in Estonia

= 2.29.0 - Released on 13 December 2023 =

* New: support for WooCommerce 8.4
* Update: YITH plugin framework
* Fix: fixed possible error when displaying the order metabox data
* Dev: check the order object to avoid fatal errors when displaying the order meta-box
* Dev: changes to HPOS and fixes to the order metabox

= 2.28.0 - Released on 13 November 2023 =

* New: support for WordPress 6.4
* New: support for WooCommerce 8.3
* Update: YITH plugin framework

= 2.27.0 - Released on 03 October 2023 =

* New: support for WooCommerce 8.2
* Update: YITH plugin framework

= 2.26.1 - Released on 18 September 2023 =

* Update: YITH plugin framework
* Dev: minor corrections

= 2.26.0 - Released on 13 September 2023 =

* New: support for WooCommerce 8.1
* Update: YITH plugin framework
* Fix: issue in the OSS report

= 2.25.0 - Released on 09 August 2023 =

* New: support for WordPress 6.3
* New: support for WooCommerce 8.0
* Update: YITH plugin framework
* Dev: updated OSS threshold when the order is refunded

= 2.24.0 - Released on 06 July 2023 =

* New: support for WooCommerce 7.9
* Update: YITH plugin framework

= 2.23.0 - Released on 13 June 2023 =

* New: support for WooCommerce 7.8
* Update: YITH plugin framework

= 2.22.0 - Released on 15 May 2023 =

* New: support for WooCommerce 7.7
* Update: YITH plugin framework

= 2.21.0 - Released on 11 April 2023 =

* New: support for WooCommerce 7.6
* Update: YITH plugin framework

= 2.20.0 - Released on 13 March 2023 =

* New: support for WordPress 6.2
* New: support for WooCommerce 7.5
* Update: YITH plugin framework

= 2.19.0 - Released on 13 February 2023 =

* New: support for WooCommerce 7.4
* Update: YITH plugin framework
* Dev: added new trigger in the JS when the VAT number is valid yith_eu_vat_number_valid
* Dev: added new trigger in the JS when the VAT number is invalid yith_eu_vat_number_invalid

= 2.18.0 - Released on 29 December 2022 =

* New: support for WooCommerce 7.3
* Update: YITH plugin framework
* Fix: solved an issue when using the Shipping only option in the tax status product option

= 2.17.0 - Released on 13 December 2022 =

* New: support for WooCommerce 7.2
* Update: YITH plugin framework
* Dev: added new filter 'ywev_change_customer_location_condition' to add the positibility to avoid changing WooCommerce option
* Dev: prevent an error on storing data in the order

= 2.16.1 - Released on 15 November 2022 =

* Fix: patched security vulnerability

= 2.16.0 - Released on 26 October 2022 =

* New: support for WordPress 6.1
* New: support for WooCommerce 7.1
* Update: YITH plugin framework
* Dev: removed the "yweu_vat_number" meta and replace it by "billing_yweu_vat"

= 2.15.0 - Released on 03 October 2022 =

* New: support for WooCommerce 7.0
* Update: YITH plugin framework
* Fix: include the shipping tax in the IOSS report
* Dev: changed the MaxMind DB update hook
* Dev: improving the IOSS report

= 2.14.0 - Released on 13 September 2022 =

* New: support for WooCommerce 6.9
* Update: YITH plugin framework

= 2.13.0 - Released on 03 August 2022 =

* New: support for WooCommerce 6.8
* Update: YITH plugin framework
* Fix: mandatory VAT number field for non-EU countries

= 2.12.0 - Released on 06 July 2022 =

* New: support for WooCommerce 6.7
* Update: YITH plugin framework

= 2.11.0 - Released on 16 June 2022 =

* New: support for WooCommerce 6.6
* Update: YITH plugin framework
* Tweak: improved the OSS and IOSS reports, now they are displayed by orders and not by country. Included an option to display them by country if needed.
* Fix: issue with the VAT exemption when the OSS feature is enabled

= 2.10.0 - Released on 17 May 2022 =

* New: support for WordPress 6.0
* New: support for WooCommerce 6.5
* Update: YITH plugin framework
* Fix: fixed the base country tax added when a non EU country is selected
* Dev: added some checks to prevent errors when retrieving data from session
* Dev: remove the billing country check to manage the OSS taxes location
* Dev: added check to prevent data from session problems
* Dev: added new filter yith_yweu_ioss_shipping_country_on_exemption

= 2.9.0 - Released on 30 March 2022 =

* New: support for WooCommerce 6.4
* Update: YITH plugin framework
* Fix: fixed the base country tax added when a non EU country is selected

= 2.8.2 - Released on 23 March 2022 =

* Update: YITH plugin framework
* Fix: fixing issues with the tax calculation when the OSS is enabled

= 2.8.1 - Released on 10 March 2022 =

* Update: YITH plugin framework
* Fix: fixed issue with the tax calculation
* Dev: added new filter yith_ywev_get_oss_orders_from_order_status
* Dev: added new filter yith_ywev_get_ioss_orders_from_order_status

= 2.8.0 - Released on 03 March 2022 =

* New: support for WooCommerce 6.3
* Update: YITH plugin framework
* Fix: fixed issue with the OSS base country taxes
* Dev: Changes in the VAT exemption calculation to manage the PluginHive WooCommerce Deposits orders
* Dev: don't display the fee taxes in the total label

= 2.7.0 - Released on 08 February 2022 =

* New: support for WooCommerce 6.2
* New: included new option to apply or not the IOSS exemption to the shipping cost
* Update: YITH plugin framework
* Fix: the Disable VAT exemption in same country option
* Fix: fixed wrong domain names
* Fix: fixed the fees VAT exemption
* Fix: fixed the fees exemption
* Fix: show the country confirmation based on the billing country
* Dev: improving the reports performance
* Dev: improves in the reports performance
* Dev: avoid OrderRefund orders
* Dev: adding on click check fo the vat number validation field

= 2.6.0 - Released on 11 January 2022 =

* New: support for WordPress 5.9
* New: support for WooCommerce 6.1
* New: included new option to apply or not the IOSS exemption to the shipping cost
* Update: YITH plugin framework
* Tweak: remove country confirmation if the VAT number is not filled
* Fix: fixed issues in reports

= 2.5.0 - Released on 01 December 2021 =

* New: support for WooCommerce 6.0
* Update: YITH plugin framework
* Update: language files
* Fix: display issue in the shipping values

= 2.4.1 - Released on 23 November 2021 =

* Update: YITH plugin framework
* Fix: fixed wrong taxes displayed on the IOSS report
* Fix: Removed the shipping and fees taxes from the IOSS VAT exemption
* Fix: use the shipping country to manage the IOSS instead of the billing

= 2.4.0 - Released on 03 November 2021 =

* New: support for WooCommerce 5.9
* Update: YITH plugin framework
* Update: language files
* Fix: removed the refunded tax amount from the OSS report
* Dev: new filter 'ywev_register_tax_ioss_condition'

= 2.3.0 - Released on 05 October 2021 =

* New: support for WooCommerce 5.8
* Update: YITH plugin framework
* Fix: fixed the OSS report and threshold, now it only takes the orders made when the 10000€ threshold is reached

= 2.2.1 - Released on 27 September 2021 =

* Update: YITH plugin framework
* Fix: debug info feature removed for all logged in users
* Fix: fixed the VAT country confirmation in non-EU countries
* Fix: fixed the VAT field to be displayed in non-EU countries
* Dev: improved query loading speed
* Dev: improved loading in reports
* Dev: new filter 'ywev_enabled_countries_for_vat_field'

= 2.2.0 - Released on 9 September 2021 =

* New: support for WooCommerce 5.7
* New: added new option to include a different message for the IOSS VAT exemption
* Update: YITH plugin framework
* Update: language files
* Fix: exclude the shipping cost from the IOSS calculation

= 2.1.0 - Released on 12 August 2021 =

* New: Added the IOSS feature
* New: IOSS report
* New: support for WooCommerce 5.6
* Update: YITH plugin framework

= 2.0.1 - Released on 09 July 2021 =

* New: added new import button for the EU reduced tax rates
* Update: YITH plugin framework

= 2.0.0 - Released on 05 July 2021 =

* New: support for WooCommerce 5.5
* New: support for WordPress 5.8
* New: plugin UI & UX
* New: OSS threshold feature
* New: OSS report
* New: OSS report export in CSV
* Update: YITH plugin framework

= 1.4.18 - Released on 15 June 2021 =

* Update: YITH plugin framework
* Fix: fixed a warning for a deprecated method

= 1.4.17 - Released on 01 June 2021 =

* New: support for WooCommerce 5.4
* Tweak: code refactoring according to PHPCS
* Update: YITH plugin framework
* Update: language files

= 1.4.16 - Released on 11 May 2021 =

* New: support for WooCommerce 5.3
* Update: YITH plugin framework

= 1.4.15 - Released on 06 April 2021 =

* New: support for WooCommerce 5.2
* Update: YITH plugin framework

= 1.4.14 - Released on 10 March 2021 =

* New: support for WordPress 5.7
* New: support for WooCommerce 5.1
* Update: YITH plugin framework
* Dev: update the is_vat_exempt postmeta in the order if the vat is exempt

= 1.4.13 - Released on 11 February 2021 =

* New: Support to WooCommerce 5.0
* Update: YITH plugin framework
* Update: language files
* Remove: removed Great Britain from the plugin

= 1.4.12 - Released on 12 January 2021 =

* New: Support for WooCommerce 4.9
* Update: plugin framework

= 1.4.11 - Released on 27 November 2020 =

* New: Support for WooCommerce 4.8
* Update: plugin framework
* Dev: removed the .ready from jQuery
* Dev: added class_exists conditions to avoid errors

= 1.4.10 - Released on 04 November 2020 =

* New: Support for WooCommerce 4.7
* New: Support for WordPress 5.6
* Update: update plugin fw
* Dev: updating minified js
* Dev: added new param to the yith_eu_vat_required_field filter

= 1.4.9 - Released on 02 October 2020 =

* New: Support for WooCommerce 4.6
* Update: plugin framework
* Dev: added filter ywev_invalid_vat_message

= 1.4.8 - Released on 17 September 2020 =

* New: Support for WooCommerce 4.5
* Update: plugin framework
* Dev: added a fix when the VAT number not appear in the order metabox

= 1.4.7 - Released on 11 August 2020 =

* New: Support for WooCommerce 4.4
* New: Support for WordPress 5.5
* Update: plugin framework

= 1.4.6 - Released on 04 Jul 2020 =

* New: Support for WooCommerce 4.3
* Update: plugin framework
* Dev: added new filter 'yith_eu_vat_required_field'

= 1.4.5 - Released on 18 May 2020 =

* New: Support for WooCommerce 4.2
* Fix: fixed the VAT report
* Fix: fixed the wrong customer country displayed in the metabox

= 1.4.4 - Released on 05 May 2020 =

* New: Support for WooCommerce 4.1
* New: added integration to allow Northern Ireland as a EU VAT country ( As Northern Ireland is not included in WC, it should be added using a code in the functions.php)
* Update: plugin language
* Update: plugin framework
* Fix: fixed deprecated method
* Dev: added the vat number postmeta in the metabox, to avoid empty fields
* Dev: fix the cart fees tax calculation


= 1.4.3 - Released on 10 March 2020 =

* New: Support for WooCommerce 4.0
* New: Support for WordPress 5.4
* New: Added new option to let the admin choose the behavior of the VAT field if the VIES server is not responding
* Tweak: Add a red/green border to the VAT field depending on the response
* Tweak: Added validation classes to the VAT field
* Update: Plugin framework
* Update: Language .pot file
* Dev: Added an exception to check when the VIES server is not responding
* Dev: All strings escaped

= 1.4.2 - Released on 26 December 2019 =

* New: support for WooCommerce 3.9
* Tweak: show eu vat amount on checkout before other rows
* Update: plugin framework
* Update: Spanish language
* Fix: fixed VAT Number value in billing fields in the order details from admin side
* Fix: remove eu vat from shipping
* Fix: added a condition to not show the price for free shipping
* Fix: fixed the amount exempted when there is more than one product in cart
* Fix: obtain the correct country when specifying a country in WooCommerce general settings
* Fix: avoid getting the VAT number from my account when the VAT input is hidden in the checkout
* Dev: new filter 'yith_ywev_add_label_shipping_tax'
* Dev: added the placeholder in VAT field of my account page
* Dev: Minified JS file

= 1.4.1 - Released on 08 November 2019 =

* New: support for WordPress 5.3
* New: support for WooCommerce 3.8
* Update: plugin framework
* Update: Italian language
* Update: Dutch language
* Update: updated the wpml-config.xml file
* Fix: fixed a problem with the thousand values
* Fix: vat number field now is hidden when checkout page is loaded with the option 'Disable VAT exception in same country' selected
* Dev: new filter yith_eu_vat_field_priority

= 1.4.0 - Released on 05 August 2019 =

* New: support WooCommerce 3.7
* New: added new field in the user account to store the VAT number
* New: Added filter 'ywev_vat_already_validated_and_valid' to validate extra fields before apply VAT exemption.
* Tweak: replacing magic methods by getters and setters
* Tweak: New parameters to filters ywev_vat_already_validated_and_valid and ywev_vat_validation_response
* Tweak: added the VAT Number field in the user edit page on admin side
* Update: updated plugin core
* Fix: fixed php warnings in the code
* Dev: added plugin upgrade submodule


= 1.3.8 - Released on 09 April 2019 =

* New: support to WooCommerce 3.6.0 RC 1
* Update: Italian language
* Update: updated Plugin Framework
* Fix: fixed the shipping tax displayed in the order
* Fix: Correct the tax value in the cart
* Fix: fixing the shipping tax included in the total

= 1.3.7 - Released on 19 February 2019 =

* New: added the fee taxes to the tax exemption
* Tweak: added a new condition to check the EU VAT number
* Update: Updated Dutch translation
* Update: updated Plugin Framework
* Fix: prevent issue (notice and vat discount) when vat number is not set at checkout page
* Fix: fixing a possible negative VAT in the order
* Fix: fixing warnings in the order metabox
* Dev: added a new filter in the ywev-checkout enqueue script

= 1.3.6 - Released on 07 December 2018 =

* New: support to WordPress 5.0
* Update: plugin core to version 3.1.6

= 1.3.5 - Released on 23 October 2018 =

* Update: plugin framework
* Update: plugin description
* Update: plugin links

= 1.3.4 - Released on 17 October 2018 =

* New: Support to WooCommerce 3.5.0
* Tweak: new action links and plugin row meta in admin manage plugins page
* Update: updated the official documentation url of the plugin
* Update: Dutch language
* Update: updating the parse_str to the version 7.2 of php
* Update: Updated plugin-fw
* Fix: remove some text and slug
* Fix: fixing the shipping tax value in the order page
* Dev: fix variable name
* Dev: adding checks to $eu_vat_dat
* Dev: checking YITH_Privacy_Plugin_Abstract for old plugin-fw versions

= 1.3.3 - Released on 25 May 2018 =

* GDPR:
   - New: exporting user question and answers data info
   - New: erasing user question and answers data info
   - New: privacy policy content
* New: option to disable vat exception process for same country (ajax call is not processed and any message showed under the field)
* Tweak: set eu vat fields using woocommerce field filter
* Update: italian Translation
* Update: dutch language
* Update: documentation link of the plugin
* Update: minify js
* Fix: plugin description
* Fix: vat execption is always processed, also if country is disabled
* Dev: Added a filter in the VAT validation response

= 1.3.2 - Released on 21 February 2018 =

* Update: JS Unminifed version
* Fix: Fix a problem with the Greece country code and VAT code
* Fix: Fixing the import standard taxes button, now don't delete the previous taxes
* Dev: eu vat field print using 'woocommerce_billing_fields' filter

= 1.3.1 - Released on 22 Dic 2017 =

* Update: Compatibility with subscription - remove taxes when vat applied

= 1.3.0 - Released on 08 November 2017 =

* New: support to WooCommerce 3.2.3
* Fix: VAT not redeemed from shipping costs

= 1.2.25 - Released on 09 September 2017 =

* Update: plugin framework
* New: option to set label for eu vat field
* New: option to set placeholder for eu vat field
* New: option to set description for eu vat field

= 1.2.24 - Released on 28 July 2017 =

* Fix: Taxes report not working
* Tweak: Moved taxes report on a new tab

= 1.2.23 - Released on 12 July 2017 =

* Fix: unable to view vat information on orders with physical products
* Update: plugin framework

= 1.2.22 - Released on 06 June 2017 =

* New: support for WooCommerce 3.1.
* Tweak: tested up to WordPress 4.8.

= 1.2.21 - Released on 16 May 2017 =

* Fix: paid tax amount not shown on VAT report.
* Fix: report not correctly exported as CSV file.

= 1.2.20 - Released on 08 May 2017 =

* Fix: the message about VAT number not valid shown automatically on page load.
* Tweak: do not trigger several AJAX call while entering the VAT Number.

= 1.2.19 - Released on 30 April 2017 =

* Update: YITH Plugin Framework.
* Fix: VAT validation not triggered when a previous VAT number is deleted.

= 1.2.18 - Released on 05 April 2017 =

* Fix: YITH Plugin-fw initialization

= 1.2.17 - Released on 08 March 2017 =

* New:  Support to WooCommerce 2.7.0-RC1
* Update: YITH Plugin Framework
* Fix: VAT number prefixed by country code and VAT number with spaces were not processed correctly.

= 1.2.16 - Released on 14 February 2017 =

* New: 'Default Customer Location' option is automatically set to 'Geolocate' in order to use the mandatory geolocation service on checkout page.
* Fix: country confirmation checkbox not shown on checkout page in particular conditions.

= 1.2.15 - Released on 09 February 2017 =

* Fix: option 'Forbid EU customer checkout' not applied on checkout.

= 1.2.14 - Released on 30 January 2017 =

* New: ask for country confirmation if the IP address does not match with the billing country
* New: an option to choose if the VAT number field has to be shown to customers from the same country of the shop itself
* New: template 'yith-eu-vat/country-confirmation.php' lets you customize the country confirmation checkbox in checkout page
* Tweak: country verification applied basing on billing country and geo-localized country before validating the EU VAT number
* Remove: option "Customer's country check"
* Remove: option 'EU VAT number check'
* Dev: filter 'yith_ywev_default_tax_rates' lets you set the default tax rates

= 1.2.13 - Released on 07 December 2016 =

* Added: ready for WordPress 4.7
* Updated: language files

= 1.2.12 - Released on 31 October 2016 =

* Added: new option for VAT exemption on physical products
* Updated: VAT rate table updated for all EU countries
* Updated: Allow customers who do not reside in an EU country to checkout without a VAT number even if the plugin option is set to ask a mandatory VAT number
* Fixed: VAT number is not asked anymore as a mandatory field if there aren't digital goods on the cart

= 1.2.11 - Released on 13 June 2016 =

* Updated: WooCommerce 2.6 100% compatible
* Updated: VAT number starting with the country code will be cleaned before the validation
* Updated: removed use of action 'woocommerce_update_option' when saving the plugin options

= 1.2.10 - Released on 19 April 2016 =

* Fixed: the checks for VAT exemption works at checkout page but sometimes fails during the following order creation

= 1.2.9 - Released on 18 April 2016 =

* Updated: ready for WordPress 4.5
* Fixed: warning on missing index for custom base location

= 1.2.8 - Released on 15 January 2016 =

* Fixed: function call not supported by PHP version prior to 5.4

= 1.2.7 - Released on 08 January 2016 =

* Updated: plugin ready for WooCommerce 2.5
* Fixed: unable to change tax classes monitored by the plugin

= 1.2.6 - Released on 26 December 2015 =

* Fixed: JS script not checks the VAT number validation when the plugin settings do not ask for country validation
* Updated: CSS font-size for error messages

= 1.2.5 - Released on 23 November 2015 =

* Updated: changed action used for YITH Plugin FW loading from after_setup_theme to plugins_loaded

= 1.2.4 - Released on 02 November 2015 =

* Update: changed text-domain from ywev to yith-woocommerce-eu-vat
* Update: YITH plugin framework

= 1.2.3 - Released on 26 October 2015 =

* Update: changed the webservice used for EU VAT validation

= 1.2.2 - Released on 01 October 2015 =

* Fix: removed wp_die.

= 1.2.1 - Released on 12 August 2015 =

* Tweak: update YITH Plugin framework.

= 1.2.0 - Released on 21 May 2015 =

* Fix : support WooCommerce plugin version prior than 2.3.0

= 1.1.0 - Released on 22 April 2015 =

* Fix : security issue (https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage/)
* Tweak : support up to WordPress 4.2

= 1.0.0 =

Initial release
