Per diem, mileage or other rate based expenses can be automatically calculated based on a predetermine rate and the number of days, miles etc. in the expense claim item. For all other expenses the employee enters how much and the total amount for each expense item is validated against a predefined maximum limit…until now. Now you can have rate based expenses such as hotel nights were the user still enters the total amount being claimed, as well as the number of nights, but the total amount claimed divided by the number of nights is compared to the allowed maximum. This way you can check hotel etc. expenses on a per diem basis whilst still entering a multi-night stay hotel invoice just once