We signed a long term contract for a flat eight months ago. After a few months it became apparent that the construction of the flat is not very good. We have had several issues with leaks, short circuits, lights falling from the ceiling, etc. The landlord is also the owner of the company that built the building.

While we were on vacation a pipe in our flat burst and leaked into our flat and the flat below. The landlord is now claiming that we are liable for any damages.

Is this in accordance with Spanish Law? Are we liable in Spain for a defective pipe in a flat we don't own?