Explicit inversion formulas for a subclass of integral operators with D-difference kernels on a finite interval are obtained. A case of the positive operators is treated in greater detail. An application to the inverse problem to recover canonical system from a Weyl function is given.