> For the complete documentation index, see [llms.txt](https://athome-1.gitbook.io/athome-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://athome-1.gitbook.io/athome-docs/management/contract.md).

# Contracts

GLPI supports contracts management, in order to manage contract types such as loan, maintenance, support...

Contracts management allows to:

* make an inventory of all contracts related to the organization assets
* integrate contracts in GLPI financial management
* anticipate and follow contract renewal.

![Main fields of a contract](https://2965217165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk8u0TPogHtiUd7DaQyf%2Fuploads%2Fgit-blob-8de41425fde7f80bf214d48dd6a5d167d6daef84%2Fcontract-view.png?alt=media)

* To add a new contract, click on **+ Add** at the top of the screen

{% hint style="success" %}
You can use [template](broken://pages/urokXpwsBqN6OGeviODc) to add a new contract
{% endhint %}

{% hint style="info" %}
It is possible to receive notifications in order to be informed of events such as contract end. When contract must be renewed expressly, it is useful to be notified before end of contract. For periodic contracts, it is also possible to be notified at the end of each period. Notifications are configured at entity level, in menu **Setup > Notifications** to define models and destination and in menu **Administration > Entities** to enable notification, define default values and a possible anticipation of notification.
{% endhint %}

## Description of specific fields

* **Contract type**: by default, no contract type is defined, contract types must be configured in drop-down configuration;
* **Number**: contract number;
* **Start date**: date at which contract starts, all periodicity based events are computed using this date;
* **Initial contract period**: if this field and start date are given, contract end date will appear, colored in red if contract has expired;
* **Notice**: used to trigger alert notifications;
* **Account number**: used to connect with company accounting software;
* **Contract renewal period**: duration after which contract renewal is available;
* **Invoice period**: duration between invoices;
* **Renewal**: *Tacit* (the contract is automatically renewed if no party has ended it) or *Express* (needs agreement for renewal);
* **Max number of items**: attaching new items to this contract will be blocked when overflowing this number;
* **Support hours**: support hours as defined in the contract, it is possible to distinguish week days, Saturdays and Sundays/holidays.

***

## Costs

This tab allows to define a cost related to the contract and linked to a GLPI budget: the cost of the contract will be imputed to this budget.

![A cost associated to a contract](https://2965217165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk8u0TPogHtiUd7DaQyf%2Fuploads%2Fgit-blob-293a596be6e90edb94317d04f72d996d34bc74c5%2Fcost%20\(2\).png?alt=media)

* To add cost, click on **Add a new cost**
* Enter a **name**
* The **start** and **end dates** of the costs covered by the contract
* If a **budget** has already been created, select it from the list, otherwise go to [budget](/athome-docs/management/budgets.md)
* Enter the real cost

All the costs you add will be visible and added together in this same tab.

![total cost of expenses](https://2965217165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBk8u0TPogHtiUd7DaQyf%2Fuploads%2Fgit-blob-51fb5e1a88ef2115720eebdb03211e0a27b1b772%2Fcost-total.png?alt=media)

***

## Suppliers

This tab allows to associate one or several suppliers to the contract.

<a href="/athome-docs/management/suppliers.md" class="button secondary">Go to Suppliers</a>

***

## Items

The Items tab is used to show or add linked assets.

<a href="/athome-docs/tabs/item.md" class="button secondary">Go to Items</a>

***

## Documents

The document tab lets you link different types of file to a material (PDF, txt, png, etc.) You can attach a document already uploaded to GLPI or add a new one directly from this tab.

<a href="/athome-docs/tabs/documents.md" class="button secondary">Go to Documents</a>

***

## Links

Links offer several possibilities. Send the GLPI object file to another URL of your choice, or generate an RDP file, for example.

<a href="/athome-docs/assets/tabs/links.md" class="button secondary">Go to Links</a>

***

## Notes

Note lets you add enriched text and attach a document.

<a href="broken://pages/XipgLcc0ZI9rHIHkMeM7" class="button secondary">Go to Notes</a>

***

## History

The *History* tab is used to show any changes made to an item. The following information about the changes is available:

* ID of the change.
* Date and time the change was made.
* User who made the change. If this field is not filled, it means that the action was done automatically (For example: automatic inventory update).
* Field that was changed.
* Description of the change that was made.

The description of the change represents either the difference between the old and the new value (For example with location field: Change HQ to Remote Office A), or the explanation of the action which was carried out (For example: Uninstallation of a software: "Gimp 2.0").

{% hint style="info" %}
For dropdowns or objects with a parent/child relationship, the modification of a child will appear in the history of the parent element.
{% endhint %}

***

## All Information

For an item, all information is displayed on one page from the *All* tab. This shows all of the tabs of an object's form in one view, one below the other.
