Towing hitch and type-approval of trailers

Hello, did someone have experience with something like this, maybe even built something like that and get it through the Tüv? What do I have to pay attention to when welding a trailer coupling so that the Tüv can get it to me. Would it be better to attach it to the rear wheel swinger or to the mounts for the Sozius footrests? And how bad is it to get an operating permit for a self-made trailer? Are brake/back/blink and license plate lights, the maximum width and Weight limits the only specifications or is there more to consider? Unfortunately, you can’t buy finished trailers for motorcycles in Germany, so I have to build it myself. Thank you very much in advance.