what are the legal documents for an apartment purchase?