# Salary

{% hint style="danger" %}
The latest documentation is available [here](https://icehrm.com/explore/docs-category/payroll/).
{% endhint %}

## Defining Employee Salary Details

Using the IceHrm `Payroll -> Salary` section, you can add employees salary details. You need to enter the salary details under this section so when you generate the payroll report, the system will automatically generate and calculate the data.

We have three sections to do this:

* Salary Component Types
* Salary Component
* Employee Salary

### Salary Component Types

First, you can define the Salary Component Types according to your organizations payroll requirements.

Example: If the salary component is Car Allowance, you need to create a salary component type for Allowance.  &#x20;

![](/files/-MXg1WDPy7IJ5SZ_zzMb)

### Salary Component

Using salary components you can define all the component categories.

Example: For the Allowance Salary Component Type, you can create allowances categories like Car Allowance, Telephone Allowance, Laptop Allowance or Internet Allowance according to your company requirements.

![](/files/-MXg43C0JvUiv3C-BnSp)

### Employee Salary

Once you finish adding the salary components, now you can enter the salary details of each of your employees.

![](/files/-MXg4mek5rkcNLknhl9R)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://icehrm.gitbook.io/icehrm/payroll/salary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
