1. Add a new transfer to that pharmacy.
2. In the quantity field enter a – (minus) then the quantity and then complete the transfer as normal.
This will add the stock back into your SOH, and there will be a negative transfer to pay in Receivables.
3. Both the incorrect transfer and the transfer reversal can be marked as paid immediately.