Foreigners need a passport and a Portuguese IIN (issued by the tax office). You will also need to open an account in one of the banks in Portugal to transfer money to the seller of the property.