cadrumo.domain.categories.iva_hint module

Typed projection of registry-owned category IVA hint vocabulary.

class IvaDeductibilityHintCatalogue(values, semantics)[source]

Bases: object

Registry-projected, dated IVA hint vocabulary.

Parameters:
values: tuple[IvaDeductibilityHint, ...]
semantics: str
property all_hints: frozenset[IvaDeductibilityHint]

Return every registry-declared hint token.

require(value)[source]

Validate one opaque token against the registry projection.

Return type:

IvaDeductibilityHint

Parameters:

value (object)

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

Resolve the dated IVA hint vocabulary through the facts authority.

Return type:

IvaDeductibilityHintCatalogue

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

Return one registry-declared IVA hint token or refuse it.

Return type:

IvaDeductibilityHint

Parameters: