Integrability conditions for differential systems