Spanish Inheritance Tax (IHT) is payable depending on a number of factors: the inherited amount, the relationship between the parties involved and the level of current wealth before receiving the inheritance. Spanish IHT rates vary from 7% - 34%.
You certainly need legal advice on the matter and if you require a good solicitor in Spain, I can provide you with my solicitor's details. She is a also a barrister and is very good.