Puzzle / Developers
API referenceReports

Get Income Statement

GET /company/{id}/statements/profitLoss

GET/company/{id}/statements/profitLoss

Path Parameters

id*string

The company ID

Length1 <= length

Query Parameters

basis?string

The value is normalized before matching, so any casing that maps onto a listed value is accepted.

Value in

  • "cash"
  • "accrual"
viewBy?string

The value is normalized before matching, so any casing that maps onto a listed value is accepted.

Value in

  • "month"
  • "quarter"
  • "year"
  • "totals"
  • "departments"
startPeriod?string
Length1 <= length
endPeriod?string
Length1 <= length
dateMacro?string

Value in

  • "CurrentMonth"
  • "LastFullMonth"
  • "LastThreeMonths"
  • "LastThreeFullMonths"
  • "CurrentYear"
  • "LastYear"
  • "QuarterToDate"
  • "YearToDate"
departments?|array<string>

One or more cls_ classification segment IDs returned by GET /company/{id}/classifications, or the case-insensitive literal "none". Values may be repeated or comma-separated.

locations?|array<string>

One or more cls_ classification segment IDs returned by GET /company/{id}/classifications, or the case-insensitive literal "none". Values may be repeated or comma-separated.

expandCounterparties?string

Boolean flag; "true" enables, any other value disables

expandRevenueSources?string

Boolean flag; "true" enables, any other value disables

Response Body

application/json

curl -X GET "https://example.com/company/string/statements/profitLoss"
{  "columns": [    {      "key": "string",      "label": "string",      "dateRange": {        "start": "string",        "end": "string"      }    }  ],  "lines": [    {      "id": "string",      "title": "string",      "values": [        {          "balance": "string",          "columnKey": "string"        }      ],      "accountId": "string",      "accountNumber": "string",      "parentId": "string",      "childIds": [        "string"      ],      "lineType": "account",      "metadata": {        "counterpartyName": "string",        "counterpartyType": "customer",        "revenueSourceType": "transaction"      }    }  ]}

Schema refreshed 2026-11-11T18:57:48.657Z