portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.78k stars 583 forks source link

Bug: Reports/Performance/Calculation/Calculation: Earnings always pre tax #1542

Open marco-eckstein opened 4 years ago

marco-eckstein commented 4 years ago

In Reports/Performance/Calculation/Calculation, you can switch between post tax (default) and pre tax (via configure view). However, earnings are always shown pre tax.

Version: 0.46.1 (Apr 2020) Platform: win32, x86_64

Keywords for German searches: Berichte, Performance, Berechnung, Ertrag, Erträge, Brutto, Netto, Steuer

heldic commented 4 years ago

I think this should be correct. Taxes are a dedicated section within the calculation view in which you'll see the change upon configuring post/pre tax (the positive sum of taxes obviously being deducted).

Additionally, earnings ("Erträge") are defined to be pre-tax, that's why tax is its own separate section. The German wikipedia page for capital earnings seems to confirm this. It states that capital earnings are the basis for tax calculation and thus by definition have to include the tax amount:

"Kapitalertrag ist ein Rechtsbegriff aus dem Steuerrecht, der die Bemessungsgrundlage für die Kapitalertragsteuer beschreibt."

Or in short: earnings != net earnings and earnings == net earnings + tax.

marco-eckstein commented 4 years ago

You might be right. But then I don't understand the purpose of the pre tax view. It seems that it just hides the taxes and adds them to the performance-neutral expenses. This view seems useless.