How to have transparent (invisible) material

there was a topic within the last weeks about how to render shadows only, not the object … i can t find it … sorry.

but there is similar questions.
maybe closest:

also here with less answers

similar topics i ve found: