Tax priority – How supposed to work?
-
Hello,
I am not clear how the Tax priority function is supposed to work.
We have therefore for testing at the moment 2 ways of Tax setting, namely:
1) Both country code with no zipcode with rate of e.g. 19% and with a zip code on priority 1 with rate of 0% . The one with the zip code is above the one with only the country code.
Then the correct 0% rate of the zip code is taken when this matches with the shipping address zip code.
2) The country code with no zip code with rate 19% has priority 1 and with zip code with 0% rate has priority 2. This is automatically saved under the priority 1. Then the correct 0% rate of the zip code is NOT taken when the zip codes matches.According to the help in the link https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/ by taking the second example shown under “Tax rate examples”, selecting a higher priority of 2 or more is the way it is supposed to work. So looking at the example the US country code with State code CA and a priority 2 for zipcode 90210 (NOTE: the zipcode has been put in the State code column which looks like an error in this example. It should have been put in the Postcode/ZIP column) results in selecting the local tax rate of 2% when this matches.
Therefore with our setting 2, a priority 2 for Postcode/ZIP should then also result in selecting the 0% rate of the zipcode when this matches. However this is now ignored and only selects the 19% rate of priority 1, the country code!
It seems that not the priority works here but which setting is above the other to be considered first per country code.This functionality of priority is important for us as we have a marketplace integration using this to calculate the tax exclusive price following the setting 2 logic. It selects the rates according to priority when matching resulting in 19 or 0%. However when using our setting 1 the integration selects the first priority 1 per country code ignoring then the other(s) resulting in 0%, which results in a incorrect exclusive price in most cases.
On the other hand when using setting 2 we have now a problem for other orders within WooCommerce which then select only priority 1 rates in sequence of position above the other and therefore igorning the 0% for Zipcodes.Therefore I need to know how this priority setting is supposed to work.
To me it does not make sense when it is supposed to work as it does now, namely according to setting 1. Then the whole priority function is actually not working at all!
From the example it looks like it should work according to setting 2. This makes sense as it selects a rate per country code and then by priority e.g. 2 or higher over a lower like 1. When this is the case then there is an error in the Tax function that needs to be fixed, When not then the integration logic needs to be fixed. Look forward to the definite reply.
The topic ‘Tax priority – How supposed to work?’ is closed to new replies.