Fixed Exchange Rate for VAT

How to create fixed amount of VAT based on the exchange rate on the posting date of the invoice in AX 2012?

Since the invoice is using foreign currency, with variable exchange rate, while the VAT should remain in a fixed value based on the exchange rate of the posting date of the invoice.