aeat.domain.modelos._codes module

Validated AEAT modelo identifier value object.

ModeloCode enforces the three-digit identifier shape used by modelo work units and registry lookups, raising ModeloValidationError before filing-grade availability is resolved from registry snapshots.

class ModeloCode(value)[source]

Bases: str

Three-digit AEAT modelo identifier.

This type validates identifier shape only. Filing-grade availability is resolved from registry snapshots.

Parameters:

value (str)

Return type:

ModeloCode