Can I put the taxes paid to Germany for my German pension received on a certain Line?

I am a Canadian citizxen.