Billable and non-billable hours with billable share
mite_report_billable_ratioCalculate billable and non-billable hours plus the billable share percentage for a chosen period, optionally grouped by customer, project, user, or month.
Instructions
Billable hours, non-billable hours and the billable share in percent for a period, optionally per customer, project, user, month, aggregated on the mite server. For revenue or other groupings use mite_report. Returns hours and a ratio in percent with one decimal, per group and as a total. Read-only, no paging, default period is this year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the period: a date as YYYY-MM-DD (e.g. 2026-03-31) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). Default: today when only from is a date; without from the period is just this date. | |
| from | No | Start of the period: a date as YYYY-MM-DD (e.g. 2026-01-01) or a keyword (today, yesterday, this_week, last_week, this_month, last_month, this_year, last_year). A keyword alone selects that whole period and ignores the end of it; a date alone runs up to today. Default: this_year (when from and to are both omitted). | |
| group_by | No | One of: customer, project, user, month, e.g. "customer". Default: only the total, no rows. |