Commercial premises in Costa Rica can be leased or sold through a purchase-sale contract. According to article 79 of Law No. 7527, for the purchase and sale to be valid, it must include all the elements of the commercial establishment and be carried out according to the parameters established by the Commercial Code.
It also indicates that if the owner of the premises sells it, he must, within fifteen calendar days after the signing of the public deed, notify the assignment to the landlord and deliver a certified copy of the contract.
This is done since when selling a commercial premises, all the rights and obligations of the lease are subrogated, that is, if the seller rents the premises to a business, from the moment of sale, it ceases to be the lessor and these rights and duties are transferred to the new owner (unless otherwise agreed).