The deposit contract is a private document in which the parties agree to reserve the purchase of real estate. In this case, the buyer makes an advance payment known as a deposit, equivalent to a percentage of the price of the flat. Subsequently, this deposit is deducted from the agreed purchase price.When paying this amount, the party wishing to acquire the property makes clear their intention to continue with the process. If both parties fail, that is, they don't buy or sell the flat, there would be a penalty.
It is regulated in Article 1454 of the Civil Code, which states that “the contract may be terminated by the buyer by foregoing the deposit, or by the seller by returning twice the deposit". In other words, the seller pays twice the penalty if they do not comply. Article 1152 of the same code may also apply: “the penalty shall replace the compensation for damages and the payment of interest in the event of non-compliance, if nothing else has been agreed”.