Profitability
get_profitabilityRevenue vs. costs, net profit, and margin over a period, optionally broken down by client. Answers "am I profitable this year?" or "which client is most profitable?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | A 4-digit year, or this_year / last_year / this_quarter / last_quarter. Omit for the current fiscal year. | |
| byClient | No | Include a per-client profitability breakdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | ||
| period | Yes | ||
| byMonth | Yes | ||
| summary | Yes | ||
| byClient | No | ||
| accountingMethod | Yes |