The properties of the near surface region in GaAs substrates doped with Sn and Te are studied after annealing in H2 flow or under controlled As overpressure. The transition regions between the bulk and the surface are formed upon such annealing. Also, the distribution of recombination centres across these transition regions is governed by defects diffused from the substrate and generated in the epitaxial layer.