aeat.adapters.outbound.fx package

Outbound foreign-exchange rate adapters for currency normalization.

Provides the production EcbReferenceRateProvider, an implementation of domain.currency.ExchangeRateProvider backed by the bundled European Central Bank eurofxref snapshot. The ECB euro reference rate is the official exchange-rate source selected for ledger-to-modelo conversion by the ledger-fx-conversion ADR (Ley 46/1998 art. 36).

The adapter keeps runtime conversion deterministic and offline: ECB EUR-base quotes are inverted into the CCY -> EUR multiplier expected by domain.currency.CurrencyNormalizationService, and non-publication dates fall back to the most recent prior ECB publication date. Ledger import and aggregation consume this through the domain protocol; this package does not own transaction persistence or modelo binding projection.

Submodules