get-profit-and-loss-v2
Get the profit and loss v2 report for a company. Dates are optional and default to year to date. Returns report plus the containsUnreconciledData and hasMulticurrency flags. Use get-profit-and-loss for the original report over a required range, get-revenue-summary for this report defaulting to the current quarter, or get-balance-sheet for assets and liabilities. Requires the invoice:read scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | Report end date (YYYY-MM-DD). Defaults to today. | |
| dateFrom | No | Report start date (YYYY-MM-DD). Defaults to 1 January of the current year. | |
| companyId | Yes | Company ID |