payroll-rules-india 2.3.0 → 2.4.1

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.
@@ -7,4 +7,5 @@ export const geyserChargeRuleTierA = {
7
7
  description: "Fixed monthly geyser charge deduction of Rs.91.",
8
8
  condition: "true",
9
9
  monthlyFormula: "91",
10
+ annualFormula: "91 * 12",
10
11
  };
@@ -33,3 +33,4 @@ export * from "./geyserAllowance";
33
33
  export * from "./quarterRentRules";
34
34
  export * from "./extraBasicRule";
35
35
  export * from "./dearnessAllowanceRules";
36
+ export * from "./otherDeductionsRule";
@@ -33,3 +33,4 @@ export * from "./geyserAllowance";
33
33
  export * from "./quarterRentRules";
34
34
  export * from "./extraBasicRule";
35
35
  export * from "./dearnessAllowanceRules";
36
+ export * from "./otherDeductionsRule";
@@ -1,3 +1,4 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const otherAllowanceRule: Rule;
3
3
  export declare const otherDailyAllowanceRule: Rule;
4
+ export declare const otherEarningsRule: Rule;
@@ -22,3 +22,14 @@ export const otherDailyAllowanceRule = {
22
22
  // Annual value should be derived by aggregating monthly payroll
23
23
  annualFormula: "round(payableDays * 300, 2)",
24
24
  };
25
+ export const otherEarningsRule = {
26
+ ruleCode: "OTHER_EARNINGS",
27
+ name: "Other Earnings",
28
+ category: "Earning",
29
+ type: "Custom",
30
+ version: "FY2024-2025",
31
+ description: "Other Earnings (manual or fixed amount)",
32
+ condition: "true",
33
+ monthlyFormula: "0",
34
+ annualFormula: "0",
35
+ };
@@ -0,0 +1,2 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const otherDeductionsRule: Rule;
@@ -0,0 +1,11 @@
1
+ export const otherDeductionsRule = {
2
+ ruleCode: "OTHER_DEDUCTIONS",
3
+ name: "Other Deductions",
4
+ category: "Deduction",
5
+ type: "Custom",
6
+ version: "FY2024-2025",
7
+ description: "Other Deductions (manual or fixed amount)",
8
+ condition: "true",
9
+ monthlyFormula: "0",
10
+ annualFormula: "0",
11
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",