Receipt write off on AR invoice
I have an invoice of 1000 USD but the customer has made the payment of 995 USD. I am creating a receipt manually for that 995 USD and apply it to invoice of 1000 USD and also want to write off remaining 5 USD. How do I do that using write off activity as receipt amount is already consumed?