documents to be checked before buying a flat