Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAT is added to a negative price #327

Open
Tapsu10 opened this issue May 27, 2023 · 11 comments
Open

VAT is added to a negative price #327

Tapsu10 opened this issue May 27, 2023 · 11 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Tapsu10
Copy link

Tapsu10 commented May 27, 2023

VAT should be ignored when the price is negative because you are not paying taxes on negative prices (Atleast in Finland).

At the moment the price is displaying -0,43 cents but it should be -0,35 cents. -0,35 + 24% VAT = -0,43

@Bo1jo
Copy link

Bo1jo commented May 28, 2023

VAT should be ignored when the price is negative because you are not paying taxes on negative prices (Atleast in Finland).

At the moment the price is displaying -0,43 cents but it should be -0,35 cents. -0,35 + 24% VAT = -0,43

Same for Sweden! VAT shouldn't be added when the price is negative.

@StSaens
Copy link

StSaens commented May 28, 2023

In NL VAT has to be added to a negative price. (Price*1.21)

@Hellowlol
Copy link
Collaborator

Hellowlol commented Jun 3, 2023

@yozik04
Copy link

yozik04 commented Jun 3, 2023

In my opinion you need to fully drop automatic vat calculation and ask people to use template instead.

@JonasEnstrom80
Copy link

In my opinion you need to fully drop automatic vat calculation and ask people to use template instead.

Agree, my price is spot price + 0,05 SEK and VAT should only be excluded if that goes below zero.

Better to add VAT as additional cost and add some examples in the documentation.

@Hellowlol Hellowlol added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 11, 2023
@Hellowlol
Copy link
Collaborator

@veista
Copy link

veista commented Oct 10, 2023

In my logic you can't omit VAT from negative prices.

If you omit VAT from negative prices the total VAT will be wrong. The VAT is added to the total sum you pay, so lets say your consumption was 5€ without VAT and you got 1€ back from the negative prices the VAT is added to 4€ so the price would be 4,96€ with VAT. If you add VAT to 5€ you get 6,2€ and you substract the 1€ you get 5,2€ which I do not believe is the case, you have to substract the 1,24€ with VAT to get the right answer. Example was calculated with VAT 24%.

Please correct me if I'm wrong.

@jseppeli
Copy link

I agree with @veista
This is how it is at least done in Finland. All consumption is calculated VAT0% and to the sum of all VAT is added.
so now when we had -50c/kWh negative prices in Finland for 9 hours all made money when using electricity and if I had from before used let's say 20€ worth VAT0% and now earned 5€ by using while price was negative I would end up with 15€ VAT0% to which 24% VAT would be added and the sum would be 18,60€

@jseppeli
Copy link

Code vise the calculation would need to be something like this (I'm not a programmer)
IF spotprice > 0 THEN price = spotprice+VAT
ELSE price = spotprice

@bj00rn
Copy link
Contributor

bj00rn commented Jan 11, 2024

Code vise the calculation would need to be something like this (I'm not a programmer) IF spotprice > 0 THEN price = spotprice+VAT ELSE price = spotprice

I think it is the same here in Sweden. You forgot addtional costs (if any are defined) though

cost = (spotprice + additional_cost) * VAT if spotprice + additional_cost > 0 else: spotprice + additional_cost

@mikak
Copy link

mikak commented May 13, 2024

It is not that simple in Finland either: VAT is not necessarily calculated hourly but from the total of the invoice (month). Only if the invoice total is negative then VAT is 0. Interpretation varies between companies so this is something that should be configurable or done by templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

10 participants