Skip to content

Remove default tax zone validation#527

Closed
mamhoff wants to merge 1 commit intomasterfrom
unknown repository
Closed

Remove default tax zone validation#527
mamhoff wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@mamhoff
Copy link
Copy Markdown
Contributor

@mamhoff mamhoff commented Nov 23, 2015

With the new VAT taxation system, a default zone is no longer mandatory. It is perfectly valid to have
taxes that are included in price only for specific foreign zones.

With the new VAT taxation system, a default zone
is no longer mandatory. It is perfectly valid to have
taxes that are included in price only for specific foreign zones.
@cbrunsdon
Copy link
Copy Markdown
Contributor

👍 from me. Killing this didn't make any tests fail and I don't understand its purpose to begin with.

If someone that actually understands this stuff says kill it, I'm good killing it.

@mamhoff
Copy link
Copy Markdown
Contributor Author

mamhoff commented Nov 25, 2015

Let's wait with this one until we can actually manipulate prices.

Let me quickly explain what's going on here: The default_tax_zone indicates what zone's VATs apply to the prices entered for variants in the backend. So a German user would enter 19.99 for an item whose net price is actually 16.80 (at 19% VAT). As things are now, when you ship to a place outside the default VAT zone, the default zone's VAT would be "refunded".

If you ship to another place with VAT, the German VAT will not be refunded, and the other place's VAT would be applied. This leads to wrong net prices (same prices, different included tax --> crazyness).

Once we have tax-adjusted line item prices, there would be no need for the refunding anymore, as for that case the price for the line item would drop to the net price. It will even be possible for a Solidus integrator to not specify a default zone, and prices would be adjusted up once users decide to ship to Germany.

Really though, I'd say put this on hold and leave it for the time being. We're right now working on improving the taxation tests, and once those tests are in, it'll hopefully be possible to see more clearly what setting a default VAT zone does.

@mtomov
Copy link
Copy Markdown
Contributor

mtomov commented Dec 17, 2015

funny how a custom validation is removed and all tests still pass.

@cbrunsdon
Copy link
Copy Markdown
Contributor

@mamhoff Are we good to pull the trigger on this one for 1.3? I'm still honestly pretty fuzzy on how it fits into the larger changes.

@mamhoff
Copy link
Copy Markdown
Contributor Author

mamhoff commented Jan 25, 2016

No, we're not. First, I need to be able to recalculate line item prices,
which is like three commits away on the PORO PR.
On Jan 25, 2016 5:07 PM, "Clarke Brunsdon" notifications@github.com wrote:

@mamhoff https://github.com/mamhoff Are we good to pull the trigger on
this one for 1.3? I'm still honestly pretty fuzzy on how it fits into the
larger changes.


Reply to this email directly or view it on GitHub
#527 (comment).

@mamhoff
Copy link
Copy Markdown
Contributor Author

mamhoff commented Jan 27, 2016

I cherry-picked that upon #747, because this can only go when that's implemented. Closing.

@mamhoff mamhoff closed this Jan 27, 2016
@mamhoff mamhoff deleted the remove-default-rate-validation branch May 24, 2016 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants