Does anyone know if course invites expire with a certain amount of days?
I do not believe so, however, if a student does not accept the invitation you can resend it so that it appears when they log into Canvas. Here is a guide that will help:
How do I resend student invitations to a course?
Retrieving data ...