Customer pays invoice ($500.00) with credit card. A third party vendor charges $5.00 to process the payment so only $495.00 gets deposited into your bank account. You need to record the payment and the fee for processing it without leaving a balance for the customer.
Step 1: Create an Expense account for discount.
Note: Skip this step if you have an existing discount account you can use for this type of transaction.
Step 2: Apply a discount to the customer payment.