aeat.domain.iva._verify module¶
Catalogue-level verification for aeat.domain.iva.
Runs cross-record checks on top of the per-model validation that pydantic already performs:
Every
aeat.domain.iva.IvaCategorymember must be present.Every regulation must carry at least one
aeat.domain.iva.IvaCitation.Every citation must have non-empty
aeat.domain.iva.IvaCitation.quoted_text.Every
boe_referencesid must match the kebab-case document-id shape used by the registry legal catalogue.
- verify_catalogue(catalogue)[source]¶
Run every cross-record check on
catalogue.- Parameters:
catalogue (
IvaCatalogue) – Theaeat.domain.iva.IvaCatalogueunder audit.- Return type:
- Returns:
A
aeat.domain.iva.IvaVerificationReportaggregating every finding.