tax_us.state_tax
Calculates US state income tax for CA, NY, and TX by filing status, progressive brackets, and standard deductions; handles NY recapture and CA surtax, with Texas returning zero.
Instructions
미국 주 소득세를 계산한다(CA, NY, TX). 신고 유형별 누진 구간과 주별 표준공제를 반영하고 TX 는 소득세가 없어 0이다. NY 는 조정총소득(state_agi)이 107,650 을 넘으면 세액 환수(recapture) 워크시트를, CA 는 과세표준 1,000,000 초과분에 1% 가산세를 적용한다. 금액은 USD Decimal 문자열이고 기본은 소수 둘째 자리 HALF_UP이다. 연도별 지원 범위가 다르고(CA 2025), 지방세나 FICA 는 포함하지 않는다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| as_of | No | ||
| state | Yes | ||
| decimals | No | ||
| rounding | No | HALF_UP | |
| state_agi | No | ||
| filing_status | Yes | ||
| taxable_income | Yes | ||
| include_proposed | No | ||
| apply_standard_deduction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| state | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| breakdown | Yes | ||
| recapture | No | ||
| surcharge | No | ||
| filing_status | Yes | ||
| marginal_rate | Yes | ||
| policy_sha256 | Yes | ||
| policy_source | Yes | ||
| policy_status | Yes | ||
| effective_rate | Yes | ||
| has_income_tax | Yes | ||
| policy_version | Yes | 적용된 정책 문서의 식별 정보 | |
| policy_audit_id | Yes | ||
| policy_citations | Yes | 정책의 근거 조문 | |
| standard_deduction | Yes | ||
| policy_effective_to | Yes | ||
| policy_effective_date | Yes | ||
| taxable_income_after_deduction | Yes |