stevermeister / dutch-tax-income-calculator-old

Dutch Tax Income Calculator with AngularJS
https://thetax.nl
382 stars 58 forks source link

Holiday allowance included in Taxable Income #99

Closed vicsn closed 1 year ago

vicsn commented 4 years ago

@stevermeister thx for building the nice tool. I'm afraid there might be a mistake in the calculation. Two calls with the Dutch tax authority assured me that the holiday allowance is a part of the Taxable Income. I.e. As long as the annual salary including holiday allowance is above the minimum threshold indicated in the About 30% Ruling footnotes, employees are eligible. Can you please confirm this with your own sources so I can PR an adjustment?

stevermeister commented 4 years ago

@vicsn you can check test vectors here - https://github.com/stevermeister/dutch-tax-income-calculator-npm/tree/master/__tests__

vicsn commented 4 years ago

@stevermeister may I ask for the source of the test vectors? Two calls with the tax authority confirmed my point, I sent you an email if you want to discuss in more detail without spamming this issue.

stevermeister commented 4 years ago

I think we can ask @eduardomourar, he added them

eduardomourar commented 4 years ago

From https://www.belastingdienst.nl/wps/wcm/connect/nl/personeel-en-loon/content/hulpmiddel-loonbelastingtabellen for the normal payroll calculation, but we have no unit tests for 30% ruling. I guess you are talking about this line of code here. So my suggestion is to make a PR to fix it and add some unit testing regarding that specific calculation, which I added but I don't know why :)

vicsn commented 4 years ago

I also see the issue in the calculations, the tax income calculator uses the Tijdvaktabel (monthly taxes) for benchmarks but not the Tabel voor bijzondere beloningen (yearly taxes). Both the holiday pay and 30% ruling are related to yearly taxes, not the monthly amounts.

I could add the extra table to the unit tests and fix the mistake with regards to the 30% ruling / holiday pay calculations, but I unfortunately don't feel comfortable doing that given the fact that other errors may be lingering. Income tax is complex and this is one of the areas of taxation where I think a professional is still required to navigate the legal waters.

Consulting a professional to check the calculations every year could help, perhaps you can find someone who wants to do it pro-bono (despite the fact that it potentially takes away work from them)?

eduardomourar commented 4 years ago

Just one note, both 30% ruling and holiday allowance can be part of the monthly table if you are paid per month instead of one-off (you can find this in the first "Attention" box of section 7.3.6 and check more details here). So I would say that we can assume the monthly table for our calculator to simplify. If one day the Dutch government makes the taxes available in a public web API, then...

owenversteeg commented 3 years ago

Thank you for building this tool! Lovely simple design.

I can confirm that the calculator is incorrect when checking the "Holiday allowance included" checkbox. I believe the best solution would be to simply delete the checkbox from the page, as people include it in their gross yearly income. I've checked other calculators and this is what they do - no extra checkbox for the 13th month/holiday money, just one box for your total gross income, which includes any holiday money. (For example https://www.knab.nl/financieel-overzicht/inkomstenbelasting-2020) Legally speaking, this is also the clearest option, as such holiday money is gross income just like any other paycheck.

However, if you did want to include such a checkbox, then I'd add a checkbox titled "Add 13th month" or "Add holiday allowance", which simply multiplies the annual gross income by 13/12 aka roughly ~1.0833.

stevermeister commented 1 year ago

if it's still actual you can reopen your issue here (new version of the application) - https://github.com/stevermeister/dutch-tax-income-calculator