Remove Invoice remainder quantity from sales order

In microsoft dynamics AX --> account receivable 
Sales order is 25 quantities, Invoice 22.86 and delivered 24.40. How I can remove invoice reminder 1.54. It will not going with cancel quantity. 
Another case quantity is 24, delivered 22.31 and invoice remainder 22.31. How remove invoice remainder