aeat.domain.portals package

Public facade for the local AEAT portal metadata catalogue.

This package owns declarative AEAT portal identifiers and metadata used by registry, schema, and live-read planning surfaces. The facade exposes Portal identifiers, taxonomy enums PortalCategory, AuthMethod, PortalHost, and UrlStability, plus lazy exports for strict frozen PortalMetadata records and the frozen PORTAL_REGISTRY mapping from Portal keys to metadata.

Registry assembly validates host names through the central external-constants catalogue, filing/censo path shape, anonymous-auth exclusivity, retired-portal replacement links, and complete coverage of every Portal member. Use get_portal() for one entry, portals_by_category() for taxonomy views, and portals_for_modelo() for filing and borrador portals declared by validated domain.calculations.registry application links for a domain.modelos.ModeloCode.

Consumers outside domain.portals import from this package root; the underscore-prefixed modules are internal. This package describes portal, filing, borrador, censo, auth, payment, and consultation metadata only. It does not open portals, submit returns, sign, pay, mark notifications read, or perform live AEAT access; those operations belong to application and adapter layers.

See also

application.portals

Local operator discovery service that projects this catalogue without contacting AEAT or emitting bucket events.

application.live

Read-only remote observation workflows that may consult portal metadata before entering an access-gated live path.

domain.calculations.registry

Validated application links that declare modelo-to-portal references consumed by portals_for_modelo().

core.access_gate.AeatAccessGate

Live-read/live-write gate; this metadata package never invokes it.

Subpackages

Submodules