Two possibilities : 1- In proportion to the quantities of the selected lines. 2- In proportion to the amounts of the selected lines. In that case, amounts are all converted in the invoice currency before the distribution.