If there is a check mark in the Izracunaj popust racuna field in the Sales &amp; Receivables Setup window,  the amount was calculated automatically when you posted the document.
Če je v oknu Nastavitev prodaje in terjatev polje Izračunaj popust računa potrjeno, izračuna program popust samodejno, kadar knjižite dokument.