Your responsible Finanzamt (local tax authority) will have sent you a letter after the company formation or the registration of your business which will show your TIN. You can also contact your Tax Advisor to ask them for this information.