LeaveBalance Pro

Smart Annual Leave Management for Part-Time Employees

Part-Time Annual Leave Calculator

JWT Authentication

Secure user context from JWT tokens with automatic org scoping

Pro-Rata Calculations

Automatic pro-rating based on start date and FTE for fair allocation

Service Year Scaling

Progressive allocation based on years of service with configurable bands

REST API Endpoint

POST /api/leave/annual/part-time/recalculate

Request

{
  // No body required
  // Uses JWT context
}

Response

{
  "leaveBalance": {
    "annualLeave": {
      "allocated": 8.4,
      "used": 3,
      "pending": 2,
      "balance": 3.4
  },
  "meta": {
    "year": 2025,
    "effectiveFte": 0.6
  }
}
Module Ready for Integration