Meaning : A request (spoken or written) to participate or be present or take part in something.
Example :
An invitation to lunch.
She threw the invitation away.
Meaning : A tempting allurement.
Example :
She was an invitation to trouble.