payroll-rules-india 2.4.1 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,3 +34,4 @@ export * from "./quarterRentRules";
34
34
  export * from "./extraBasicRule";
35
35
  export * from "./dearnessAllowanceRules";
36
36
  export * from "./otherDeductionsRule";
37
+ export * from "./overTimesRule";
@@ -34,3 +34,4 @@ export * from "./quarterRentRules";
34
34
  export * from "./extraBasicRule";
35
35
  export * from "./dearnessAllowanceRules";
36
36
  export * from "./otherDeductionsRule";
37
+ export * from "./overTimesRule";
@@ -3,3 +3,4 @@ export declare const mobileAllowanceRule: Rule;
3
3
  export declare const mobileAllowance500Rule: Rule;
4
4
  export declare const mobileAllowanceRuleTierB: Rule;
5
5
  export declare const mobileAllowanceMonthlyProratedRule: Rule;
6
+ export declare const mobileAllowaceTierC: Rule;
@@ -44,3 +44,14 @@ export const mobileAllowanceMonthlyProratedRule = {
44
44
  monthlyFormula: "round((1250 / workingDaysInMonth) * payableDays, 0)",
45
45
  annualFormula: "round((1250 / workingDaysInMonth) * payableDays, 0)",
46
46
  };
47
+ export const mobileAllowaceTierC = {
48
+ ruleCode: "MOBILE_Allowance_TIER_C",
49
+ name: "Mobile Allowance (MB) - ₹8.93 per day",
50
+ category: "Earning",
51
+ type: "Custom",
52
+ version: "FY2024-2025",
53
+ description: "Mobile Allowance = 8.93 * payable days",
54
+ condition: "payableDays > 0",
55
+ monthlyFormula: "round(8.93 * payableDays, 2)",
56
+ annualFormula: "round(8.93 * payableDays, 2)",
57
+ };
@@ -0,0 +1,3 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const overtimeHoursFixedRateRule: Rule;
3
+ export declare const overtimeHoursDailyWageRule: Rule;
@@ -0,0 +1,20 @@
1
+ export const overtimeHoursFixedRateRule = {
2
+ ruleCode: "OT_HOURS_FIXED",
3
+ name: "Overtime Hours Allowance",
4
+ category: "Earning",
5
+ type: "Custom",
6
+ version: "FY2024-2025",
7
+ description: "Overtime allowance calculated at Rs.223.25 per overtime hour.",
8
+ condition: "overtimeHours > 0",
9
+ monthlyFormula: "ROUND(overtimeHours * 223.25, 2)",
10
+ };
11
+ export const overtimeHoursDailyWageRule = {
12
+ ruleCode: "OT_HOURS_DAILY_WAGE",
13
+ name: "Overtime Hours Allowance",
14
+ category: "Earning",
15
+ type: "Custom",
16
+ version: "FY2024-2025",
17
+ description: "Overtime allowance calculated as (overtimeHours / 4) multiplied by daily wages.",
18
+ condition: "overtimeHours > 0 && dailyWages > 0",
19
+ monthlyFormula: "ROUND((overtimeHours / 4) * dailyWages, 0)",
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.4.1",
3
+ "version": "2.6.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",