Skip to content

Trial balance

Request

Retrieves the trial balance for a fund at a specific date.

Security
Class_oAuth(Required scopes: fund.read)
Path
businessCodestringrequired

Class business code

Example:demo-business
fundCodestringrequired

Class entity code

Example:demo-fund
Query
atDatestring, (date)required

The date at which the data will be returned up to

Example:atDate=2024-07-01
curl -i -X GET \
  'https://api.class-pie.com.au/api/1.0/f/demo-business/demo-fund/report-data/accounting-reports/trial-balance-details?atDate=2024-07-01' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success (Ok)

Bodyapplication/json
ErrorsArray of objectsrequired
Example:
[]
Dataobjectrequired
Response
{ "Data": { "FundName": "string", "FundCode": "string", "BalanceAtDate": "2019-08-24", "PeriodUpdateRun": true, "PriorYearNotOnSystem": true, "AccountBalanceGroups": [ { "Name": "Investment Income Accounts", "AccountBalances": [ { "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "AccountDescription": "Investment Income", "Depth": 2, "CurrentBalance": { "QuantityOut": 100, "Quantity": 500, "QuantityOutSpecified": true, "AccountBalance": 125000.75, "AccountBalanceDirection": "Undefined", "IsSummary": false }, "PreviousBalance": { "QuantityOut": 100, "Quantity": 500, "QuantityOutSpecified": true, "AccountBalance": 125000.75, "AccountBalanceDirection": "Undefined", "IsSummary": false }, "HasChildWithQuantity": false } ] } ] }, "Errors": [] }