When paying the exact remaining amount of an invoice with different currency, it should normally be a payment with write-off for exchange rate. Closes #11821