I tried creating a credit memo against an invoice but didn't encounter an error. Let’s go ahead and try to access your QuickBooks Online company through an incognito or a private browser. This method will help you isolate the issue because this doesn’t store data in the cache.
Google Chrome: Ctrl + Shift + N
Internet Explorer & Mozilla Firefox: Ctrl + Shift + P