KapJI / capital-gains-calculator

UK capital gains tax calculator which supports transaction history from different brokers
MIT License
112 stars 42 forks source link

Add basic support for cash merger transactions (Schwab only) #532

Closed vmartinv closed 1 month ago

vmartinv commented 1 month ago

This is a rudimentary implementation to handle cash merger transactions (i.e. when a company is acquired by another one). In these events the shares of the original company cease to exist and the investor can receive cash and shares from the new company in return.

In my case I only received cash, this case in simpler in that it is just like a normal sell event, which is what I implemented here. When you also receive shares, the calculation is more complex and there's an election on how you want it to be taxed. I can't implement this as I don't have any past experience or data for it but more details are given in the HRMC guidance: https://www.gov.uk/guidance/capital-gains-tax-share-reorganisation-takeover-or-merger#shares-and-cash

Implementation

KapJI commented 1 month ago

Thanks for implementing this!