cadrumo.core.foreign_asset_obligation module¶
Modelo 720 / 721 foreign-asset obligation-group semantic layer.
Typed abstraction over the raw Modelo 720 casilla bindings. The registry
declares the clave-tipo-de-bien-o-derecho field and a foreign_asset
row source whose asset_class_code an operator otherwise reads as an opaque
one-character clave. This module lifts that clave onto the four regulatory
declaration bloques of the Reglamento General de Gestión e Inspección
(RD 1065/2007). The selected fact revision owns the concrete group vocabulary
and the provisions that establish each obligation.
It is a surfacing layer only. It does not aggregate observations, compute a casilla value, apply a declarability gate, or resolve a binding. The application’s registry-resolved threshold bridge supplies those legal values. The obligation group is still the legally load-bearing axis; this module keeps only the opaque token boundary and the unchanged Modelo 720 code projection.
The ForeignAssetObligationGroup token is declared here as an opaque
wire type; its values and establishing provisions are projected from the
facts-registry taxonomy by the domain resolver. It is the obligation-group
sibling of the per-clave ForeignAssetClass.
- class ForeignAssetObligationGroup(value, *, _registry_validated=False)[source]¶
Bases:
StrictRegistryTokenOpaque RGAT obligation-group token projected from fact 0132.
The four group values and their establishing legal references are governed facts. This core type deliberately carries no member list or citation table; callers obtain instances from the typed registry projection.
- class M720AssetClassCode(*values)[source]¶
Bases:
StrEnumThe five one-character Modelo 720 position-102
clave-tipo-de-bien-o-derechovalues.The bundled AEAT record design limits Modelo 720’s asset-row class code to
C/V/I/S/B;Iis participaciones en instituciones de inversión colectiva,Bis real estate.VIRTUAL_CURRENCYhas no member here because it is declared through the Modelo 721 sibling, not Modelo 720 – this axis is the raw AEAT clave aforeign_assetrow carries, distinct from the semanticForeignAssetClassit is derived from one-to-one viaMODELO_720_FOREIGN_ASSET_CLASS_CODES.- CUENTA¶
- VALOR¶
- INSTITUCION_INVERSION_COLECTIVA¶
- SEGURO¶
- BIEN_INMUEBLE¶
- MODELO_720_FOREIGN_ASSET_CLASS_CODES: Final[Mapping[ForeignAssetClass, M720AssetClassCode]]¶
Official Modelo 720 position-102
clave-tipo-de-bien-o-derechomap.Total over the Modelo-720-bearing
ForeignAssetClassmembers (every member exceptVIRTUAL_CURRENCY, the Modelo 721 sibling with no Modelo 720 clave).