"""Malaysia regime — 0% on foreign-sourced income for individuals. Under the Income Tax Act 1967 s.3 + para 28 sched 6, foreign-sourced income received by an individual is exempt — extended to 2036 by the Finance Act 2022. Our portfolio is wholly foreign (US/UK ETFs, GBP brokerage, RSU vests already taxed at source), so all flows fall outside Malaysian tax. We do NOT model the MM2H visa fee, healthcare, or property purchase costs — those belong in the spending budget, not the tax engine. """ from __future__ import annotations from decimal import Decimal from fire_planner.tax.base import TaxBreakdown, TaxInputs, TaxRegime class MalaysiaTaxRegime(TaxRegime): name = "malaysia" def compute_tax(self, inputs: TaxInputs) -> TaxBreakdown: del inputs # all foreign income is exempt return TaxBreakdown(notes=("malaysia-foreign-exempt", ), other=Decimal("0"))