An insincere invitation. And invitation that the sender gives out of social obligation but hopes the receiver does not act on.
“Yeah Will invited me to his New Year’s party, but I know it was a glass invitation so I won’t be going. He only invited me because someone mentioned the party in front of me.”