On the scattering problem for the nonlinear Schrödinger equation with a potential in 2D