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

Add calculating dividends gains. #577

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nihn
Copy link
Contributor

@nihn nihn commented Dec 23, 2024

Cover the double taxation rules and tax treaties for dividends payments - the country of origin for a dividend is determinated by looking at its currency, this is not perfect but works most of the time (will not work for example for all EU countries using the same currency - this will need to be handled later on separately).

I've added a simple validation check which compares the tax at source with a one expected for the detected country which should remove (but not fix) some of the invalid matches.

The code will generate a similar pdf report as for capital gains. Right now only treaty with US and Poland are added to the calculations.

nihn added 2 commits December 23, 2024 18:11
Cover the double taxation rules and tax treaties for dividends payments - the country of origing for a dividend is determinated by looking at its currency, this is not perfect but works most of the time (will not work for example for all EU countries using the same currency - this will need to be handled later on separately).
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.

1 participant