PocketAccountant / src /engine /__init__.py
eldinosaur's picture
English-default UI + bilingual agent + USA tax support (Schedule C/SE/federal) and expanded US+EN regulation corpus
56ed47e verified
Raw
History Blame Contribute Delete
1.38 kB
"""Cuentas Claras — deterministic tax & finance engine.
This package is the trust foundation of the app: it contains *all* the arithmetic
and *no* model. Every function returns a :class:`CalcResult` carrying the figure,
its step-by-step breakdown, and the dated source it came from. The LLM orchestrates
and explains these results — it never computes them.
"""
from .money import D, money, pct
from .result import CalcResult
from .isr import (
isr_provisional_monthly,
retenciones_servicios_profesionales,
taxable_base,
)
from .resico import resico_eligible, resico_isr_monthly
from .iva import iva_monthly, iva_on_amount
from .ratios import (
break_even_units,
cash_runway_months,
current_ratio,
profit_margin,
)
from .us_tax import (
federal_income_tax,
quarterly_estimated_tax,
schedule_c_net_profit,
self_employment_tax,
us_annual_estimate,
)
__all__ = [
"D",
"money",
"pct",
"CalcResult",
"isr_provisional_monthly",
"retenciones_servicios_profesionales",
"taxable_base",
"resico_isr_monthly",
"resico_eligible",
"iva_monthly",
"iva_on_amount",
"break_even_units",
"cash_runway_months",
"current_ratio",
"profit_margin",
"schedule_c_net_profit",
"self_employment_tax",
"federal_income_tax",
"quarterly_estimated_tax",
"us_annual_estimate",
]