aeat.adapters.outbound.aeat.sede._iva_compensation_wallet module¶
Read-only AEAT IVA compensation wallet reader.
The wallet is external AEAT account state. This module only captures and parses evidence from the authenticated Sede surface; calculation selection happens later in the application reconciliation layer.
This module owns the Playwright navigation and representation-gate state
machine; the side-effect-free HTML parsing, URL-audit, and page-shape
diagnostics live in the sibling _iva_compensation_wallet_parsing module
and are re-imported here so the public read surface is unchanged.
- async fetch_iva_compensation_wallet(session, *, target_year, target_period, taxpayer_nif=None, settings=None)[source]¶
Fetch and parse AEAT’s read-only IVA compensation wallet as a
IvaCompensationWalletObservation.- Return type:
- Parameters:
session (AeatSession)
target_year (int)
target_period (Period)
taxpayer_nif (str | None)
settings (Settings | None)