The program uses the currency code on the purchase document to find the  invoice discount terms in the corresponding currency.
Program poišče pogoje popusta na račun v ustrezni valuti s šifro valute v nabavnem dokumentu.