Payment in two currencies

my i some cases we have to pay and receive in two currencies,
how can i tackle that how to enter it should i have to convert it and then enter in software or is there any option for two currencies.

You should read this guide first