To buy a house in Italy it’s mandatory to get a Codice Fiscale or Fiscal Tax code together with a legal passport issued by your own country. Only with a codice fiscale you can proceed with the buying process. The codice fiscale is issued by the Agenzia delle entrate in Italy. Other than the codice fiscale you have no other obligation. You don’t need to be resident or be an italian citizen to buy a house in Italy.