The value defined as the Payment Currency is retained from the
invoice(s).
The other values are calculated using current exchange rates, by
means of the pivot currency and the Calculate From settings for each value defined in
Business Unit Setup.
For each value, the amount is split by the discount rate and the
tax on settlement is calculated (if applicable).
For Value 2, the amount and currency code are substituted with the
Payment Currency.
If Value 4 is defined as a variable currency in Business
Unit Setup, its amount and currency code are substituted with the
Payment Currency unless the options for Retain V4 on Payment Lines in the payment profile
are set to override this and retain the original fourth currency codes.