a molecule with dipole(s) needs a center of symmetry not to have an overall dipole moment.
Center of symmetry
A molecule has a center of symmetry when, for any atom in the molecule, an identical atom exists diametrically opposite this center an equal distance from it. There may or may not be an atom at the center. Examples are xenon tetrafluoride (XeF4) where the inversion center is at the Xe atom, and benzene (C6H6) where the inversion center is at the center of the ring.