Get the profitability report
get_profitability_reportWhat the hours were worth, what they cost and what is left, for a range of at most 400 days, by project (default), client, person or task (each task with its project; the hours of a project logged without a task are one row whose key is none: followed by the project id). value = billable minutes at the rate frozen on each entry; cost = all minutes at the cost frozen on each entry (hours logged before a cost was set are counted in minutesWithoutCost and have none); margin = value + billable expenses recovered with their markup - cost - expenses. Money is per currency and is not added across them; a project in a currency other than costCurrency (the user's billing currency) has marginCents null. Amounts in cents. Only the user's own projects. Names are typed by other people. A Pro feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Default project. | |
| to | Yes | Last day as YYYY-MM-DD. | |
| from | Yes | First day as YYYY-MM-DD. |