VAT currency in foreign sales/purchase transactions

Dear team,
The VAT currency is always showing in Company currency even when I set the document (SO or PO) currency to a foreign currency. The rate/amount is calculated correctly but the currency is wrong. How to set this?
I need the VAT currency to be same as the SO currency.

Edit: I found a similar question with screenshots in Purchase Tax and Charge filled with different currency