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 support for Lowest-Cost In, First Out (ie. Highest-Tax First-Out, HTFO) for a specific Financial Year #118

Closed
quocodilian opened this issue Jun 5, 2024 · 2 comments

Comments

@quocodilian
Copy link

It would be great if crypto tax software could do the following:
Add support for Lowest-Cost In, First Out (ie. Highest-Tax First-Out, HTFO) for a specific Financial Year.

Rationale:
You might not have worked much in a particular Financial Year ("FY") (that's what we call it here in Australia), and so your taxable income for that FY may be unusually low.

You might prefer to specify that the crypto tax software matches "sell" transactions to lowest-cost "buy" transactions first, to maximise your capital gains / taxes from your crypto (and other investment-) transactions for that FY.

So for that FY, you pay more tax on your crypto (& other) investments than you could.

But you save the highest-cost "buy" transactions for future financial years where you worked much more and you are in a much higher tax bracket. So the overall effect should be: You pay much less tax by using this HTFO accounting method in those years where you worked much less.

This is especially true if you are several years behind in your tax compliance and need to catch up.. and in some financial years you worked a lot and in 1 or 2 FYs, you worked very little.

Ps. I've checked Syla and Koinly crypto tax software; neither of them support HTFO. I don't think any of the crypto tax software does.
This is probably just a "very nice to have" option.
I may opt to just use Syla and pay for it.. I don't really have time to try to write a quick & dirty software to allow LTFO or HTFO accounting methods for specific financial years :(

Anyways, just my two cents.

Thanks!
Huey

@eprbell
Copy link
Owner

eprbell commented Jun 5, 2024

RP2 currently supports FIFO, LIFO and HIFO, but more accounting method plugins can always be added as people see fit. Feel free to take a look at the technical documentation for plugin programming.

@eprbell
Copy link
Owner

eprbell commented Jul 18, 2024

After refactoring the accounting method architecture, I added support for this: it's called LOFO (lowest in, first out). See documentation and implementation.

@eprbell eprbell closed this as completed Jul 18, 2024
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

No branches or pull requests

2 participants