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

Select Sales order > click posting> Invoice… In Post invoice form … Goto Lines (tab) and check the quantity & select Close Check box and then do invoice. it will close the quantity there itself.

Yes , the same concept is applicable for purchase also.

thank you for your post…

We don’t want to do the invoicing after Invoice Remainder and cancel the Invoice Remainder as Zero. Pls suggest …

We don’t want to do the invoicing after delivered status and cancel the Invoice Remainder (delivered as Zero). Pls suggest …

Same issue I am facing. Is any work around solution for this type of scenario?