Item costs in foreign & base currency

Item costs in foreign & base currency

I have a question regarding bills and costing of received items,  we usually purchase products from external suppliers in foreign currency,  then we pay for customs and taxes in base currency which then contributes in the purchased items costs.


My question, after we record a purchase order for the external supplier then pay the bill in the foreign currency,  how do we then record other costs for customs, taxes and other admin cost in base currency and reflect it to each item cost.


Thanks in advance