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: BaseModel

One historic tax-residence transition.

Parameters:
  • from_ccaa (CCAA | None)

  • to_ccaa (CCAA)

  • effective_from (date)

  • reason (str | None)

from_ccaa: CCAA | None
to_ccaa: CCAA
effective_from: date
reason: str | None
class TaxResidenceProfile(**data)[source]

Bases: BaseModel

The 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, ...]
parse_tax_region(raw)[source]

Parse a CLI/user tax-region token into the closed CCAA enum.

Return type:

CCAA

Parameters:

raw (str)

Subpackages

Submodules