how to refund the remaining receipt amount, after applying a standard invoice through api
i have sales order xyz which has amount 70 . i have paid 100 as prepayment
so now I have 100 rupees receipt amount, i have applied to a invoice against the sales order invoice which is having 70 rupees.
so remaining 30 rupees i need to refund.
but now my receipt status is in applied status.
so how to UN-apply only prepayment line.