Mmm but it is included. The ‘thereof foreign capital gain’ is included in the value Capital Gain. It is not in addition to it. For foreign securities, 100% sure. For trades on exchange like this, I do not know if this is different
See this example, is this what you expect ?