Well, yes, it is an invitation. But NATO didn't let the Ukraine join, that was blocked by at least Germany. And on during his visit in Moscow, Chanceller Scholz basically offered Putin that Ukraine joining into NATO could be very far in an undetermined future.
https://www.nato.int/cps/en/natolive/official_texts_8443.htm
This is on NATO's website from 2008 meeting. How is "welcomes" not be interpreted as an invitation?