The API of the same NBU (which you use for auto-updating) issues rates relative to the state currency
https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?date=20210611&j...You can calculate it only by redoing the logic of the handler for calculating the exchange rate not relative to the state currency - such a refinement for 1 handler will take about 3 hours (in your case, the processor "National Bank of Ukraine").
Bill?
The hryvnia exchange rate against the state currency is 1. And it is not in the issuance of the API, which is used for auto-updating.
The revision proposed above will solve this, the rate will be updated to the one indicated for the base currency EUR