aeat.domain.contribuyente package¶
The operator’s tax-residence profile.
This package is intentionally separate from financial usage-ratio profiles, browser profiles, and spending-category profiles. It owns personal local state needed to parameterize RENTA verification.
TaxResidenceProfile and ResidenceChange carry the
CCAA residence axis; RentaFamilyProfile and
DescendantInfo carry the Modelo 100 personal/family facts, and
ProfileKey exposes the wizard-registered editable profile schema.
- class ResidenceChange(**data)[source]¶
Bases:
BaseModelOne historic tax-residence transition.
- from_ccaa: CCAA | None¶
- to_ccaa: CCAA¶
- effective_from: date¶
- reason: str | None¶
- class TaxResidenceProfile(**data)[source]¶
Bases:
BaseModelThe operator’s current ordinary CCAA tax residence for RENTA.
- Parameters:
schema_version (str)
ccaa (CCAA)
tax_residence_since (date | None)
tax_residence_change_history (tuple[ResidenceChange, ...])
- schema_version: str¶
- ccaa: CCAA¶
- tax_residence_since: date | None¶
- tax_residence_change_history: tuple[ResidenceChange, ...]¶
Subpackages¶
- aeat.domain.contribuyente.assets package
AssetRecordErrorAssetValidationErrorASSETS_SCHEMA_VERSIONAssetClassAssetClass.OBRA_CIVIL_GENERALAssetClass.OBRA_CIVIL_PAVIMENTOSAssetClass.OBRA_CIVIL_INFRA_MINERASAssetClass.CENTRALES_HIDRAULICASAssetClass.CENTRALES_NUCLEARESAssetClass.CENTRALES_CARBONAssetClass.CENTRALES_RENOVABLESAssetClass.CENTRALES_OTRASAssetClass.EDIFICIOS_INDUSTRIALESAssetClass.EDIFICIOS_ESCOMBRERASAssetClass.EDIFICIOS_ALMACENESAssetClass.EDIFICIOS_COMERCIALESAssetClass.INSTALACIONES_SUBESTACIONESAssetClass.INSTALACIONES_CABLESAssetClass.INSTALACIONES_RESTOAssetClass.MAQUINARIA_GENERALAssetClass.MAQUINARIA_MEDICOSAssetClass.TRANSPORTE_LOCOMOTORASAssetClass.TRANSPORTE_BUQUES_AERONAVESAssetClass.TRANSPORTE_INTERNOAssetClass.TRANSPORTE_EXTERNOAssetClass.TRANSPORTE_AUTOCAMIONESAssetClass.MOBILIARIO_GENERALAssetClass.MOBILIARIO_LENCERIAAssetClass.MOBILIARIO_CRISTALERIAAssetClass.MOBILIARIO_UTILESAssetClass.MOBILIARIO_MOLDESAssetClass.MOBILIARIO_OTROSAssetClass.ELECTRONICA_GENERALAssetClass.ELECTRONICA_INFORMATICAAssetClass.ELECTRONICA_SOFTWAREAssetClass.PRODUCCIONES_AUDIOVISUALESAssetClass.OTROS_ELEMENTOS
LibertadAmortizacionElectionAssetRecordAssetRecord.identifierAssetRecord.descriptionAssetRecord.asset_classAssetRecord.acquisition_dateAssetRecord.cost_basisAssetRecord.taxable_baseAssetRecord.iva_rateAssetRecord.iva_amountAssetRecord.deductible_iva_ratioAssetRecord.gross_totalAssetRecord.useful_life_yearsAssetRecord.libertad_amortizacionAssetRecord.actividad_idAssetRecord.allocation_ratioAssetRecord.schema_versionAssetRecord.resolved_taxable_baseAssetRecord.resolved_iva_amountAssetRecord.resolved_gross_total
AmortizacionEntryAmortizacionLedgerAssetsLedgerDocument
- aeat.domain.contribuyente.inventory package
AmortizacionLedgerErrorInventoryLedgerErrorInventoryValidationErrorLIFOForbiddenErrorBasisCapExceededErrorINVENTORY_SCHEMA_VERSIONMovementKindValuationMethodMovementRecordMovementRecord.movement_idMovementRecord.movement_dateMovementRecord.kindMovementRecord.skuMovementRecord.quantityMovementRecord.unit_costMovementRecord.taxable_baseMovementRecord.iva_rateMovementRecord.iva_amountMovementRecord.deductible_iva_ratioMovementRecord.schema_versionMovementRecord.valueMovementRecord.resolved_unit_cost
StockLayerInventoryLedgerInventoryLedgerDocumentparse_valuation_method()compute_inventory_variation()InventoryValuationResultcompute_anexo_d_inventory_variation()compute_inventory_valuation()
Submodules¶
- aeat.domain.contribuyente._ccaa module
- aeat.domain.contribuyente._constants module
- aeat.domain.contribuyente._deduccion_maternidad module
- aeat.domain.contribuyente._descendant_facts module
- aeat.domain.contribuyente._errors module
- aeat.domain.contribuyente._keys module
- aeat.domain.contribuyente._marriage_facts module
- aeat.domain.contribuyente._normalise module
- aeat.domain.contribuyente._renta_codes module
RentaDeclaracionTypeRentaSexCodeRentaMaritalStatusRENTA_MODELO100_ECIVIL_EXPORT_CODESmodelo100_ecivil_export_code()RentaDisabilityGradeUE_EEA_COUNTRY_CODESFiscalResidencySituacionFamiliarSituacionFamiliar.CASADOSituacionFamiliar.PAREJA_HECHO_REGISTRADASituacionFamiliar.PAREJA_HECHO_NO_REGISTRADASituacionFamiliar.SOLTEROSituacionFamiliar.SEPARADO_DIVORCIADOSituacionFamiliar.conjunta_eligible()SituacionFamiliar.requires_spouse_or_partner()SituacionFamiliar.monoparental_required()
SituacionFamiliarM145
- aeat.domain.contribuyente.family module
within_multi_year_applicability_window()DescendantInfoDescendantInfo.birth_dateDescendantInfo.adoption_dateDescendantInfo.discapacidad_gradoDescendantInfo.convive_con_contribuyenteDescendantInfo.custodia_compartidaDescendantInfo.meses_madre_trabajo_2024DescendantInfo.gastos_guarderia_eurosDescendantInfo.nifDescendantInfo.age_at_year_end()DescendantInfo.is_eligible_ordinary()DescendantInfo.is_eligible_menor_tres()DescendantInfo.entry_year()DescendantInfo.is_nacimiento_adopcion_eligible()DescendantInfo.nacimiento_adopcion_prorrateo_share()
RentaDescendantProfileRentaAscendantProfileRentaFamilyProfileRentaFamilyProfile.schema_versionRentaFamilyProfile.descendantsRentaFamilyProfile.ascendantsRentaFamilyProfile.descendientesRentaFamilyProfile.cotizaciones_ss_madre_2024RentaFamilyProfile.descendientes_countRentaFamilyProfile.descendientes_menores_3_year_end()RentaFamilyProfile.descendientes_menores_3_2024RentaFamilyProfile.gastos_guarderia_reales_2024RentaFamilyProfile.descendientes_eligible_minimum()RentaFamilyProfile.custodia_compartida_count()RentaFamilyProfile.custodia_compartida_prorrata_factor()RentaFamilyProfile.minimo_descendientes_estatal()RentaFamilyProfile.custodia_compartida_advisory()RentaFamilyProfile.madrid_nacimiento_adopcion_eligible_count()RentaFamilyProfile.madrid_nacimiento_adopcion_weighted_count()RentaFamilyProfile.unidad_familiar_otros_miembros_base()RentaFamilyProfile.deduccion_maternidad_0611()RentaFamilyProfile.incremento_guarderia_0613()RentaFamilyProfile.incremento_guarderia_advisory()RentaFamilyProfile.deduccion_maternidad_advisory()