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

Support for ireland #122

Merged
merged 8 commits into from
Jun 18, 2024
Merged

Support for ireland #122

merged 8 commits into from
Jun 18, 2024

Conversation

advidb
Copy link

@advidb advidb commented Jun 16, 2024

No description provided.

@eprbell
Copy link
Owner

eprbell commented Jun 16, 2024

Thanks for adding support for Ireland! I will review shortly.

Copy link
Owner

@eprbell eprbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for working on it! Here are a few general comments that didn't belong with the rest of the code in this PR:

#
msgid ""
msgstr ""
"Project-Id-Version: rp2 1.4.2\n"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Project version seems old: should be 1.5.1.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated now

@@ -0,0 +1,54 @@
# Copyright 2021 eprbell
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The year should be 2024 (year of creation of this file). Also use your name in the copyright line (by convention throughout the repo new files use the name of the creator).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated now

@@ -0,0 +1,199 @@
# Copyright 2021 eprbell
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: year and author.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated now

src/rp2/plugin/report/ie/tax_report_ie.py Show resolved Hide resolved
@@ -0,0 +1,188 @@
# Copyright 2022 Neal Chambers
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above: year and author.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Owner

@eprbell eprbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great: ready to merge!

@@ -60,7 +60,8 @@ Another unique advantage of RP2 is [transparent computation](https://github.com/
RP2 currently supports the following accounting methods:
* US: [FIFO](https://www.investopedia.com/terms/f/fifo.asp), [LIFO](https://www.investopedia.com/terms/l/lifo.asp) and [HIFO](https://www.investopedia.com/terms/h/hifo.asp). Note that these methods use universal application (not per-wallet application), as explained [here](https://www.forbes.com/sites/shehanchandrasekera/2020/09/17/what-crypto-taxpayers-need-to-know-about-fifo-lifo-hifo-specific-id/);
* Spain: FIFO;
* Japan: Total Average Method.
* Japan: Total Average Method;
* Ireland: FIFO. In Ireland specific rules apply to assets bought and sold within a 4 week window. See [here](https://www.revenue.ie/en/tax-professionals/tdm/income-tax-capital-gains-tax-corporation-tax/part-19/19-04-03.pdf) and [here](https://www.revenue.ie/en/gains-gifts-and-inheritance/transfering-an-asset/selling-or-disposing-of-shares.aspx). Note that this is **NOT** catered for.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting: perhaps this could be handled (in a separate PR) with a new Ireland-specific accounting method plugin, a variation of FIFO that treats specially lot fractions that are sold within 4 weeks of the last purchase.

src/rp2/plugin/report/ie/tax_report_ie.py Show resolved Hide resolved
@eprbell eprbell merged commit 907bf6b into eprbell:main Jun 18, 2024
19 checks passed
@advidb
Copy link
Author

advidb commented Jun 18, 2024

Great, thanks!

@eprbell
Copy link
Owner

eprbell commented Jun 18, 2024

Great, thanks!

Thank you for the good work!

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.

3 participants