Browse the extensions reference

accountRollups

returns AccountRollups

CoA accounts grouped by reporting element with balances.

Arguments

NameTypeDescription
mappingIdStringThe mapping whose associations group the accounts. Omit for the active mapping.
startDateDateStart of the balance window (inclusive).
endDateDateEnd of the balance window (inclusive).

Returns AccountRollups

Mapping rendered as account rollups — every reporting concept the mapping defines, with the CoA accounts that contribute to it and the current balance for each. totalUnmapped tracks gaps for UI.

FieldTypeDescription
mappingIdString!
mappingNameString!
groups[AccountRollupGroup!]!
totalMappedInt!
totalUnmappedInt!

Example

query
{ accountRollups { mappingId mappingName totalMapped totalUnmapped } }
curl
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": "{ accountRollups { mappingId mappingName totalMapped totalUnmapped } }"}'