cadrumo.domain.calculations.registry.prorrata_regularizacion_bindings module

The annual prorrata regularisation provider and its landing casillas.

prorrata_source_casilla_ids(bindings)[source]

Return the unique, declared prorrata source casillas in registry order.

Return type:

tuple[TypeAliasType, ...]

Parameters:

bindings (Iterable[_BindingWithProvider])

class ProrrataRegularizacionOutput(*values)[source]

Bases: StrEnum

Which casilla a prorrata regularizacion lands in.

MODELO_303_CASILLA_44
MODELO_390_REGULARIZACION_ANUAL
ProrrataRegularizacionOutputValue

The same vocabulary for a strict model field.

alias of Literal[MODELO_303_CASILLA_44, MODELO_390_REGULARIZACION_ANUAL]

class ProrrataRegularizacionProvider(**data)[source]

Bases: BaseModel

Selector for annual prorrata regularisation filing targets.

Parameters:

data (Any)

kind: Literal[BindingSourceKind.PRORRATA_REGULARIZACION]
source_modelo: Literal['303']
source_casilla_ids: tuple[CasillaId, ...]
source_periods: tuple[str, ...]
regularizacion_output: ProrrataRegularizacionOutputValue