sehoo 1.0.10 → 1.0.11
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.
- package/index.ts +4 -1
- package/lib/index.js +4 -1
- package/package.json +1 -1
package/index.ts
CHANGED
@@ -105,7 +105,10 @@ function sehoo(option: Option): ReturnTypeKor | ReturnTypeEng {
|
|
105
105
|
소득세 = 기본_세액 + 31_034_600 + (과세대상 - 87_000_000) * 0.45;
|
106
106
|
}
|
107
107
|
}
|
108
|
-
|
108
|
+
if (중소기업_소득세_감면) {
|
109
|
+
const 월_최대_소득세_감면_금액 = 2_000_000 / 12;
|
110
|
+
소득세 = 소득세 - Math.min(소득세 * 0.9, 월_최대_소득세_감면_금액);
|
111
|
+
}
|
109
112
|
const 주민세 = 절사(소득세 * 0.1);
|
110
113
|
|
111
114
|
const 공제액_합계 = 국민연금 + 장기요양보험 + 건강보험 + 고용보험 + 소득세 + 주민세;
|
package/lib/index.js
CHANGED
@@ -67,7 +67,10 @@ function sehoo(option) {
|
|
67
67
|
소득세 = 기본_세액 + 31034600 + (과세대상 - 87000000) * 0.45;
|
68
68
|
}
|
69
69
|
}
|
70
|
-
|
70
|
+
if (중소기업_소득세_감면) {
|
71
|
+
const 월_최대_소득세_감면_금액 = 2000000 / 12;
|
72
|
+
소득세 = 소득세 - Math.min(소득세 * 0.9, 월_최대_소득세_감면_금액);
|
73
|
+
}
|
71
74
|
const 주민세 = 절사(소득세 * 0.1);
|
72
75
|
const 공제액_합계 = 국민연금 + 장기요양보험 + 건강보험 + 고용보험 + 소득세 + 주민세;
|
73
76
|
if (option.returnInKorean) {
|