Inviting Friends for Meals

Inviting friends to your house for meals, even on Shabbat and Jewish festivals, is not hachnasat orchim--unless the friends do not have food or a place to sleep. But inviting friends for meals may qualify as other mitzvot.