Evictions in Spain have an game change by Ley 37/2011 in order to speed-up the process for removing a tenant from a property - or eviction.
If there is no response from the tenant then the landlord may apply to court for an eviction order. Within that application, the landlord may offer the tenant the possibility of a cancellation of any outstanding rent as long as the tenant leaves the property within a certain period of time (which may not be less than 15 days).
At the same time a date is set by the court for eviction to take place unless there is an action by the tenant, such as payment of all outstanding rent, that would stop the eviction process. The tenant is give a period of 10 days to pay the rent or the eviction will take place.
It is also possible of course that the tenant opposes the eviction on some other grounds, in which case, the matter goes to a full hearing.
Before the court case begins, the eviction proceedings can be stayed by payment of the outstanding rent, assuming that it is the first time that eviction proceedings have been brought against the tenant by the landlord.
Upon obtaining a court order for eviction of a non-paying tenant and payment of the outstanding sums, the landlord may also seek the costs of the proceedings and any sums owed under contractual terms that provide for extra payments if the rent is delayed.