Browse the extensions reference

mappingCandidates

returns [Element!]!

The rs-gaap concepts a chart-of-accounts element may map to.

Limited to concepts that actually render under the active Reporting Style — falling back to the rs-gaap-presentation set when no Style is seeded — with statement-level subtotals excluded. It is the same candidate set the mapping operator picks from, so a target that would land a fact on an unreachable branch is never offered.

Arguments

NameTypeDescription
classificationString!The CoA element's EFS classification - asset, liability, equity, revenue, expense, gain or loss - whose eligible rs-gaap targets to return.

Returns Element

Element with taxonomy context — extends AccountResponse.

FieldTypeDescription
idString!—
codeString—
nameString!—
descriptionString—
qnameString—
namespaceString—
traitString—
subClassificationString—
balanceTypeString!—
periodTypeString!—
isAbstractBoolean!—
elementTypeString!—
sourceString!—
taxonomyIdString—
parentIdString—
depthInt!—
isActiveBoolean!—
externalIdString—
externalSourceString—

Example

query
{ mappingCandidates(classification: "...") { id code name description } }
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": "{ mappingCandidates(classification: \"...\") { id code name description } }"}'