Japanese people say “Gochisousama(ごちそうさま )” to those who offered meals after meals. This is an act of expressing gratitude.
After having a meal in the restaurant, please tell the clerk “Gochisousama”. That person will answer you with a smile. “Thank you, please come again” in Japanese.