Projects and time sheets: hours billed to customers
The projects module runs a professional services firm's hours in the books: a customer's projects with their hourly rates, the hours people book on them day by day, the week each person submits and a second person (or the AI reviewer) approves, and the invoice of the approved hours (ADR-0116). Find it under Sales → Projects and Sales → Time sheets.
Projects
- A project (
POST /v1/projects, or Projects → New project) names the customer it is for, what it is called and the hourly rate: the net price of an hour in the customer's currency. Its code is the next project number (PR-00001) unless you give one (project_existswhen it is taken). - Rates of named people (Rates,
PATCH /v1/projects/{project_id}withrates): a person's own hourly rate on the project, say for the lead; everyone else is billed at the project's rate. The list is replaced as a whole. - A service product (
product, optional) gives the invoice lines its revenue account and VAT rate type; without one the lines are service lines at the standard rate, booked to the customer's or the company's revenue account. - Close a project when the work is done (
active: false): no hours are booked on it any more (project_closed), and what was booked is still approved and invoiced. Open it again the same way. Its customer and currency never change, and it is never deleted.
The list shows each project's hours booked and its approved hours not yet invoiced, with what they come to.
From an accepted quote
A quote's hours of work, the lines of a one-off product whose unit is the hour, are an estimate: accepting the quote makes a project of the customer for them, named by the line and the quote's number, at the quoted rate per hour after the line's and the quote's discounts, with the line's product (quotes and sales orders, ADR-0132). They are not on the order: the hours booked on the project are invoiced as they are worked. Lines of one product at one rate make one project; hours for a customer invoiced in another currency than the quote's are refused when the quote is saved, since a project bills in the customer's currency. The quote's card links the project.
Booking hours
- Time sheets → Add hours (
POST /v1/time-entries): the project, the day (today unless you pick another), the hours (1.5, at most 24 a day) and what you did. Untick Billable for work the customer does not pay for, such as an internal meeting. - Hours land on your week in the project's company, from Monday. You book only your own hours;
another person's are theirs (
time_entry_not_yours). - While the week is open you change your hours (
PATCH /v1/time-entries/{time_entry_id}: the project, another day of the same week, the hours, the text, billable) and remove them (DELETE). Once the week is submitted or approved they no longer change (timesheet_not_open).
Approving a week
- Submit week (
POST /v1/timesheets/{timesheet_id}/submit) sends your week for approval; a week without hours is refused (timesheet_empty). - With the AI reviewer (Settings, the company's controls), the week is approved at once when no day has more than 12 hours, the week no more than 60 and every project is still open; otherwise it waits in Approvals with the checks that warned. With four eyes, every week waits in Approvals.
- In Approvals a person who may approve, and whose week it is not, approves it or rejects it with a reason. A rejected week is open again with the reason shown on it: put it right and submit it again.
- Time sheets shows your week (move between weeks with the arrows) and the weeks of everyone that wait for approval.
Invoicing the hours
A project's unbilled hours are the billable hours of approved weeks that are on no invoice, or on one that was rejected.
GET /v1/projects/{project_id}/unbilled(or Invoice on the project, which shows them first) lists them by person: the hours, the person's rate on the project today, the amount, and the first and last day.- Invoice (
POST /v1/projects/{project_id}/invoice) drafts one sales invoice to the project's customer in its currency, with the project's code as the reference: one line a person (Scanner-Einführung: Lena Meier, 26.10.2026 - 30.10.2026), their hours as the quantity and their rate as the price. Name a day (until) to bill only the hours up to it; nothing to bill is refused (project_nothing_to_invoice). - The invoice is an ordinary draft: checked, posted (the approval policy applies) and sent like any other. When it is rejected its hours are unbilled again and are invoiced anew.
- The rates are those in force when the hours are invoiced: change a rate before invoicing and the open hours are billed at the new one.
Assistants
An assistant (over MCP) lists projects with their unbilled hours
(list_projects), starts and changes them (create_project, update_project), shows and invoices
the unbilled hours (project_unbilled, invoice_project), books, changes and removes the
person's own hours (book_hours, change_hours, remove_hours), lists weeks (list_timesheets)
and submits the person's week (submit_timesheet), under the same rules. Approving a week stays in
Approvals.
Demo
Demo AG advises Zürich Kunde AG on rolling out its scanners (PR-00001, CHF 180 an hour, Lena
Meier CHF 210 as the lead). Lena's and Marco Bianchi's hours of two weeks ago are approved and on a
draft invoice that waits to be issued; last week's are approved and not yet invoiced; this week
Lena has booked her first hours. An internal planning meeting is not billable.