nordpool icon indicating copy to clipboard operation
nordpool copied to clipboard

negative prices vat should do correct calculation

Open iskradelta opened this issue 9 months ago • 3 comments

negative prices like -0.1 should not be increased by vat, say 25%, to become -0.125 because this is not how it is billed, as it is currently implemented negative prices lead to even more negative "cost". utility companies instead do -0.1*(1-0.25) to result in -0.075 as price, they move to zero rather than further into negative. VAT must always increase never decrease :D

iskradelta avatar Mar 19 '25 16:03 iskradelta

Wait, what? That is exactly how VAT is calculated. VAT on a negative amount makes it even more negative. 25% VAT on -100 SEK will be -125 SEK including VAT.

If you have ever experienced any utility company to reverse VAT on negative prices, please provide a link, because they're doing it wrong.

I sincerely ask you to prove your case here before implementing any changes to this integration.

Octofinger avatar Apr 30 '25 15:04 Octofinger

The answer I got from my utility company; 25% VAT on -100 SEK will be -125 SEK including VAT.

As I see it, this request is wrong

dana-se avatar May 05 '25 11:05 dana-se

This is wrong for NL. A kWh price of €-0.10 (ex VAT) makes the price including VAT €-0.121

StSaens avatar May 13 '25 11:05 StSaens

Negative price VAT calculation is exactly the same as it is for positive price. The only exception could be that the price is negative almost all the time and thus consumer would be paid and they are not VAT-liable. In practice the VAT is calculated for the total of monthly (or whatever the billing period is) VATless sum and it is always positive (the other case is merely theoretical). It is possible that some utility companies exist that interpret the sales hour-by-hour but they are definitely the minority. In that case there could be an option for alternative calculation.

mikak avatar Oct 01 '25 12:10 mikak

Thanks for the pr but I’m gonna keep the code as is. If your energy provider is handling this differently, please do the vat calculation in the template

Hellowlol avatar Oct 12 '25 12:10 Hellowlol