Relief caps and gates
judge_transfer_reduction_limitCalculates the maximum allowable real estate capital gains tax reduction by applying annual and five-year caps, disqualification rules, and choose-one provisions under Korean tax law.
Instructions
Capital gains relief gate: disqualification, annual and five-year relief caps, choose-one rules (Restriction of Special Taxation Act art. 129/133/127).
양도세 감면 공통 게이트 — 조특법 §129 배제 → §133 종합한도 → §127⑦ 택일 (19차 순회).
reductions 각 원소: {"조문": "69"|"70"|"77"|"77의2"|..., "감면세액": int, "라벨": str}.
한도는 두 바스켓으로 나뉘며 서로 잠식하지 않는다 — ①§33·43·66~69·69의2~4·70·85의10:
과세기간 1억/5개 과세기간 2억(§70 단독은 5년 1억) ②**공익수용 §77·77의2·77의3: 과세기간 2억/
5개 과세기간 3억**(2025-03-14 신설 §133② — 종전 1억/2억 인용은 수용 건에서 오답).
감면율이 100%여도 이 한도로 잘리므로 '전액 비과세' 안내를 막는 것이 이 함수의 역할이다.
다운·업 계약이나 미등기양도면 감면 전면 배제(§129).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax_year | Yes | ||
| reductions | Yes | ||
| unregistered_transfer | No | ||
| prior_4year_reductions | No | ||
| contract_price_mismatch | No | ||
| prior_4year_taking_reductions | No |