latestOpenAPI 3.0.02026-08-10233809957.8 KB
5cdfae3fa1fa
Chart of Accounts
Gets the latest chart of accounts for a business.
get/accounts
Query parameters
businessNamestring required
serviceName'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' required
offsetnumber
The offset is the position in the dataset of a particular record.
limitnumber
This is the size of the results set you would like (default: 100).
orderBystring
isActiveboolean
Confirms whether the account is an active account or not.
Response
Example response
{
"count": 1,
"meta": {
"reportId": [
"5fad8a342a88364234392fb5",
"5fad8a342a88364234392fb6"
],
"serviceName": "xero",
"businessName": "Railz",
"createdAt": "2020-11-25T01:02:03Z",
"updatedAt": "2020-11-30T01:02:03Z"
},
"data": [
{
"id": "1",
"nominalCode": "200",
"name": "Bank Account",
"description": "Account description.",
"group": "Cash And Cash Equivalents",
"subGroup": "Checking",
"classification": "Asset",
"fullyQualifiedName": "Expenses : Transportation : Car Mileage",
"depth": 3,
"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",
"type": "Accounts Receivable",
"currencyRef": {
"id": "CAD",
"name": "Canadian Dollar",
"symbol": "USD,CAD"
}
}
]
}