personal_deduction
Calculates basic and additional personal deductions for Korean comprehensive income tax filings, including per-dependent amounts and eligibility breakdowns from taxpayer and dependent data.
Instructions
종합소득 인적공제(기본공제·추가공제). 언제: 종합소득세 신고에서 기본공제·추가공제 금액을 구할 때. 입력: 귀속연도 → year, 납세자 정보 → taxpayer, 부양가족 목록 → persons. 결과: 기본공제·추가공제·인적공제·사람별 내역·근거. 기본공제 1인당 150만원, 추가공제(경로우대 100만·장애인 200만·부녀자 50만·한부모 100만).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | 사업연도·귀속연도(2016~2026) | |
| persons | Yes | [{name, relation, birth_year, income_items?, income?, wage_only_gross?, disabled?, cohabiting?}] — name: 사람 표시 이름(문자열, 중복 불가). relation: 공제대상자와의 관계. 허용값: 배우자·직계존속·직계비속·입양자·형제자매·수급자·위탁아동. 문항 표현 그대로 '아들'·'딸'·'자녀'는 '직계비속', '부친'·'모친'·'부모'는 '직계존속'으로 적을 것. birth_year: 출생연도(정수, 나이 계산용). income_items: [{kind, amount}] — 부양가족 소득 종류·금액 목록. kind 허용값: 근로_총급여·사업소득금액·이자·배당·공적연금·사적연금·기타소득금액·양도소득금액·퇴직소득금액·전통주_제조소득_농어촌·비과세·공적연금_과세제외. income_items를 쓰면 income·wage_only_gross는 함께 입력할 수 없음. disabled: 장애인 여부(bool). cohabiting: 동거 여부(bool, 기본 True, 형제자매·수급자는 동거 필요). 소득 없음 → income_items: []. 근로소득만 있음 → income_items: [{"kind": "근로_총급여", "amount": 총급여}]. 예시: [{"name":"부친","relation":"부친","birth_year":1938,"income_items":[{"kind":"공적연금_과세제외","amount":30000000}]}] | |
| taxpayer | Yes | {sex, birth_year, has_spouse, comprehensive_income, disabled?, household_head?} — sex: '남'|'여'. birth_year: 출생연도(정수). has_spouse: 배우자 유무(bool). comprehensive_income: 종합소득금액(원, 기본공제 한도 판단용). disabled: 장애인 여부(bool, 기본 무시). household_head: 세대주 여부(bool, 부녀자 공제 판단용). |