Recalculate VAT at Cash Receipt Entry

When we enter an invoice in Cash Receipt entry, the exchange rate between the invoice date and cash receipt date is calculated and the difference is going to the gain/loss account correctly, but the debit and credit for the VAT is the same and is based on the invoice date

I can’t find any settings where the VAT amount from the invoice and the VAT amount during cash receipt entry is calculated as per the exchange rate and that difference posts to the gain/loss account as well

This is for Mexico VAT and the digital receipts are expecting to see a gain/loss on the VAT and not just the total receivables

Any help appreciated