getIncomeStatement
getIncomeStatementRetrieve income statement (P&L) reports filtered by customer, contract, or account, with currency and cadence options.
Instructions
Retrieve the income statement (P&L) report. Supports per-customer / per-contract / per-account scoping via filters and currency / cadence selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | Start date for the income statement period (YYYY-MM-DD). | |
| end_date | No | End date for the income statement period (YYYY-MM-DD). | |
| cadence | No | Bucket cadence for the report. One of 'month', 'quarter', 'year'. Defaults to 'month'. | |
| currency | No | Three-letter ISO currency code to scope the report (e.g. 'USD'). | |
| customer_id | No | Restrict report to a single customer UUID (enables per-customer P&L). | |
| contract_id | No | Restrict report to a single billing contract UUID (enables per-contract P&L). | |
| account_id__in | No | Filter to a list of GL account UUIDs. | |
| grouping_keys | No | Optional grouping dimensions, e.g. ['customer_id'] or ['contract_id']. | |
| get_changes | No | If true, return period-over-period changes (default true for income statement). | |
| cursor | No | Cursor for pagination. | |
| limit | No | Maximum rows per page (default 10). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |