> 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/setting/leave/yearly-leave-limit-for-compensatory-off.md).

# Yearly leave limit for compensatory off

### Yearly Cap on Compensatory Leave

A new control is added in **Leave Configuration** for **Compensatory Off (Comp-Off)**. It lets admins set the maximum number of Comp-Off leaves an employee can take in a year.

* A setting defines: *“Maximum \[x] leaves of this type allowed in a year.”*
* Example: If set to 5, employees can apply for only 5 Comp-Off leaves in that financial year.
* Once the limit is reached, the system blocks further requests and shows: *“Leave limit is exceeded. Allowed yearly limit is: 5.”*
* This check happens in real time while submitting leave requests.

### How to Set Maximum Limit for Compensatory Leave?

To set the maximum compensatory leave limit, follow the path below:

**Path:** Cloud Login > Settings > Leave > Leave Configuration > Leave type > Comp off > Select Maximum leave, fill other details > Save.

**Step 1:** Login to cloud portal, go to ‘Settings menu, and select ‘Leave’ tab.

![](/files/FPVrMdeb1GHA7Yrx1ekK)

**Step 2:** Under it select ‘Leave Configuration’ option, and from the ‘Leave Type’ drop-down, select ‘Comp off’

![](/files/5ndSKQ0VoE833QjTqZZn)

**Step 3:** Scroll down to select maximum leave, and set it as per your requirement, fill other details as per your need, then click on ‘Save’.

![](/files/UYsAFO9e8mi3v2uUTp56)

![](/files/1ehf0IdycAkvc2432Ici)

**Link:** <https://pockethrmsnext.pockethrms.com:8341/Settings/Employee/Index?module=leave&submodule=leaveconfiguration>

For any queries, contact <support@pockethrms.com>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.pockethrms.com/hr-and-admin-portal/cloud-configuration/setting/leave/yearly-leave-limit-for-compensatory-off.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
