Sorry to take so long to respond to this question. I’ve been bogged down in the launch of a new look for this website, which has taken up a lot of time. I hope regulars notice the change and like it.
Anyway, you’ll find the answer to your question at the start of Raymundo’s excellent guide (in two parts) to Inheritance Tax in Spain.