Hey Howard, if I understood your question correctly you want to know whether or not quickbooks will take credits into consideration when calculating an outstanding statement balance and my answer is yes it can. However, I don’t necessarily agree with the statement that discounts should be applied to an outstanding balance that includes credits. In general, a credit is issued to a customer because they have returned product and/or a refund is due for some other reason. With that said, it is not fair to the customer to reduce their credit by applying a discount.
I hope this answers your question but if not feel free reply to this response.
Thanks for reading!
All the Best-