The complex scalar combines the IIB axion and dilaton. Its imaginary part is for a constant background. S-duality acts by fractional linear transformations, corresponding to changes of torus basis in the M-theory torus duality.
New to topics? Read the docs here!