‍To get an official visa invitation letter, you should request it from a legitimate entity in Germany relevant to your purpose of visit. For instance, if it's for business, the inviting company or organization should issue the letter. If it's for tourism, family, or medical purposes, contact your host residing in Germany to prepare the letter for you.