> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spockoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Leave Types

> Learn how to set up and configure different types of employee leave in Spock, including vacation, sick leave, and custom leave policies.

## What Are Leave Types?

Leave types categorize different kinds of employee absences, such as vacation, sick leave, parental leave, and more. Each leave type has specific conditions, entitlements, and approvals associated with it, ensuring that leave management is clear, fair, and consistent across the organization.

## Why Are Leave Types Important?

<AccordionGroup>
  <Accordion title="Enhanced Organization" icon="folder-tree">
    Clearly categorized leave types help in streamlining the approval process and provide a snapshot of who is out of office and why.
  </Accordion>

  {" "}

  <Accordion title="Policy Compliance" icon="shield-check">
    Ensures that all leave requests adhere to organizational policies and legal
    regulations.
  </Accordion>

  {" "}

  <Accordion title="Employee Satisfaction" icon="face-smile">
    Simplifies the leave request process for employees, ensuring their
    entitlements are easily accessible and fairly managed.
  </Accordion>

  <Accordion title="Operational Efficiency" icon="chart-line">
    Accurate leave tracking helps in workforce planning, reducing the risk of understaffing during critical periods.
  </Accordion>
</AccordionGroup>

## Video Tutorial

<Note>
  Watch this video to learn how to manage leave types effectively in Spock:
  [https://www.youtube.com/watch?v=pFuzULEQBlY](https://www.youtube.com/watch?v=pFuzULEQBlY)
</Note>

<Frame>
  <iframe src="https://www.youtube.com/embed/pFuzULEQBlY" title="How to manage leave types" width="100%" height="400" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
</Frame>

## How to Setup Leave Types

You can configure the following settings for each leave type:

<img src="https://mintcdn.com/ideoworks/a8M340_A1nlkx04M/images/spock-leave-type-setup.png?fit=max&auto=format&n=a8M340_A1nlkx04M&q=85&s=a4c71431c97992610bbd2b141a6b4d01" alt="Spock leave type setup screen" height="300" className="rounded-lg" data-path="images/spock-leave-type-setup.png" />

### Basic Configuration

<AccordionGroup>
  <Accordion title="1. Is Active" icon="toggle-on">
    **Purpose:** Determine whether the leave type is available for employees to request.

    **Configuration:** Toggle to activate or deactivate the leave type.
  </Accordion>

  <Accordion title="2. Name" icon="tag">
    **Purpose:** Define the name of the leave type.

    **Configuration:** Enter a clear and descriptive name (e.g., "Sick Leave", "Vacation Leave").
  </Accordion>

  <Accordion title="3. Description" icon="align-left">
    **Purpose:** Define the description of the leave type.

    **Configuration:** Specify when this leave type should be used by providing a clear and informative description (e.g., "Sick Leave" for illness-related absences, "Vacation Leave" for planned time off).
  </Accordion>

  <Accordion title="4. Color" icon="palette">
    **Purpose:** Define the color of the leave type.

    **Configuration:** Select a color for the leave type to visually identify it in the leave calendar.
  </Accordion>

  <Accordion title="5. Allow Half Days" icon="calendar-days">
    **Purpose:** Define if the leave type allows half days.

    **Configuration:** Toggle this option to allow half days for the leave type.
  </Accordion>

  <Accordion title="6. Use Discreet Name" icon="lock">
    **Purpose:** Define if the leave type uses a discreet name.

    **Configuration:** Toggle this option to use a discreet name for the leave type.
  </Accordion>
</AccordionGroup>

### Advanced Settings

<AccordionGroup>
  <Accordion title="7. Approval is required" icon="circle-check">
    **Purpose:** Specify if the leave needs to be approved by an approver.

    **Configuration:** Select whether approval is mandatory.

    <Card title="Learn about approvals" icon="clipboard-check" href="/spock/leave-management/approvals">
      Read more about how the approval process works
    </Card>
  </Accordion>

  <Accordion title="8. Allow hourly tracking" icon="clock">
    **Purpose:** Enable tracking of leaves in hours instead of full days.

    **Configuration:** Toggle this option to allow hourly tracking for more granular leave management.
  </Accordion>

  <Accordion title="9. Substitute Coverage" icon="user-group">
    **Purpose:** Configure whether and how employees assign substitutes to cover their work during absences.

    **Configuration:** Select one of three options from the **Substitute Coverage** dropdown:

    * **Don't ask for substitute:** The substitute field will not appear in leave requests
    * **Allow substitute (optional):** Employees can optionally select a substitute when requesting leave
    * **Require substitute (mandatory):** Employees must select a substitute before submitting their leave request

    <Card title="Learn about substitutes" icon="people-arrows" href="/spock/leave-management/substitutes">
      Read more about substitute management and best practices for choosing the right option
    </Card>
  </Accordion>

  <Accordion title="10. Has Allowance" icon="chart-simple">
    **Purpose:** Define if the leave type has a yearly allowance.

    **Configuration:**

    * **Enable** this feature if the leave type has a yearly allowance
    * Set the **Default Yearly Allowance** in days - the amount allocated per year to each member
    * **Allow Allowance Overrun:** Specify if employees can have a negative balance
    * **Allow Carryover:** Determine how unused leave balances carry over to the next period

    <Card title="Learn about carryover policies" icon="arrow-right" href="/spock/leave-management/carryover">
      Read our detailed Carryover Policy Guide
    </Card>
  </Accordion>

  <Accordion title="11. Monthly limit" icon="calendar-check">
    **Purpose:** Define a monthly limit for leaves when approval is not required.

    **Configuration:** Set a maximum number of days that can be taken per calendar month without needing approval.

    <Warning>
      When the monthly limit is enabled, approval for this leave type is automatically turned off. Requests within the set monthly limit do not require approval.
    </Warning>
  </Accordion>

  <Accordion title="12. Allow Slack Status Update" icon="slack">
    **Purpose:** Update the requester's status in Slack while they are on leave.

    **Configuration:**

    * Enable this feature to automatically update the requester's Slack status
    * Set the **Status Emoji** and **Text** to indicate the type of leave (e.g., 🌴 "On vacation," 🛌 "Sick Leave")
  </Accordion>
</AccordionGroup>

## Best Practices

<CardGroup cols={1}>
  <Card title="Common Leave Types" icon="list">
    * **Vacation Leave:** Annual paid time off
    * **Sick Leave:** Health-related absences
    * **Personal Leave:** Personal matters and emergencies
    * **Parental Leave:** Maternity/paternity leave
    * **Bereavement Leave:** Time off for family loss
  </Card>

  <Card title="Configuration Tips" icon="lightbulb">
    * Use clear, descriptive names
    * Set appropriate allowances based on company policy
    * Consider enabling hourly tracking for flexible arrangements
    * Configure Slack status updates for better team visibility
  </Card>
</CardGroup>

## Related Topics

<CardGroup cols={3}>
  <Card title="Approvals" icon="check-circle" href="/spock/leave-management/approvals">
    Configure approval workflows
  </Card>

  {" "}

  <Card title="Allowances" icon="calendar" href="/spock/leave-management/allowances">
    Manage leave allowances
  </Card>

  <Card title="Carryover" icon="arrow-right" href="/spock/leave-management/carryover">
    Set up carryover policies
  </Card>
</CardGroup>
