# Quickstart: services, customers & projects

Time tracking, budgets, quotations and invoices all build on three things. Set them up
in this order:

1. **Services**: what you sell, at which daily rate.
2. **Customers**: who you sell to, with special prices if you've agreed any.
3. **Projects**: the work, connecting a customer with your services.

## 1. Services

A **service** is a type of work with a **daily rate**, e.g. "Senior Developer, 1,200 €".
Every service belongs to a **service category** (e.g. *Development*, *Design*), so create
the categories first. Both live under **Administration → Services** (Admins only).

- **Every time entry needs a service.** Its rate × the booked time is the revenue of
  that entry.
- **Every team member has a service as their expertise**, their default rate (used e.g.
  when time is imported from Jira). A new workspace starts with a "Managing Director"
  service so the first account works right away; replace or extend it with your real
  price list.
- Mark a service **non-billable** for internal work such as admin, sales, training or
  internal projects. It has no rate and can't go on a quote or invoice. Time booked on it
  counts as hours (in hour budgets and capacity) but as 0 € in revenue, controlling and
  client reports. Work for a customer that you decide not to charge is different: keep
  the service billable there.
- **Archive** services you no longer sell. Their history stays intact.

## 2. Customers

A **customer** holds the company, its **addresses** (used on quotations and invoices) and
its **contacts**.

If you've agreed special prices with a customer, set **customer-specific rates** on the
customer. Their projects use those prices instead of your defaults, unless a project sets
its own.

Customers also have **assignments**: a user with the *Timetracker* role only sees projects
of customers (or projects) they're assigned to.

## 3. Projects

A **project** belongs to exactly one customer and gets a project number (PNR) that appears
on time reports, invoices and elsewhere.

A new project comes with planning boards and a first **"General / Briefing"** ticket, so
time can be booked before you've written any real tickets.

On the project you set:

- **Budget**: in **hours** or as an **amount**, for the whole project or **per month**
  (for retainers). An amount budget counts the value of the booked time and the project's
  external costs. An hour budget counts the booked hours; the external costs stand beside them,
  measured against what the confirmed quotations sold. A budget is over as soon as either is above
  100 %. A monthly budget counts the current month.
- **Project rates**: override service rates for this project only, e.g. for a fixed-price
  deal or a one-off discount.

## How rates cascade

When someone books time, docket takes the most specific rate for the chosen service:

1. **Project rate**, if set on this project
2. **Customer rate**, if agreed with this customer
3. **Account default**, the service's normal daily rate

Each time entry stores the rate that applied when it was booked, and revenue is calculated
from it (daily rate ÷ 8 hours). So Controlling shows real money, not an approximation.

If a rate changes later, existing entries keep their old one. Tick **Update existing timetrackings**
when saving (on the service, the customer or the project) and docket reprices the entries with the
new rate, older ones included. Issued invoices stay as they are.

## Checklist for your first hour

1. **Administration → Services**: create categories and services with real daily rates.
2. **Administration → Users**: give each team member their expertise (service).
3. **Administration → Customers**: create your first customer with its billing address, plus
   special rates if you've agreed any.
4. **Projects → New**: create the project, set the budget, check the rates.
5. Book a first time entry on the General ticket, then open **Project → Controlling** to
   see the numbers.