From where will the currency and the payment details of the invoice be pulled from - SF or Xero?

From where will the currency and the payment details of the invoice be pulled from - SF or Xero?

Currency setup should ideally match both SF and Xero instances. Currency and payments details will then be fetched from opportunity or custom object that you are using for creating Invoice