General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
- Accounts
- Bank Accounts
- Bank Transactions
- Bills
- Bill Payments
- Bill Credit Notes
- Contacts
- Company Info
- Currencies
- Documents
- Expenses
- Invoice Credit Notes
- Invoices
- Invoice Payments
- Items
- Journal Entries
- Purchase Orders
- Sales Orders
- Goods Receipt Notes
- Projects
- Tax Rates
- Tracking Categories
- Balance Sheet
- Cash Flow Statements
- Income Statements
Balance Sheet
Get All Balance Sheets
List all Balance Sheets
POST
/
accounting
/
balance_sheet
/
all
curl --request POST \
--url https://api.rootfi.dev/accounting/balance_sheet/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"currency_id": {
"eq": "5000000000000279512"
}
}
}'
{
"data": {
"data": [
{
"platform_id": "2023-08-01_2023-08-31",
"assets": [
{
"name": "Assets",
"value": 2078850834.58,
"line_items": [
{
"name": "Other Assets",
"value": 1,
"line_items": [
{
"name": "01 OAsset Account",
"value": 1,
"account_id": "3770712000001313001"
}
]
},
{
"name": "Fixed Assets",
"value": -64,
"line_items": [
{
"name": "05 Fixed Asset ACC",
"value": -64,
"account_id": "3770712000001313021"
}
]
}
]
}
],
"liabilities": [
{
"name": "Liabilities",
"value": 2077823414.08,
"line_items": [
{
"name": "Long Term Liabilities",
"value": 44.15,
"line_items": [
{
"name": "Long Term Liability Acc",
"value": -1,
"account_id": "3770712000001313045"
},
{
"name": "Rootfi Test 5",
"value": 45.15,
"account_id": "3770712000000238001"
}
]
},
{
"name": "Other Liabilities",
"value": 124,
"line_items": [
{
"name": "OTHERLIABILITY Acc",
"value": 124,
"account_id": "3770712000001313051"
}
]
}
]
}
],
"equity": [
{
"name": "Equities",
"value": 1027420.5,
"line_items": [
{
"name": "13 EquityACC",
"value": 1,
"account_id": "3770712000001313061"
},
{
"name": "Capital Stock",
"value": 88,
"account_id": "3770712000000076068"
},
{
"name": "Retained Earnings",
"value": 33072,
"account_id": "3770712000000000379"
}
]
}
],
"period_start": "2023-10-01T00:00:00.000Z",
"period_end": "2023-10-31T00:00:00.000Z",
"net_assets": 0,
"currency_id": "5000000000000279512",
"updated_at": "2000-12-31T18:30:00.000Z"
}
],
"total_count": 123
},
"request_timestamp": "2000-12-31T18:30:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
A balance sheet is a financial report that shows a business’s assets, liabilities, and equity at a specific point in time. In an accounting platform, a balance sheet is typically generated automatically based on the financial transactions that have been recorded in the system.
curl --request POST \
--url https://api.rootfi.dev/accounting/balance_sheet/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"currency_id": {
"eq": "5000000000000279512"
}
}
}'
Authorizations
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://api.rootfi.dev/accounting/balance_sheet/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"currency_id": {
"eq": "5000000000000279512"
}
}
}'
{
"data": {
"data": [
{
"platform_id": "2023-08-01_2023-08-31",
"assets": [
{
"name": "Assets",
"value": 2078850834.58,
"line_items": [
{
"name": "Other Assets",
"value": 1,
"line_items": [
{
"name": "01 OAsset Account",
"value": 1,
"account_id": "3770712000001313001"
}
]
},
{
"name": "Fixed Assets",
"value": -64,
"line_items": [
{
"name": "05 Fixed Asset ACC",
"value": -64,
"account_id": "3770712000001313021"
}
]
}
]
}
],
"liabilities": [
{
"name": "Liabilities",
"value": 2077823414.08,
"line_items": [
{
"name": "Long Term Liabilities",
"value": 44.15,
"line_items": [
{
"name": "Long Term Liability Acc",
"value": -1,
"account_id": "3770712000001313045"
},
{
"name": "Rootfi Test 5",
"value": 45.15,
"account_id": "3770712000000238001"
}
]
},
{
"name": "Other Liabilities",
"value": 124,
"line_items": [
{
"name": "OTHERLIABILITY Acc",
"value": 124,
"account_id": "3770712000001313051"
}
]
}
]
}
],
"equity": [
{
"name": "Equities",
"value": 1027420.5,
"line_items": [
{
"name": "13 EquityACC",
"value": 1,
"account_id": "3770712000001313061"
},
{
"name": "Capital Stock",
"value": 88,
"account_id": "3770712000000076068"
},
{
"name": "Retained Earnings",
"value": 33072,
"account_id": "3770712000000000379"
}
]
}
],
"period_start": "2023-10-01T00:00:00.000Z",
"period_end": "2023-10-31T00:00:00.000Z",
"net_assets": 0,
"currency_id": "5000000000000279512",
"updated_at": "2000-12-31T18:30:00.000Z"
}
],
"total_count": 123
},
"request_timestamp": "2000-12-31T18:30:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
Assistant
Responses are generated using AI and may contain mistakes.