Settlement and payment of taxes (capital gains, IRPF)
When you sell your property, in cases where you have made a gain on the transfer, you will have to pay the municipal capital gains tax. And, in addition, you will have to declare the gain obtained in the income tax.
In cases where you have made a loss on the transfer, you will also have to declare the loss in the income tax for the year in which you sold the property. But you will not have to pay the Tax on the Increase in Value of Urban Land (municipal capital gains tax).