Hi

If I have an agreement with my creditor to pay 30 days less 2.5% (settlement discount) and I deduct the discount, make the payment and then return some goods, do I reverse the discount and pay that amount to the supplier?

This doesn't make sense to me, I take my discount on payment because I am a good payer.
The creditor should only credit me the amount I have paid.

Please could someone assist with reference to accounting standards.

Thank you