In Spain, the debts of a deceased are inherited by their legal heirs. If the debt exceeds the value of the estate, the heirs can give up the estate and not be responsible for the debts. However, it is important to seek advice from debt lawyers.