I have some bitcoins that I bought back in 2012. I am now thinking about buying a house and I'd like to cash in those bitcoins to make the downpayment of the mortgage. I understand I should pay taxes for this, but I don't know how much it would be.
I found this question, but it is for the U.S., where the tax system is very different from Spain's.