It is not always easy to calculate how much money we have to return to the customer :) You will find the function of the so-called calculator in the Finish payment window. If you hold down the "Cash" button for a longer time, a window will appear where you enter the value paid by the customer. You will immediately see the amount you will return to him :)