Trips & mileage
Goal: Know where you maintain mileage rates and travel allowances, which price applies to a trip, and what the trip looks like on your customer’s invoice.
Where a trip is recorded
A trip is always part of a time entry. You record it in the time entry form in the section “Trips” via “Add trip”. A time entry can have several trips, for example first to the customer and then on to the customer’s branch.
For each trip you enter:
| Field | Meaning |
|---|---|
| Vehicle / Transport mode | Company car, private car, public transport … A vehicle can carry its own mileage rate (see below). |
| Start location / Destination | Your location and the customer’s address. If the distance is stored for the customer, kilometers and travel time are pre-filled. |
| Distance (km) / Travel time (min) | For the one-way route. |
| Outbound / Return / Round trip | With “Round trip” (default), kilometers and travel time are doubled. |
| Billing mode | “Distance-Based” (kilometers × rate) or “Flat rate” (fixed amount). |
| Parking fees (€) / Toll fees (€) | Charged additionally as incidental costs. |
| Distance billable | Switches only the kilometers or the flat rate off — parking and tolls remain. |
| Travel time billable | Whether the travel time is billed (default: off). |

The mileage rate: order of precedence
For a distance-based trip the rule is: kilometers × mileage rate. Which rate applies is decided by this order of precedence — the first level with a value wins:
-
Contract rate per service type
Where it is maintained: maintenance contract → “Conditions” → “Hourly rates”, column €/km in the row of the service type.
Dated with “Valid from”, like the hourly rate.
-
Travel condition of the contract
Where it is maintained: maintenance contract → “Conditions” → “Travel fees” → “Travel €/km”.
Applies to all service types of the contract.
-
Customer condition
Where it is maintained: organization → tab “Conditions” → “Travel conditions” → “Travel €/km”.
For customers without a maintenance contract who nevertheless have their own rate.
-
Tenant default
Where it is maintained: Administration → Time & Billing → Billing → “Mileage rate” → “Default €/km”.
Your normal kilometer price for all customers.
Nothing maintained anywhere: In that case Codemeta OS calculates with 0.30 €/km, so that no trip is accidentally free. The time entry form then shows “no rate maintained”.
In the time entry form, the area “Conditions for this service” shows under “Mileage rate” which level applied: “Contract”, “Contract, travel condition”, “Customer condition”, “Tenant default” or “no rate maintained”.
Special case: vehicle
For each vehicle in the fleet you can store a “Rate per km (€)”. If you select this vehicle in the trip, its rate is taken over for the trip — it then replaces the rate from the order of precedence above. If nothing is entered on the vehicle, the rate from the order of precedence remains.
You can change the mileage rate of a single trip by hand in the time entry form. What is shown there is what gets billed.
Flat-rate trips: travel allowances
Many service companies do not bill travel by kilometers, but by zones, e.g. “Zone 1 – nearby up to 15 km: 29.00 €”. Administration maintains these zones under Service types → tab “Travel Allowances”:
| Field | Meaning |
|---|---|
| Name | e.g. “Zone 1 - nearby” |
| From (km) / To (km) | Distance range of the one-way route |
| Allowance (€) | Amount for the trip |
| Includes travel time / Travel time flat rate (€) | Optionally a fixed amount for the travel time |
| Sort order | If zones overlap, the first matching zone wins |
If you set the billing mode of a trip to “Flat rate”, Codemeta OS selects the matching zone based on the kilometers and takes over its amount. You can override the amount in the trip.
For flat-rate trips:
- The allowance is not multiplied by the kilometers, and it is not doubled for “Round trip”.
- The amount is taken over into the trip when it is recorded. If you change the zone later, trips already booked remain unchanged.
- Parking and tolls are added anyway.
Default per customer: the travel configuration
So that you do not have to type in kilometers and mode every time, you can store a travel configuration on the organization (organization → “Edit” → section “Travel Configuration”, customers only):
- “Default Billing Mode”: “Distance-Based” or “Flat rate”.
- “Distances from Own Locations”: a table of your locations × customer addresses with distance, duration and an optional default allowance. “Calculate All” determines the values automatically via a route planner.
A new trip takes over these values as a suggestion. The tile “Travel” on tickets and sales opportunities shows the same values (“Billing flat rate” or “Billing distance-based”).
Travel time
Time spent in the car is not billable by default. If you activate “Travel time billable” in the trip, there are two variants:
- Hourly rate: you enter a rate for the travel time. If the field is empty, the travel time is billed at 0.00 €; the placeholder shows the hourly rate of the time entry as a guide.
- Travel time flat rate (€): a fixed amount, e.g. from the zone with “Includes travel time”.
The travel time appears on the invoice as its own line item, or as part of the trip summary line — it is not booked as an additional time entry.
Travel allowances on contract and customer
On the contract (“Travel fees”) and on the organization (“Travel conditions”), besides the mileage rate, there are the fields “Flat fee per assignment” and “Vehicle base fee”.
When a trip is not billed
- The time entry is booked internally: “Internal booking — the trip is not billed.”
- The time entry is not billable (billability “None” or service type “n.b.”), and the billing settings have “Do not bill trips of a non-billable time entry either” active (default). The trip then appears on the report at 0.00 €.
- “Distance billable” is switched off — then only the kilometers or the flat rate are dropped.
How trips appear on the invoice
How trips are shown on the service report and the invoice is set once, centrally, by administration: Administration → Time & Billing → Billing → “Trip billing”.
| Setting | What it looks like on the invoice |
|---|---|
| “Show in one summary line” (default) | One line per time entry directly below it, with all costs of the trips (kilometers, flat rates, parking, tolls, travel time). Clear for most customers. |
| “Show everything individually” | One line per trip for the route (kilometers × rate or “1 flat”), one for the travel time and one for the incidental costs. Maximum transparency. |
| “Show only kilometers and zone individually” | Route and zone as separate lines. The price then comes not from the trip, but either from the hourly rate of the time entry (“Identical to time entry price”) or from a separate “trip article”. Suits the unit “piece”. |
| “Do not show individually” | Trips do not appear on the invoice. |
Each trip line refers to its time entry (“For time entry #…”), so that your customer can match it. Which articles are used for the trip lines (important for weclapp and DATEV) is set in the same area under “Trip article”.