How do you account for merchant account fees in payments received from clients

How do you account for merchant account fees in payments received from clients

Here's a scenario that is real for my company:

1. I send an invoice to a client for let's say $200.
2. They pay online using a credit via Stripe.
3. The actual amount deposited in to my account after merchant account fees is more like $197.50, for example.

Do I have to change the original invoice amount to $197.50 to record a full payment?
How do I account for the amount charged by stripe (or any credit card processor) of $2.50 in this example?

Thanks,
aj