---
title: "Usage"
weight: 30
description: "Enter the time spent on a project task from your smartphone."
source_hash: "821e69e8"
---

# Usage

## Preparation on the workstation

1. Log in to Dolibarr from your computer.
2. Open the customer's project then the task concerned (usually one task per month).
3. Click the **Time spent** tab of the task.
4. The QR code appears in a panel at the bottom right of the page.

![QR code panel displayed on the task time entry page](screenshots/qr-sur-time-php.webp)

The panel can be collapsed with the **x** button at the top right (the collapsed/uncollapsed state is remembered in the browser). On small screens (less than 768 pixels wide), the panel is hidden so as not to get in the way of consulting the native interface on a tablet or phone.

## Scanning with the smartphone

1. Open your smartphone's camera app and aim at the QR code.
2. Your smartphone offers to open the link in the browser.
3. The mobile page is displayed, ready for entry.

![Mobile page ready for entering a time entry](screenshots/page-mobile-vide.webp)

The link is valid 24 hours by default (configurable duration, see the Configuration page). You can bookmark it on the phone if you enter several sessions in the day, but the next morning you will have to re-scan from the workstation. If the administrator chose unlimited validity (value 0), the link remains valid as long as the project is open: the QR can then be printed and stuck on a machine or a piece of equipment.

## Entering a time entry

The mobile interface offers four fields and one button:

- **Date**: by default the current day, or the last date entered on this phone if you have already entered one.
- **Time**: by default 08:00 on first load, then the time incremented by the duration of the previous recorded entry.
- **Duration**: pick a chip (15 min, 30 min, 1 h, 2 h by default) or click **Other** to enter a free duration in minutes. The last used duration is reselected on the next display.
- **Service** (if configured): drop-down menu to associate the line with a Dolibarr service. The last chosen service is reselected.
- **Report**: free text field. Use your **smartphone keyboard's microphone** to dictate your text, that is the main use of this module. You can dictate several sentences, correct by hand, then validate.

Click **Save** at the bottom of the screen. A confirmation animation (green circle with a checkmark) is displayed for less than a second.

![Mobile page filled in just before saving](screenshots/page-mobile-remplie.webp)

## Chaining entries

After a successful save:

- The **report** field is cleared so you can dictate the next one.
- The date, the service and the duration are kept.
- **The time is automatically advanced by the recorded duration** (for example if you were at 08:00 and recorded 1 h, the time moves to 09:00).

You can therefore chain several entries of the same day without touching anything but the report. If the chaining takes you past midnight (rare case), the time restarts at 00:00 and you must adjust the date manually.

## Error cases

- **Invalid link** or **Expired link**: the QR has exceeded its validity duration (24 h by default), or the secret has been regenerated on the admin side. Reload the task's time entry page on the workstation to get a new QR. (In unlimited mode, a link cannot "expire" over time.)
- **Access denied**: the user identified in the link no longer exists or has been deactivated in Dolibarr.
- **Missing permission**: your user account does not have the "Enter time spent on projects" permission. Ask an administrator to enable it.
- **Task not found**: the task has been deleted since the QR was generated. Reload the page on the workstation.
- **Project not validated**: the project is not yet in "Validated" status in Dolibarr. Validate it from the project card to be able to attach time to it.
- **Project not open**: the project has been closed in Dolibarr. Entry via the QR is only possible while the project is open. Reopen the project from its card to reactivate the QR codes of its tasks.
- **Recording failure**: a message is displayed in red at the top of the page. Check the smartphone's network connectivity and try again.

## Entering time at the end of the month

The module is designed around this use case:

1. Place your smartphone on the desk, open the mobile page via the QR.
2. On the computer, open your email, your commits, your tickets, your calendar -- in short, everything that reminds you what you did for the customer during the month.
3. For each identified task: you choose the date, the duration, and you dictate the report on the smartphone. Save, and on to the next one.
4. At the end, go back to Dolibarr and use the native billing to turn the time into an invoice.

The goal is to keep the computer 100% free for information lookup, and the smartphone only for entry.
