datetime.tax_period_kr
Returns the Korean income tax year and Jan 1–Dec 31 period dates that contain a given date. Use for individual income tax lookups; excludes mid-year terminations and corporate fiscal years.
Instructions
as_of(YYYY-MM-DD)가 속한 한국 소득세 과세기간(소득세법 제5조, 1/1~12/31)의 연도 tax_year 와 경계일을 반환한다. 사업 개시·폐업, 사망, 출국으로 달라지는 중도 종료 기간은 다루지 않으며 법인의 사업연도에는 쓰지 않는다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| country | Yes | ||
| end_date | Yes | ||
| tax_year | Yes | ||
| start_date | Yes |