Symbols and residues on surfaces