In the Wikipedia article, it is stated that if two systems have the same electron density, the difference between their external potentials is a constant. The difference doesn’t have to be zero because we can shift the energy scale by a constant value.