Creating and targeting templates
You can find document templates on the main panel on the tab
Extra > Document management > Templates and source files.
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718354272890/2024-06-14-10-36-52-document-management-pinya-demo-hr.png)
You must have the Document templates permission set to view the Templates and source files tab. If you do not have this permission, contact your administrator.
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718354326428/2024-06-14-10-38-15-dokument-1-word.png)
On the Templates and source files tab, you can create folders and insert the appropriate document templates into them. You create a new folder by clicking the Add folder button (1). After clicking the folder, you can upload the prepared documents - the Upload files button (2).
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718354784879/2024-06-14-10-44-41-pinya-hr-p-ehled-l-nk-p-eklady-word.png)
Uploaded document templates need to contain appropriate tokens to ensure automatic generation of documents. Instructions for inserting tokens into the documentation you can find here.
When you upload a file, you can specify what type of document it is. You can upload:
- General documentation
- Work/Law related (generated documentation)
- Onboarding e-mail attachment
- Medical examination invitation attachment
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718355140814/image.png)
You can then target the uploaded document to selected employees. Editing can be done by clicking on the pencil icon .
To target a selected group of employees, click the Select button.
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718355563002/2024-06-14-10-57-40-document-management-pinya-demo-hr.png)
The prepared templates can then be found on the worker's profile in Documents.
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718355663580/2024-06-14-11-00-25.png)
Click on the Generate documents button to display a window with a selection of all documents that target the employee.
![](https://files.helpdocs.io/ze9jsiyj6j/articles/0uej8v90r6/1718355941256/2024-06-14-11-04-05-employee-pinya-demo-hr.png)
Select the documents you want to generate for the employee, choose the Output format of the generated document, and select the category in which the generated document will be saved on the employee's profile.