curl --request POST \
--url https://api.rootfi.dev/accounting/accounts/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"nominal_code": "asc"
},
"filter": {
"name": {
"eq": "Rootfi Test"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 123456,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"platform_id": "1234567890123456789",
"currency_id": "3770712000000000099",
"parent_account_id": null,
"nominal_code": "Rootfi 01",
"name": "Test Account",
"description": "Test Description",
"sub_category": "long_term_liability",
"current_balance": 12345,
"category": "LIABILITY",
"status": "ACTIVE",
"updated_at": "2021-09-28T15:00:00.000Z",
"currency": {
"data": {
"platform_id": "3770712000000000099",
"name": "Indian Rupee",
"code": "INR",
"symbol": "₹",
"is_base_currency": true,
"exchange_rate": 0,
"updated_at": null
}
},
"parent_account": {}
}
],
"total_count": 0
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}List all Accounts
curl --request POST \
--url https://api.rootfi.dev/accounting/accounts/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"nominal_code": "asc"
},
"filter": {
"name": {
"eq": "Rootfi Test"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 123456,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"platform_id": "1234567890123456789",
"currency_id": "3770712000000000099",
"parent_account_id": null,
"nominal_code": "Rootfi 01",
"name": "Test Account",
"description": "Test Description",
"sub_category": "long_term_liability",
"current_balance": 12345,
"category": "LIABILITY",
"status": "ACTIVE",
"updated_at": "2021-09-28T15:00:00.000Z",
"currency": {
"data": {
"platform_id": "3770712000000000099",
"name": "Indian Rupee",
"code": "INR",
"symbol": "₹",
"is_base_currency": true,
"exchange_rate": 0,
"updated_at": null
}
},
"parent_account": {}
}
],
"total_count": 0
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}curl --request POST \
--url https://api.rootfi.dev/accounting/accounts/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"nominal_code": "asc"
},
"filter": {
"name": {
"eq": "Rootfi Test"
}
}
}'
Show child attributes
asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc Show child attributes
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this account
The unique ID we assign for that data's information
The RootFi designated id for the company
The RootFi designated id for the organisation
The accounting platform from which the data is being retrieved
ZOHO_BOOKS, QUICKBOOKS_SANDBOX, QUICKBOOKS, XERO, TALLY, SAGE_CLOUD_ACCOUNTING, MS_DYNAMICS_365, SAGE_ZA_CLOUD_ACCOUNTING, MYOB_BUSINESS, WAVE, ODOO_ACCOUNTING, NETSUITE, WAFEQ, MEKARI_JURNAL, BUSY, ROOTFI_SANDBOX, QOYOD The latest date at which RootFi updated this data
The date at which RootFi first synced this data
The Accounting Platform’s unique ID for the currency
The platform ID of the parent account
Reference given to each account for a business. It ensures money is allocated to the correct account.
The name of the account
Description of the account
The sub category of the account
Current balance of the account
The category of the account.
ASSET, EXPENSE, LIABILITY, EQUITY, INCOME, BANK, UNKNOWN The status of the account.
ACTIVE, ARCHIVED, UNKNOWN Date the record was last updated in the accounting platform.
Detailed information about the currency,
Show child attributes
Currency associated with the account.
Show child attributes
The ID that the accounting platform uses to identify this currency
The name of the currency
The code of the currency
The symbol of the currency
Is this the base currency of the organisation?
The exchange rate of the currency
The last ISO 8601 timestamp that the data was updated at
Detailed information about the parent account,
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this account
The Accounting Platform’s unique ID for the currency
The platform ID of the parent account
Reference given to each account for a business. It ensures money is allocated to the correct account.
The name of the account
Description of the account
The sub category of the account
Current balance of the account
The category of the account.
ASSET, EXPENSE, LIABILITY, EQUITY, INCOME, BANK, UNKNOWN The status of the account.
ACTIVE, ARCHIVED, UNKNOWN Date the record was last updated in the accounting platform.
The total count of the accounts
The time at which the request was received by the server
The time at which the response was sent by the server
The unique ID of the request