Hi Mathilda
Great to see that AlanT has been able to help you. I see that you've posted other questions as well so I'll give you this post, EOFY Resources 2021, which has links to guide you through finalising your employees through STP.
Also wanted to let you know that in the latest versions of AccountRight you don't need to close the payroll year. This means that you can process pays in the new payroll year and process adjustments/finalise STP in the previous payroll year without restoring a back up. The software will automatically select the correct financial year and tax table according to the payment date of the pay run.
Please let us know if you need further help.