After having any meals or drinks,
[gochiso sama deshita]
You can say this ご馳走様でした [gochiso sama deshita]
when you leave the restaurant or the bar to show your appreciation to the chef,
the waiter and the waitress or to the person who treated you for food or drinks.
It could be the sign for them that you want to get the bill and they could tell
you are leaving the place.
They will be so happy to hear this phrase, so please say it when you visit any kind of food places
and leaving there or after eating your food!