Use or recognize “Danke für den angenehmen Aufenthalt.” in a practical accommodation situation. Its English meaning here is “Thank you for the pleasant stay”.