On compatibility conditions for singular surfaces