There are no any customs control on Polish-German border and not even passport control.
Both countries are European Union members and Schengen treaty members.
I visit Germany and the Netherlands without any passport, just hold identification like drive licence.