Refund and credit being created when only refund is needed

When we’re doing a refund (partial or full) it is creating both a refund and a credit into quickbooks. We are not ticking the credit box and we are entering the correct amount due by customer in that box. Can anyone assist?