The Land Code chapter 4 section 19.
(Jordabalken 4 kap. 19§)

If the property unit does not conform to what follows from the agreement or if it otherwise deviates from what the purchaser could have justifiably anticipated at the time of the purchase, the provision in Section 12 concerning the right of the buyer to make a deduction from the purchase price or to cancel the purchase shall apply. The buyer is also entitled to compensation for damage if the defect or loss is due to neglect on the part of the seller or if at the time of the purchase the property unit deviated from what the seller must be deemed to have promised. A deviation which the buyer ought to have discovered in the course of such examination of the property unit as was occasioned by the state of the property unit, the normal state of comparable properties and the circumstances attending the purchase may not be adduced as defects.