You will have to complete the year-end tasks in QuickBooks Online. This is to prepare your books for the new year. You'll want to check out the guides in this article to end the year smoothly: QuickBooks Online year-end guide and checklist.
When it's time to close the books, you can follow these steps:
Go to the Gear > Accounts and Settings.
On the left panel, click the Advanced tab.
In the Accounting section, put a check mark on the Close the books box.
Enter a closing date. Give yourself a comfortable deadline. You shouldn't need to edit any transactions before this date. Your new bookkeeping work will start after this point.
Select the Allow changes after viewing a warning and entering a password option from the drop-down menu if you want to require a password before editing your closed books.
Hit Save and then Done.
Please see this sample screenshot for a visual guide: