v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Reports

Profit and Loss

Generate a Profit and Loss Statement

post/v6/reports/profitAndLoss

Request body

exportType'JSON' | 'CSV'

Export format for the report

accountingMethod'ACCRUAL' | 'CASH'

Accounting method to generate the report in. Defaults to the company's configured accounting method.

Example request

{
  "filter": {
    "beginDate": "2025-01-01",
    "endDate": "2025-12-31",
    "dimensionValues": [
      {
        "dimensionId": "tdim_439512"
      }
    ]
  },
  "grouping": {
    "period": "MONTHLY",
    "dimensionId": "tdim_439512"
  }
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.