If you are a resident of Spain you will be liable for income and capital gains tax on your world-wide assets and subject to Spanish succession tax (inheritance and gifts tax) rules. This is in addition to other incidental tax liabilities such as IVA (VAT) and local taxes. It is worth noting that gifts tax and inheritance tax in Spain are payable by the receiver of the gift or inheritance.