Credit booked as sales

Credit booked as sales

When I bill customers, sometimes I record a payment to the invoice from the customer's credit balance with us.

In this case, the credit applied to the invoice is recorded as "sales" in the sales reports.

This is not right.