The number of levels is dependent on the Accounting Service Provider (ASP) and Railz supports any number of levels as supported by each ASP. In our Chart of Accounts endpoint, the depth
field determines this hierarchical level of the account.
Example :
"data": [
{
"id": "1",
"nominalCode": "200",
"name": "Bank Account",
"description": "Account description.",
"section": "Assets",
"subSection": "Current Assets",
"group": "Cash And Cash Equivalents",
"subGroup": "Checking",
"classification": "Asset",
"fullyQualifiedName": "Expenses : Transportation : Car Mileage",
"depth": 3,
"currencyRef": {
"id": "CAD",
"name": "Canadian Dollar",
"symbol": "USD,CAD"
},
"currentBalance": 0,
"type": "Accounts Receivable",
"subType": "Accounts Receivable",
"isBankAccount": true,
"isSubAccount": true,
"isActive": true,
"subsidiaryRefs": [
{
"id": "1",
"name": "Railz Financial"
}
],
"parentRef": {
"id": "4",
"name": "assets"
},
"sourceModifiedDate": "2021-03-09T10:18:29.985Z"
}
]
The above example shows the response from GET /accounts
endpoint in which the fullyQualifiedName
and depth
fields give the information about the level of accounts.