payroll-rules-india 2.12.3 → 2.12.5

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.
@@ -4,3 +4,4 @@ export declare const conveyanceFixed1600Rule: Rule;
4
4
  export declare const conveyanceDaily23Rule: Rule;
5
5
  export declare const conveyanceDaily75Rule: Rule;
6
6
  export declare const conveyanceDailyRateRule: Rule;
7
+ export declare const conveyanceFixed1980Rule: Rule;
@@ -57,3 +57,14 @@ export const conveyanceDailyRateRule = {
57
57
  monthlyFormula: "round(payableDays * 31.255, 2)",
58
58
  annualFormula: "round(payableDays * 31.255, 2)",
59
59
  };
60
+ export const conveyanceFixed1980Rule = {
61
+ ruleCode: "CONVEYANCE_FIXED_1980",
62
+ name: "Conveyance Allowance - Fixed ₹1980",
63
+ category: "Earning",
64
+ type: "Custom",
65
+ version: "FY2024-2025",
66
+ description: "Conveyance Allowance = (1980 rupees / no. of working days in month) * payable days",
67
+ condition: "workingDaysInMonth > 0 && payableDays > 0",
68
+ monthlyFormula: "round((1980 / workingDaysInMonth) * payableDays, 2)",
69
+ annualFormula: "round(((1980 / workingDaysInMonth) * payableDays) * 12, 2)",
70
+ };
@@ -3,4 +3,4 @@ export declare const esiRule: Rule;
3
3
  export declare const ESI_Employee_On_Basic: Rule;
4
4
  export declare const ESIRuleOnBasic: Rule;
5
5
  export declare const ESI_Employee_On_BasicPlusDA: Rule;
6
- export declare const leaveAllowanceBasicPlusDARule: Rule;
6
+ export declare const CONSTANTZEROESI: Rule;
@@ -41,14 +41,14 @@ export const ESI_Employee_On_BasicPlusDA = {
41
41
  monthlyFormula: "round(basicPlusDA * 0.0075, 2)",
42
42
  annualFormula: "round(basicPlusDA * 0.0075 * 12, 2)",
43
43
  };
44
- export const leaveAllowanceBasicPlusDARule = {
45
- ruleCode: "LEAVE_ALLOWANCE",
46
- name: "Leave Allowance - 5% of Basic + DA",
47
- category: "Earning",
48
- type: "Custom",
44
+ export const CONSTANTZEROESI = {
45
+ ruleCode: "FIXED_ZERO_ESI",
46
+ name: "ESI Employee Fixed to Zero",
47
+ category: "Deduction",
48
+ type: "Statutory",
49
49
  version: "FY2024-2025",
50
- description: "Leave Allowance = 5% of (Basic + DA)",
51
- condition: "basicPlusDA > 0",
52
- monthlyFormula: "round(basicPlusDA * 0.05, 0)",
53
- annualFormula: "round(basicPlusDA * 0.05 * 12, 0)",
50
+ description: "Employee ESI Fixed to 0",
51
+ condition: "true",
52
+ monthlyFormula: "0",
53
+ annualFormula: "0",
54
54
  };
@@ -1,3 +1,4 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const leaveBasic5Rule: Rule;
3
3
  export declare const leaveBasic4_8Rule: Rule;
4
+ export declare const leaveAllowanceBasicPlusDARule: Rule;
@@ -22,3 +22,14 @@ export const leaveBasic4_8Rule = {
22
22
  monthlyFormula: "round(basic * 0.048, 2)",
23
23
  annualFormula: "round(basic * 0.048 * 12, 2)",
24
24
  };
25
+ export const leaveAllowanceBasicPlusDARule = {
26
+ ruleCode: "LEAVE_ALLOWANCE",
27
+ name: "Leave Allowance - 5% of Basic + DA",
28
+ category: "Earning",
29
+ type: "Custom",
30
+ version: "FY2024-2025",
31
+ description: "Leave Allowance = 5% of (Basic + DA)",
32
+ condition: "basicPlusDA > 0",
33
+ monthlyFormula: "round(basicPlusDA * 0.05, 0)",
34
+ annualFormula: "round(basicPlusDA * 0.05 * 12, 0)",
35
+ };
@@ -5,3 +5,4 @@ export declare const mobileAllowanceRuleTierB: Rule;
5
5
  export declare const mobileAllowanceMonthlyProratedRule: Rule;
6
6
  export declare const mobileAllowaceTierC: Rule;
7
7
  export declare const mobileAllowaceTierD: Rule;
8
+ export declare const mobileAllowanceTierARule: Rule;
@@ -66,3 +66,14 @@ export const mobileAllowaceTierD = {
66
66
  monthlyFormula: "round(56.94 * payableDays, 2)",
67
67
  annualFormula: "round(56.94 * payableDays, 2)",
68
68
  };
69
+ export const mobileAllowanceTierARule = {
70
+ ruleCode: "MOBILE_ALLOWANCE_TIER_A",
71
+ name: "Mobile Allowance TIER A",
72
+ category: "Earning",
73
+ type: "Custom",
74
+ version: "FY2024-2025",
75
+ description: "Mobile allowance = (550 / workingDaysInMonth) * payableDays",
76
+ condition: "payableDays > 0 && workingDaysInMonth > 0",
77
+ monthlyFormula: "round((550 / workingDaysInMonth) * payableDays, 0)",
78
+ annualFormula: "round((550 / workingDaysInMonth) * payableDays, 0)",
79
+ };
@@ -2,3 +2,4 @@ import { Rule } from "../../utils/types";
2
2
  export declare const pfBasicRule: Rule;
3
3
  export declare const employeePfRule: Rule;
4
4
  export declare const employeePfBasicRule: Rule;
5
+ export declare const CONSTANTZEROPF: Rule;
@@ -32,3 +32,14 @@ export const employeePfBasicRule = {
32
32
  monthlyFormula: "round(basic * 0.12, 0)",
33
33
  annualFormula: "round(basic * 0.12, 0) * 12",
34
34
  };
35
+ export const CONSTANTZEROPF = {
36
+ ruleCode: "FIXED_ZERO_PF",
37
+ name: "PF Employee Fixed to Zero",
38
+ category: "Deduction",
39
+ type: "Statutory",
40
+ version: "FY2024-2025",
41
+ description: "Employee PF Fixed to 0",
42
+ condition: "true",
43
+ monthlyFormula: "0",
44
+ annualFormula: "0",
45
+ };
@@ -9,3 +9,4 @@ export declare const washingAllowanceUSWRuleTierF: Rule;
9
9
  export declare const washingAllowanceUSWRuleTierG: Rule;
10
10
  export declare const washingAllowanceTierH: Rule;
11
11
  export declare const washingAllowanceDailyRule: Rule;
12
+ export declare const washingAllowanceTierI: Rule;
@@ -103,3 +103,14 @@ export const washingAllowanceDailyRule = {
103
103
  condition: "payableDays > 0",
104
104
  monthlyFormula: "round(payableDays * 41, 0)",
105
105
  };
106
+ export const washingAllowanceTierI = {
107
+ ruleCode: "WASHING_ALLOWANCE_TIER_I",
108
+ name: "Washing Allowance – Tier I",
109
+ category: "Earning",
110
+ type: "Custom",
111
+ version: "FY2024-2025",
112
+ description: "Washing Allowance = (604 / workingDaysInMonth) * payableDays",
113
+ condition: "payableDays > 0 && workingDaysInMonth > 0",
114
+ monthlyFormula: "round((604 / workingDaysInMonth) * payableDays, 2)",
115
+ annualFormula: "round(((604 / workingDaysInMonth) * payableDays) * 12, 2)",
116
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.12.3",
3
+ "version": "2.12.5",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",