On a surface with Euclidean ends we recover the connection (rough) Laplacian, up to isomorphism, from its scattering matrix. This problem turns out to be intimately related to the topology of the surface and we see how classical index theorems such Riemann-Roch can play a siginificant role in understanding this relationship.