cadrumo.domain.contribuyente.ccaa module¶
Opaque CCAA tokens projected from the governed tax-residence catalogue.
The community membership and the retired ISO aliases are filing facts. This
module keeps only the token type and compatibility-shaped parsing mechanics;
the dated vocabulary is resolved by ccaa_catalogue.
- class CCAA(value, *, _registry_validated=False)[source]¶
Bases:
strRegistry-projected ordinary common-regime CCAA token.
Instantiation is deliberately fail-closed: arbitrary strings cannot become CCAA values without passing through the selected dated facts catalogue.
from_registryis private to the typed projection module.- classmethod from_registry(value)[source]¶
Construct the typed value from its canonical registry token.
- Return type:
Self- Parameters:
value (str)
- classmethod from_iso_code(code)[source]¶
Resolve one of the registry-declared three-letter aliases.
- Return type:
Self- Parameters:
code (str)