General ledger
/general-ledger/opening-trial-balance
Retrieve active balance-sheet and equity opening trial balance rows. Operating is editable for non-bank ledger accounts, Trust is read-only, and Combined is calculated as Operating plus Trust. Bank rows are visible but cannot be edited or imported. Trust totals aggregate active Trust journal activity across all party attribution before the GL start date.
Required scope: general-ledger:read
Authorization
apiKey X-API-Key<token>
API key provided in dashboard
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://staging.api.vrplatform.app/general-ledger/opening-trial-balance"{
"glStartAt": "string",
"openingDate": "string",
"source": {
"mode": "manual",
"editable": true,
"lastUpdatedAt": "string",
"externalConnectionId": "8668fec7-5442-4f84-b4ee-567e9b4bf174"
},
"locked": true,
"lockReasons": [
"string"
],
"rows": [
{
"accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
"accountName": "string",
"classification": "asset",
"type": "ledger",
"combinedCentTotal": -9007199254740991,
"trustCentTotal": -9007199254740991,
"operatingCentTotal": -9007199254740991,
"editable": true,
"importable": true
}
],
"assignment": {
"accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
"accountName": "string",
"combinedCentTotal": -9007199254740991,
"trustCentTotal": -9007199254740991,
"operatingCentTotal": -9007199254740991
}
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"retryable": true,
"context": null
}