{
  "schema": "stocktax/1",
  "site": "https://stocktax.opyeb.com",
  "product": "StockTaxCal",
  "operator": "OPYEB",
  "basis_date": "2026-11-27",
  "contact": "https://opyeb.com/contact/",
  "rules": {
    "cap_deduction": 2500000,
    "cap_rate": 0.2,
    "cap_local_ratio": 0.1,
    "cap_carry_years": 5,
    "cap_eff": 0.22,
    "cap_filing_month": 5,
    "cap_filing_start_day": 1,
    "cap_filing_day": 31,
    "fin_threshold": 20000000,
    "fin_wh_rate": 0.14,
    "fin_wh_local": 0.014,
    "grossup_rate": 0.1,
    "grossup_rate_next": 0.11,
    "grossup_next_from": "2027-01-01",
    "personal_pension_separate": 15000000,
    "jongso_brackets": [
      {
        "max": 14000000,
        "rate": 0.06,
        "progressive": 0
      },
      {
        "max": 50000000,
        "rate": 0.15,
        "progressive": 1260000
      },
      {
        "max": 88000000,
        "rate": 0.24,
        "progressive": 5760000
      },
      {
        "max": 150000000,
        "rate": 0.35,
        "progressive": 15440000
      },
      {
        "max": 300000000,
        "rate": 0.38,
        "progressive": 19940000
      },
      {
        "max": 500000000,
        "rate": 0.4,
        "progressive": 25940000
      },
      {
        "max": 1000000000,
        "rate": 0.42,
        "progressive": 35940000
      },
      {
        "max": 0,
        "rate": 0.45,
        "progressive": 65940000
      }
    ],
    "isa_general_exempt": 2000000,
    "isa_seomin_exempt": 4000000,
    "isa_separate_rate": 0.099,
    "isa_years": 3,
    "isa_annual_limit": 20000000,
    "isa_total_limit": 100000000,
    "isa_pension_window_days": 60,
    "isa_pension_credit_rate": 0.1,
    "isa_pension_credit_cap": 3000000,
    "pen_credit_low": 0.165,
    "pen_credit_high": 0.132,
    "pen_salary_threshold": 55000000,
    "pen_savings_limit": 6000000,
    "pen_total_limit": 9000000,
    "pen_payin_limit": 18000000,
    "pen_tax_under70": 0.055,
    "pen_tax_70s": 0.044,
    "pen_tax_80": 0.033,
    "pen_other_rate": 0.165,
    "pen_limit_factor": 1.2,
    "year_end_month": 12,
    "year_end_day": 31
  },
  "defaults": {
    "sell": 30000000,
    "buy": 20000000,
    "fee": 60000,
    "prior": 0,
    "divdom": 12000000,
    "divfor": 3000000,
    "intdom": 6000000,
    "intfor": 0,
    "other": 40000000,
    "principal": 30000000,
    "rate": 6,
    "years": 5,
    "isatype": "general",
    "salary": "low",
    "annual": 6000000,
    "dsell": "2026-10-15",
    "disa": "2024-03-01"
  },
  "calculators": [
    {
      "id": "overseas-capital-gains",
      "name": "overseas stock capital gains tax (해외주식 양도소득세)",
      "inputs": [
        "sale_amount",
        "cost_amount",
        "fees",
        "prior_fixed_gain_or_loss"
      ],
      "outputs": [
        "per_trade_gain",
        "net_gain",
        "tax_base",
        "income_tax_20",
        "local_tax_2",
        "total_tax_22",
        "effective_rate",
        "loss_offset_saving",
        "carry_forward_loss"
      ]
    },
    {
      "id": "financial-income",
      "name": "aggregate taxation of dividends and interest (금융소득종합과세)",
      "inputs": [
        "domestic_dividends",
        "foreign_dividends",
        "domestic_interest",
        "foreign_interest",
        "other_taxable_income"
      ],
      "outputs": [
        "financial_income_total",
        "over_threshold",
        "withheld_15_4",
        "grossup_addback",
        "tax_credit",
        "aggregate_tax",
        "comparison_tax",
        "additional_tax",
        "marginal_rate",
        "effective_rate"
      ]
    },
    {
      "id": "account-compare",
      "name": "ISA vs taxable vs pension account after tax (ISA·연금 세후 비교)",
      "inputs": [
        "principal",
        "expected_return",
        "years",
        "isa_type",
        "salary_band",
        "annual_pension_contribution"
      ],
      "outputs": [
        "final_value",
        "taxable_net",
        "isa_exemption",
        "isa_tax",
        "isa_net",
        "pension_credit",
        "pension_tax",
        "pension_net",
        "saving_vs_taxable"
      ]
    },
    {
      "id": "deadlines",
      "name": "overseas filing, financial income, ISA and year-end D-day calendar",
      "inputs": [
        "sale_date",
        "isa_start_date"
      ],
      "outputs": [
        "filing_window",
        "loss_carry_expiry",
        "isa_maturity",
        "isa_transfer_deadline",
        "year_end_contribution",
        "ics"
      ]
    }
  ],
  "principles": {
    "server": "none",
    "external_requests_after_load": 0,
    "personal_data": false,
    "analytics": false,
    "cookies_set_by_site": 0,
    "local_storage": [
      "stocktaxcal-theme"
    ],
    "share_state": "URL fragment only (#), never sent to the server",
    "adsense_host_guard": [
      "127.0.0.1",
      "localhost",
      "::1",
      "0.0.0.0"
    ],
    "ics_encoding": "UTF-8 with CRLF line endings"
  },
  "endpoints": {
    "home_ko": "https://stocktax.opyeb.com/",
    "home_en": "https://stocktax.opyeb.com/en/",
    "guides_ko": "https://stocktax.opyeb.com/guides/",
    "guides_en": "https://stocktax.opyeb.com/en/guides/",
    "spec": "https://stocktax.opyeb.com/api/v1/stocktax.json",
    "llms": "https://stocktax.opyeb.com/llms.txt",
    "sitemap": "https://stocktax.opyeb.com/sitemap.xml"
  }
}
