Use this after receiving or accepting an invitation. Example: “Danke für die Einladung.” — “Thanks for the invitation.”