Skip to content

Tax rules: 0% tax for a specific postcode/zipcode when the country has tax

I can’t find a clean way to say “charge 20% for all of the UK, charge 0% for JY/GY postcode”

I have been playing with priority but it doesn’t matter how I set the priorities, the national 20% always gets applied as well – rules seem to be always combined.

I assume it would work if I were to create create

  • a 20% rule for every postcode in the UK – that’s around 140 different ones (more, as Glasgow would have to have every G1 G2 G0 etc added individually)
  • 0% for the few postcodes that are exempt

This is an ugly way, and the logic is invisible in the hundreds of rules.

You would have to do it for other countries too, Italy, France maybe others if they have a tax haven or special tax enclave. That’s thousands of rules, in the end!

Question:

  1. Is there a way to “bypass” a rule when there is a more general one? These exception postcodes are a very small list so a bit of code that programmatically “skips” a specific rule is more manageable than thousands of unnecessary rules.
  2. If not, is there a way to block these specific postcodes to force these special cases to use a country that can be configured properly?