# Payroll management

Some conditions are applied before adding a payroll

1. Only the admin can add payroll & other users can view only their payroll.
2. **Reference no**. will be generated for Payroll. You can change the Payroll Reference No. a prefix from settings.

#### Adding Payroll

1. For adding payroll click on the Add button in the payroll menu.
2. Select Employee and the month/year of payroll.
3. If any existing payroll is for the period then it will be shown for editing or new payroll can be added.
4. Fields:
   1. **Total work duration**: Duration of work will be auto-calculated based on attendance
   2. **Duration Unit**: Unit of work like month/hour/week or other.
   3. **Amount per unit duration**: Price per duration.
   4. **Total**: Total work duration **x** Amount per unit duration
   5. **Allowances**: add as many allowances as you have for the employee. Allowances will be added to the final payroll.
   6. **Deductions**: add deductions for the employee. Deductions will be subtracted from the final payroll.
5. **Gross amount** = Total + Sum of Allowances – Sum of Deductions
6. An inbuilt app Notification will be sent to the user when payroll is added.

#### Editing Payroll

To edit a payroll, click on the ‘All payroll groups’ tab -> Action -> Edit

#### Making Payment for Payroll:

To make a payment for a particular payroll, Go to Payroll -> All payroll groups.

Click on the action button -> Payment

<figure><img src="/files/ytxZZZro1pRcsxLD0y5w" alt=""><figcaption></figcaption></figure>

#### Making Partial Payment for Payroll:

If you want to add a partial payment payroll for all employees or a group of employees follow the step below.

* [ ] Step 1: Navigate to the Payroll section and select the “**All Payroll Payment**” tab.
* [ ] Step 2: Click on “**Actions**” and choose “**Add Payment**” for the specific payroll you want to make payment for.
* [ ] Step 3: You’ll be directed to the payment screen, where you can enter the required amount.
* [ ] Step 4: Click “**Save**” to confirm the partial payment.
* [ ] Step 5: If you wish to add the remaining amount later, repeat the same steps mentioned above.

{% hint style="danger" %}
**NOTE**: While adding payroll payments, you can include payment notes. For instance, if you’re making the first due payment, mention it in the payment notes.
{% endhint %}

#### Adding Bulk Payroll and Bulk Payment for Payroll:

If you want to add a bulk payroll for all employees or a group of employees follow the step below.

For example: If you have 100 employees then you need to enter 100. You should have a bulk pay option.

While adding payroll, select all the employee names for bulk payment.

After adding the payroll, go to the ‘**All Payroll Groups**‘ tab where you can find the payroll as a group to add the bulk payment.

#### Adding Bonus in Payroll:

While adding a payroll, add a description “bonus” and add the bonus amount.

This way you can add the bonus amount to the payroll.


---

# 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://docs.kbgfuzion.com/erp/knowledge-base/modules/hrm-module/payroll-management.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.
