Welcome to the Community, @mariestaub2. I'd be happy to help you with turning off this feature.
Here's how to stop credits from automatically being applied in QuickBooks Online (QBO):
For additional information on customer credits, I recommend the following article: Enter and apply a credit memo or delayed credit.
As always, I'm just a post away if need further assistance with invoicing or any other topic. Have a great day.