Hi @Manfred_Lotz, welcome and thank you for your post, which I have moved to Questions! I have changed your post’s title from “Creating PDF/A-2 document” to “Why is my pdf file missing PDF/A-2 specific metadata?” as the question guidelines recommend this:
Good titles are questions you would ask your friend about Typst.
I also added the pdf tag, as it makes your question easier to find.
Finally, don’t forget to tick one of the responses if you got a satisfying answer. The answer you choose should usually be the response that you found most correct/helpful/comprehensive for the question you asked. Thanks!