cadrumo.domain.calculations.registry.schema_revision_members module¶
Revision-member declarations for the AEAT calculation registry.
These models describe revision-owned fragments connecting a filing definition
to applications, construct closure, cross-modelo dependencies, and operator
applicability. Consumers import each canonical declaration from this module;
the ModeloRevision aggregate merely consumes their collection types.
- class ApplicationLinkSurface(*values)[source]¶
Bases:
StrEnumWhich product surface consumes a declared application link.
Distinct from the extraction surfaces and the live verification surfaces: those name an artefact and an AEAT endpoint respectively, while this names a part of the product. The three share no token by accident.
- CALCULATION¶
- FILING¶
- REVIEW¶
- APPROVAL¶
- RECONCILIATION¶
- EXPORT¶
- DEADLINE¶
- PORTAL¶
- EXTRACTOR¶
- WORKFLOW¶
- COMMUNICATION¶
- PAYER_DELIVERY¶
- class ApplicationLinkDefinition(**data)[source]¶
Bases:
RegistryModelDeclare one application surface that requires this registry authority.
- id: ApplicationLinkId¶
- surface: ApplicationLinkSurfaceField¶
- consumer: str¶
- requires_snapshot: Literal[True]¶
- legal_refs: LegalRefs¶
- source_refs: SourceRefs¶
- class ConstructDefinition(**data)[source]¶
Bases:
RegistryModelDeclare one legally grounded construct and the revision members it joins.
- id: ConstructId¶
- localization_keys: tuple[str, ...]¶
- legal_refs: LegalRefs¶
- source_refs: SourceRefs¶
- casilla_ids: tuple[CasillaId, ...]¶
- formulas: tuple[FormulaId, ...]¶
- parameters: tuple[ParameterId, ...]¶
- bindings: tuple[BindingId, ...]¶
- export_layouts: tuple[ExportLayoutId, ...]¶
- extraction_profiles: tuple[ExtractionProfileId, ...]¶
- live_cross_references: tuple[CrossReferenceId, ...]¶
- workbook_parity_refs: tuple[WorkbookParityRefId, ...]¶
- verification_expectations: tuple[VerificationExpectationId, ...]¶
- application_links: tuple[ApplicationLinkId, ...]¶
- deadline_windows: tuple[DeadlineWindowId, ...]¶
- filing_schedules: tuple[str, ...]¶
- dependency_classifications: tuple[DependencyClassificationId, ...]¶
- class DependencyClassificationDefinition(**data)[source]¶
Bases:
RegistryModelClassify how one source modelo contributes to this modelo’s authority.
- id: DependencyClassificationId¶
- source_modelo: ModeloId¶
- treatment: RelationDependencyTreatmentField¶
- taxpayer_files_source: bool¶
- conditional_on_economic_activity: bool¶
- target_constructs: tuple[ConstructId, ...]¶
- binding_refs: tuple[BindingId, ...]¶
- legal_refs: LegalRefs¶
- source_refs: SourceRefs¶
- class ApplicabilityRuleDefinition(**data)[source]¶
Bases:
RegistryModelA registry-authored modelo-applicability rule fragment.
Closed-vocabulary values remain registry strings. The loader-owned hydration boundary resolves them to deadline-domain enums, avoiding a cycle back into this schema package.
- id: ApplicabilityRuleId¶
- applicable_entity_types: Annotated[tuple[str, ...], Field(min_length=1)]¶
- required_income_categories: tuple[str, ...]¶
- required_estimation_regimes: tuple[str, ...]¶
- applicable_fiscal_residencies: tuple[str, ...]¶
- applicable_iva_regimes: tuple[str, ...]¶
- required_payer_fact: str | None¶
- applicable_reason: Annotated[str, Field(min_length=1)]¶
- not_applicable_reason: Annotated[str, Field(min_length=1)]¶
- cuota_bearing: bool¶
- legal_refs: LegalRefs¶