cadrumo.domain.calculations.registry.concepto_ingreso module

Typed projection of the governed income-concept vocabulary.

The Art. 110 fact owns both the agrarian exclusion declaration and the complete receipt-concept vocabulary used by ledger rows. Keeping the vocabulary as a selector-scoped variant of that fact prevents a second canonical owner while allowing Art. 109 and Art. 110 to retain their distinct exclusion sets.

class ConceptoIngresoCatalogue(tokens)[source]

Bases: object

Registry-declared income-concept tokens for transaction boundaries.

Parameters:

tokens (tuple[ConceptoIngreso, ...])

tokens: tuple[ConceptoIngreso, ...]
property all_tokens: frozenset[ConceptoIngreso]

Return every token in the selected vocabulary.

require(value)[source]

Return one token only when the selected fact declares it.

Return type:

ConceptoIngreso

Parameters:

value (object)

resolve_concepto_ingreso_catalogue(*, effective_date=None, authority=None)[source]

Resolve the selected dated income-concept vocabulary.

Return type:

ConceptoIngresoCatalogue

Parameters:
require_concepto_ingreso(value, *, effective_date=None, authority=None)[source]

Project one receipt-concept token from the selected facts authority.

Return type:

ConceptoIngreso

Parameters: