returns Statement
Rendered financial statement for a report + block_type.
| Name | Type | Description |
|---|---|---|
| reportId | String! | The report the statement belongs to. |
| blockType | String! | Which statement to render, e.g. income_statement. |
Rendered financial statement — facts viewed through a structure.
Returned by report read endpoints when a single statement is
requested. The package mode endpoint returns a list of these
rehydrated as InformationBlockEnvelope items instead.
| Field | Type | Description |
|---|---|---|
| reportId | String! | The Report this statement was rendered from. |
| structureId | String! | Structure projected for this statement. |
| structureName | String! | Human-readable structure name. |
| blockType | String! | Structure category: balance_sheet, income_statement, cash_flow_statement, equity_statement, schedule. |
| periods | [PeriodSpec!]! | Period columns rendered in this statement, in display order. |
| rows | [FactRow!]! | One row per concept in the structure, in tree order. |
| validation | ValidationCheck | Outcome of running reporting rules over this structure. Null when the structure has no rules attached. |
| unmappedCount | Int! | Number of GL elements that fell through the mapping with no destination concept. Indicates mapping gaps. |
{ statement(reportId: "...", blockType: "...") { reportId structureId structureName blockType } }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ statement(reportId: \"...\", blockType: \"...\") { reportId structureId structureName blockType } }"}'