For a foreigner, this point should not be overlooked.
Vietnam has an official system for the temporary residence declaration of foreigners (khai báo tạm trú cho người nước ngoài), used by hosts.
The portal is managed by the Ministry of Public Security of Vietnam:
Official Temporary Residence Declaration Portal
So, ask the owner before signing if they accept and know how to carry out this procedure.