
Tax Clarity: Supreme Court Defines the Valuation of Capital Gains on the Sale of Company Shares
In Judgment 1735/2024 of 30 October 2024, the Supreme Court established an important case-law criterion for valuing capital gains or losses for Personal Income Tax (IRPF) arising from the transfer of company shares. The central question was whether the sale of all shares in a limited company to a third party falls under the general rule in Article 37.1(b) or the special rule in Article 37.1(e) of the Personal Income Tax Law.
Case background
The dispute arose after a taxpayer sold all their shares in a limited company to a third party, generating a capital gain. The Tax Administration considered that the special rule in Article 37.1(e), concerning a shareholder’s withdrawal or the dissolution of a company, should apply, which would produce a different valuation. The taxpayer argued for the general rule in Article 37.1(b), which applies to the onerous transfer of securities not traded on regulated markets.
Supreme Court decision
The Supreme Court’s Administrative Chamber ruled that the general rule in Article 37.1(b) of the Personal Income Tax Law applies when company shares are sold to a third party. Under this provision, the capital gain or loss is calculated as the difference between the transfer value and acquisition value of unlisted securities.
The Court clarified that the special rule in Article 37.1(e) is reserved for specific situations, such as a shareholder’s withdrawal or a company’s dissolution, where the shareholder receives consideration for leaving the company. It does not apply to sales to third parties.
Implications for taxpayers
The judgment provides greater legal certainty for taxpayers selling company shares by clarifying that, except in cases of withdrawal or dissolution, the general valuation rule applies. This helps prevent mistaken interpretations by the Tax Administration that could result in undue taxation.
Recommendations for tax advisers
- Review past transactions: Review previous sales of company shares to check whether the correct valuation rule was applied and, where appropriate, consider requesting corrections.
- Keep proper documentation: Ensure transfer transactions are properly documented, clearly identifying them as sales to third parties rather than shareholder withdrawals or dissolutions, to avoid disputes with the administration.
- Provide preventive advice: Inform clients of this case law so that future transactions can be structured appropriately and adverse tax interpretations avoided.
Conclusion
Supreme Court Judgment 1735/2024 sets an important precedent for interpreting the rules on valuing capital gains for Personal Income Tax, providing clarity and legal certainty for taxpayers and tax professionals. Advisers should keep up to date with such decisions to give accurate advice and avoid unnecessary tax exposure.



I had a really urgent problem in the middle of the summer that I needed to get fixed. I tried contacting a bunch of agencies but they were either unavailable, slow, had terrible service or were crazy expensive (one company quoted me 1000€!). Josep replied to me within 10 minutes and managed to submit my forms on the deadline and all for a great price. He saved my life - 100% recommend!