cadrumo.domain.calculations.registry.tax_id_runtime module

Authority-aware runtime operations for Spanish tax identifiers.

validate_runtime_spanish_tax_id(value, *, effective_date=None)[source]

Validate one identifier through the established bundled authority.

Return type:

str

Parameters:
  • value (str)

  • effective_date (date | None)

validate_runtime_identity(candidate, *, effective_date=None)[source]

Classify one identifier through the established bundled authority.

Return type:

IdentityDocument

Parameters:
runtime_nif_check_letter(number, *, effective_date=None)[source]

Compute one check letter through the established bundled authority.

Return type:

str

Parameters:
  • number (int)

  • effective_date (date | None)