Hi Lubos,

Billable time entered 2 hours and 50 minutes at a rate of € 60,-

To be invoiced shows an amount of € 170,- which is correct.

On the invoice appears the following:

which is not correct. Can you please fix this bug

Hi Lubos,

Billable time entered 2 hours and 50 minutes at a rate of € 60,-

To be invoiced shows an amount of € 170,- which is correct.

On the invoice appears the following:

which is not correct. Can you please fix this bug

Why would this be a bug? Just enter 170/60 into the Qty entry field.

Sorry but this is not a bug. You should use as suggested by @Mark for Qty 170/60 which will give a long string of 2.8333333333. If you multiply that with 60 you will get 169.99999999

The problem with both @Mark’s and @eko’s suggestions is that they require you to know in advance what the extended value of the billable time will be. The problem itself originates with the fact that Manager calculates (and displays) a decimal equivalent (in hours) of the HH-MM time input, but rounds that to two decimal places.

I also do not think this is a bug, however, because the software performs as designed.

Think about whether this is really an issue, though. The customer sees an invoice billing for 2.83 hours with correct arithmetic. Only on the Billable Time entry screen does 2 hours 50 minutes show. And would this even have been noticed if the rate was, for example, 37.50? It became noticeable only because the rate was an even multiple of 1/60 of an hour—or €1 per minute.

How many organizations actually record and bill time to the minute? Not many. Those that do (or their accounting programs) almost invariably convert to decimal hours for billing calculations.

A solution is to round decimal hours with higher precision. But you would have to display the higher precision or customers would not be able to reproduce the math. Four decimal places would be enough for two-decimal currencies. But is that overkill?

You would be surprised, Many consultants from law firms, public relations agencies, etc actually bill by the minute. This is favoured by the clients as in essence it is perceived to reduce costs and thus enhance efficiencies.

I also wonder if 2.83 hour is easier to understand than 170 minutes or 2 hours and 50 minutes. I would break my brains to figure out how many minutes that 0.83 really is, a quick calculation 0.83*60=49.8 and not fifty, so rounding is the culprit.

Having said all that, there is obviously an issue, but I do not think this is a bug nor do I think there is an easy fix.

Usually, however, in minimum “blocks” of minutes, such as 6 (0.1 hour) or 15 (0.25 hour).

Sorry, I diasagree with @Mark and @Eko. You probably don’t use the tab Billable Time.

Hours and minutes and rate is what you need to enter in the module Billable Time. Not Quantities. When you click create new sales-invoice you expect the program to create an invoice with the data you entered. You don’t expect that it converts time to decimals. You also don’t expect the program to “change” the billable amount of € 170.00 to € 169.80 because of the conversion

I also disagree with @Tut.

The software doesn’t perform as expected. I expect the Sales-invoice to be € 170.00- and not € 169.80.

And I expect it shows 2 hours and 50 minutes. So in my opinion it is a bug.

The question how many organizations actually record and bill to the minute is irrelevant.

As @ Eko writes many consultants from law firms, public relations agencies etc. bill by the minute. I’ve seen hundreds of those invoices in my career.

1 Like

You got a point here. I didn’t get that you used the billable time option, in which the resulting amount is 170 € so you would expect it to be 170 € on the corresponding invoice too.

This is a mismatch between sales invoices having quantity as single decimal number and billable time being hours/minutes.

There are two solutions:

- When invoice is created from billable time, we do not use
`Qty`

field on sales invoice at all. We simply state time spent on invoice line description. - Or we make it so when billable time is entered, you can enter only hours or fractions of hours. For example, instead of 45 minutes, you’d enter 0.75 hour etc.

I’m not sure which one is more desirable.

A user setting to specify billable time is converted in invoices into units of either

- minutes
- hours

I would recommend @lubos’ first option, stating hours and minutes in the description.

People do not customarily make conversions of hours and minutes to decimal hours. Unless their practice is to record time in conveniently sized “blocks” of minutes as I mentioned previously, how will they know what to enter?

For even a simple case of 20 minutes of work, 0.33 hr is not precise enough. For example if a lawyer bills $300/hr, the client will expect to pay $100. But the calculation would produce $99. You would need 5 decimal places in the time entry to produce a rounded billable amount of $100.00.

Granted, many users could remember 0.33333. But now suppose the billable time moves to 23 minutes. Who can remember 0.38333?

The program, on the other hand, can easily convert 20 or 23 minutes to a fractional hour with much greater precision than necessary, even for 4-decimal currencies. Let the description be what people understand—hours and minutes—and the internal calculations be accurate, but invisible. A customer checking the math will confirm the same amount as displayed.

1 Like

A human brain calculates in hours and minutes, not decimals. Therefor I suggest that we record hours and minutes in billable time and that the program converts it to decimals, as long as the result on the invoice is exactly the same as displayed at billable time. I think option 1 is more desirable.