Journal entries act funny in QB, best not to use them if possible
Create a service item called Dealers fee and link it to the dealer fee expense account.
Use that item on a credit memo for the customer
apply the credit memo to the invoice to clear it