The currency code is mandatory, and you cannot change it after a sales order line is entered. Only one currency is possible per purchase order.

Select the currency by clicking the square arrow

When the invoice for the current order is updated, the invoice balance is posted in both the selected currency and local currency. The exchange rates at posting and payment are compared, and the difference, if any, is posted automatically. For more information, see in the customer table.