The invitation letter, is an invitation to the foreign to come to Mexico,  this letter has the information of the foreign invited to come to Mexico, and the information of the person who invited him.

The immigration autorithy can request more requirements than you mexican visa, for aprove the entrance to the country, the invitation letter is one of these requirements, It’s highly recomended have one, can save you in case the immigration officer want returns to your country.