Yep, there needs to be an invitation.
No. If it is a state funeral, the State is involved. And Trump is the head of the state.