Here is how to generate a list of work permits and their expiry date.
Go to data extraction :

Enter the following text in the window and the title of the report:

Test by clicking on the gear wheel :

The result looks like this:

Close this window and save the request:


File to copy/paste the text here :