> For the complete documentation index, see [llms.txt](https://docs.pockethrms.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pockethrms.com/hr-and-admin-portal/cloud-configuration/payroll/payroll-guide/lop-settings.md).

# LOP Settings

A guide to create a Credit Loss of Pay (LOP) credit setting

### Previous Month LOP Credit

The objective of this module is to Credit Loss of Pay (LOP) for the previous month, in case you deducted the same last month mistakenly.&#x20;

#### Creating LOP Credit Setting

For creating a LOP credit setting, one has to follow the path given below.&#x20;

**Step 1:** Follow the **Path: Setting> Payroll>Salary Component>Earnings**

**Step 2:** Click on the ‘+’ icon to add a component.

**Step 3:** Create all LOP credit components (Ex- LOP Cr Basic, LOP Cr HRA, LOP Cr Special, LOP Cr LTA, and more)

**Step 4:** Fill in ‘Field Name’, and ‘Label Name’, and select ‘Behaviour’ as shown in the snapshot below.

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FLP94FbsbKR7OX6scj3ng%2FSetting1.png?alt=media&amp;token=94d8b9d7-6d0e-4710-842f-15d03578c040" alt=""><figcaption></figcaption></figure>

**Step 5:** Create component LOP Credit Days, don’t select any ‘Behaviour’ as shown in the snapshot below.

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FHllgYAtpbAO6A77PzsjX%2FSetting2.png?alt=media&amp;token=4107a8c4-15e7-43aa-a270-228c67540c11" alt=""><figcaption></figcaption></figure>

**Step 6:** After the creation of All components, go to ‘Salary Structure’ and set the formula for all components.&#x20;

**Path: Setting> Payroll>Salary Structure**&#x20;

Select ‘Direct’ from the dropdown for ‘Direct or Percent’

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FTDxoDm9bZTjaVr2izUAY%2FSettings3.png?alt=media&amp;token=07427194-0399-4839-9a3f-56ac2db85522" alt=""><figcaption></figcaption></figure>

**Step 7:** Add the formula to all the LOP components as given below.&#x20;

Formula- (FB/MD) LOPCD&#x20;

(Repeat the same for all other Components)

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2Fdk8MdqckdyjsX7hz1NtQ%2FSetting4.png?alt=media&amp;token=2c7bbd18-d1be-4cb6-8e70-dacd7c3a28c7" alt=""><figcaption></figcaption></figure>

**Step 8:** After that follow the path below&#x20;

**Path: Settings > Payroll> Pay settings> LOP Days Matching**

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2Fh6cNIANSsYBtgZlopjXv%2FSettings5.png?alt=media&amp;token=95bbd8d8-26b9-46a4-97c6-0413e384d869" alt=""><figcaption></figcaption></figure>

**Step9:** Go to LOP - Components Matching&#x20;

**Path: Setting>Payroll>Pay Setting> LOP - Components Matching>Select Category>Select Lop Credit Component >Save**

Do the setting as shown in the snapshot below

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FVr10YPCLhd94QRMRidXZ%2FSetting6.png?alt=media&amp;token=d0e0d1d8-0ad3-4519-9c0a-05876220dc05" alt=""><figcaption></figcaption></figure>

**Step 10:** To Credit the LOP for the previous month, please follow the below path.&#x20;

**Path: Employee Account>Payroll>LOP Credit>Month>view>LOP Credit Days-Put days>Action- Add**

<figure><img src="https://4282324958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXep_PEmh8mDPVWj49x%2Fuploads%2FZVeDfrPrakRZhTHCcot0%2FSetting7.png?alt=media&amp;token=8111c385-f314-42e0-9550-a3f90c76fd35" alt=""><figcaption></figcaption></figure>

In this way, you can credit the loss of pay of last month to the employee account in the current month’s salary.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pockethrms.com/hr-and-admin-portal/cloud-configuration/payroll/payroll-guide/lop-settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
