Under Company / Staff you mark the employee as “withdrawn”.
After the leaving date, the employee has only very limited access to 2getHR. He can still view his payslips and personal documents, e.g. employment contract, personal agreements. At the end of the year, they will also be able to download their salary statement.