You must then submit the application by the deadline date.
After the expiry of a visa or non-visa residence, they are obliged to submit the application for a temporary-residence permit.