automatic time tracking

We are currently working on a system to automatically track spent on a client, not just on the client level, but also the product level. For instance, if the client has bookkeeping services with us, it will track how much time is spent on bookkeeping. The accountant can also leave additional notes in the time log itself.