Yes, the employer has the right to deduct any debt owed to them by the worker from the amounts owed as stated in Article (87) of the Labor Law.