I posted a sales invoice from a sales order using the prepayment method with prepayment treated as deferred revenue. Later I came to know that the order was a duplicate order. I used prepayment sales credit memo from the sales order to negate the invoice amount due. I ran a preview of the posting and the GL entries looked right (Credit AR and Debit Deferred Payment). Customer leger reflects the negation but the posted sales invoice shows a remaining amount that is same as the original prepayment invoice amount. How to fix this?
Any help in this regard will be greatly appreciated.