payroll.kr_salary
Calculate Korean net monthly pay from gross salary by applying 4 major insurance, income tax, and local tax deductions using year- and date-specific policy inputs.
Instructions
세전 월급(원, 문자열)에서 한국 실수령액을 구한다. 비과세 식대 한도를 뺀 과세급여로 4대보험 근로자 부담분(국민연금 상·하한, 건강보험, 장기요양, 고용보험)과 근로소득 간이세액표 소득세, 지방소득세(소득세의 10%)를 공제하며 건강보험과 장기요양은 10원 미만 버림, 그 밖의 보험료와 지방소득세는 원 미만 버림이다. 시행일별 정책을 as_of 로 고른다. 연봉을 월급 자리에 넣으면 안 된다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| as_of | No | ||
| children_8_20 | No | ||
| meal_allowance | No | 0 | |
| monthly_salary | Yes | ||
| num_dependents | No | ||
| include_proposed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| gross | Yes | ||
| taxes | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| taxable | Yes | ||
| insurances | Yes | ||
| non_taxable | Yes | ||
| policy_sha256 | Yes | ||
| policy_source | Yes | ||
| policy_status | Yes | ||
| policy_version | Yes | 적용된 정책 문서의 식별 정보 | |
| policy_audit_id | Yes | ||
| policy_citations | Yes | 정책의 근거 조문 | |
| income_tax_lookup | Yes | ||
| policy_effective_to | Yes | ||
| policy_effective_date | Yes |