As you cross the border, the immigration office is in the blue SAT Aduanas building on the right.