# Creating a Template with Fixed Attributes Based on the "Invoice" Document

Fixed attributes have positions and sizes tied only to the edges of the document (scale), but not tied to specific anchors, allowing them to be freely moved within the document. Fixed attributes should only be used if in all possible samples of the document, the data required for extraction is located approximately in the same place and does not shift throughout the document.

When creating the "Invoice" template, the Template Generator recognizes all tables contained in the document. This information is displayed on the "Tables" tab.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image58-1.png" alt=""><figcaption></figcaption></figure>

If the robot will only use data from one table, the second table can be deleted. To do this, simply select the unnecessary table and click the button “![](https://sherparpa.ru/wp-content/uploads/2023/11/image59-2.png)” at the top of the "Template Generator" workspace.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image60.png" alt=""><figcaption></figcaption></figure>

The "Attributes" tab allows you to define and designate areas of the document from which data will be recognized by the robot and imported into the "Results" documents.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image61-542w316h.png" alt=""><figcaption></figcaption></figure>

For each Attribute (the highlighted area from which data will be imported), it is necessary to define the Data Type from the dropdown list. For example, for the Attribute "document date," select "Date Time."

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image62-2.png" alt=""><figcaption></figcaption></figure>

If necessary, any Attribute can be deleted or a new one added.

After completing work on the "Attributes" tab, the template is checked, and a full scan is performed. Click "Check," then "Perform Full Scan."

A "Full Scan Result" window opens, displaying the recognized data from the document in the form of a filled table. If inaccuracies are found during the check, they can be corrected at any time.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image64-2.png" alt=""><figcaption></figcaption></figure>

When selecting the data type "document date," you can additionally specify the "Value Format" manually. After that, conduct a re-check to ensure the correctness of the values.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image65.png" alt=""><figcaption></figcaption></figure>

When recognizing data from two or more tables of the processed document, the "Full Scan Result" window will display values from all tables. To view values across all tables, there is an option to switch tables in the dropdown list.

<figure><img src="https://sherparpa.ru/wp-content/uploads/2023/11/image66.png" alt=""><figcaption></figcaption></figure>
