As per Ms. Liby there are invoices with the wrong qty. This is because of the existing script. So what we did was check and modify the script and add more conditions in joining statement. Then check the invoices with variance. The new condition did work and hopefully will not be encountered any issue regarding this. 