returns TrialBalance
Trial balance for posted entries in a date range.
| Name | Type | Description |
|---|---|---|
| startDate | Date | Start of the posting window (inclusive). |
| endDate | Date | End of the posting window (inclusive). |
Trial balance for posted entries in a date range — every CoA
account that had activity, plus aggregate totals.
Ledger is balanced when total_debits == total_credits. Used as
a sanity check before close-period; failure means an unposted /
malformed entry slipped through.
| Field | Type | Description |
|---|---|---|
| rows | [TrialBalanceRow!]! | — |
| totalDebits | Float! | — |
| totalCredits | Float! | — |
{ trialBalance { totalDebits totalCredits } }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": "{ trialBalance { totalDebits totalCredits } }"}'