Let's resolve the error you have with your PDF viewer, @useranassurti77.
In case you're using Firefox as your browser, the built-in PDF handler doesn’t support QuickBooks Online. I suggest you switch to a PDF handler. Let me show you how:
Go to Tools or Options and select Options.
Select Applications and change Portable Document Format (PDF) to Adobe Reader or Adobe Acrobat.