Your Company Accounts and Return are due within 12 months of your accounting period.
This means that if your Year End is 31st October 2022, your Company Accounts and Return should be submitted before 31st October 2023.
Your Corporation Tax bill is usually payable within 9 months of the end of your accounting period, so if your Year End is 31st October 2022, your tax bill should be paid before 31st July 2023.