payroll-rules-india 2.6.0 → 2.9.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.
@@ -6,7 +6,7 @@ export const overtimeHoursFixedRateRule = {
6
6
  version: "FY2024-2025",
7
7
  description: "Overtime allowance calculated at Rs.223.25 per overtime hour.",
8
8
  condition: "overtimeHours > 0",
9
- monthlyFormula: "ROUND(overtimeHours * 223.25, 2)",
9
+ monthlyFormula: "round(overtimeHours * 223.25, 2)",
10
10
  };
11
11
  export const overtimeHoursDailyWageRule = {
12
12
  ruleCode: "OT_HOURS_DAILY_WAGE",
@@ -16,5 +16,5 @@ export const overtimeHoursDailyWageRule = {
16
16
  version: "FY2024-2025",
17
17
  description: "Overtime allowance calculated as (overtimeHours / 4) multiplied by daily wages.",
18
18
  condition: "overtimeHours > 0 && dailyWages > 0",
19
- monthlyFormula: "ROUND((overtimeHours / 4) * dailyWages, 0)",
19
+ monthlyFormula: "round((overtimeHours / 4) * dailyWages, 0)",
20
20
  };
@@ -23,7 +23,7 @@ export const shiftAllowanceRuleNew = {
23
23
  annualFormula: "round(payableDays * 11.50 * 12, 2)",
24
24
  };
25
25
  export const shiftAllowanceRuleTierA = {
26
- ruleCode: "SHIFT_ALLOWANCE",
26
+ ruleCode: "SHIFT_ALLOWANCE_TIER_A",
27
27
  name: "Shift Allowance",
28
28
  category: "Earning",
29
29
  type: "Custom",
@@ -33,7 +33,7 @@ export const shiftAllowanceRuleTierA = {
33
33
  monthlyFormula: "round((dailyWages * 0.075) * shiftDays, 0)",
34
34
  };
35
35
  export const nightShiftAllowanceRuleTierB = {
36
- ruleCode: "Night Shift Allowance",
36
+ ruleCode: "NIGHT_SHIFT_ALLOWANCE",
37
37
  name: "Night Shift Allowance",
38
38
  category: "Earning",
39
39
  type: "Custom",
@@ -8,3 +8,4 @@ export declare const washingAllowanceUSWRuleTierE: Rule;
8
8
  export declare const washingAllowanceUSWRuleTierF: Rule;
9
9
  export declare const washingAllowanceUSWRuleTierG: Rule;
10
10
  export declare const washingAllowanceTierH: Rule;
11
+ export declare const washingAllowanceDailyRule: Rule;
@@ -93,3 +93,13 @@ export const washingAllowanceTierH = {
93
93
  monthlyFormula: "round(10 * payableDays, 2)",
94
94
  annualFormula: "round(10 * payableDays * 12, 2)",
95
95
  };
96
+ export const washingAllowanceDailyRule = {
97
+ ruleCode: "WASHING_ALLOWANCE_DAILY",
98
+ name: "Washing Allowance",
99
+ category: "Earning",
100
+ type: "Custom",
101
+ version: "FY2024-2025",
102
+ description: "Washing allowance calculated at Rs.41 per payable day.",
103
+ condition: "payableDays > 0",
104
+ monthlyFormula: "round(payableDays * 41, 0)",
105
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.6.0",
3
+ "version": "2.9.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",