Additive functionals and entrance laws