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
Get Cash Flow Statement
Retrieve cash flow statement from the database based on the ID
curl --request POST \
--url https://api.rootfi.dev/accounting/cash_flow_statement/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"period": {
"gt": 4000
}
}
}'
{
"data": {
"data": [
{
"platform_id": "2023-08-01_2023-08-31",
"period_start": "2023-10-01T00:00:00.000Z",
"period_end": "2023-10-01T00:00:00.000Z",
"operating_activities": [
{
"name": "Operating Activities",
"value": 0,
"line_items": [
{
"name": "Net Income",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Depreciation",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"investing_activities": [
{
"name": "Investing Activities",
"value": 0,
"line_items": [
{
"name": "Purchase of Fixed Assets",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Sale of Fixed Assets",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"financing_activities": [
{
"name": "Financing Activities",
"value": 0,
"line_items": [
{
"name": "Sale of Equity",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Sale of Debt",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"cash_at_beginning_of_period": 0,
"cash_at_end_of_period": 0,
"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"
}
Cash flow statements are financial statements that show the inflow and outflow of cash and cash equivalents from a company’s operations, investments, and financing activities over a specific period of time.
curl --request POST \
--url https://api.rootfi.dev/accounting/cash_flow_statement/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"period": {
"gt": 4000
}
}
}'
Authorizations
Body
asc
, desc
asc
, desc
asc
, desc
asc
, desc
asc
, desc
asc
, desc
asc
, desc
Response
List of Cash Flow Statement
The accounting platforms ID for this item
start date of the cash flow statement report
end date of the cash flow statement report
line_items for operating activities of income statement report
line_items for investing activities of income statement report
line_items for financing activities of income statement report
total amount at the beginning of the period
total amount at the end of the period
The last ISO 8601 timestamp that the data was updated at
Total Count of response object
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
curl --request POST \
--url https://api.rootfi.dev/accounting/cash_flow_statement/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"period_end": "asc"
},
"filter": {
"period": {
"gt": 4000
}
}
}'
{
"data": {
"data": [
{
"platform_id": "2023-08-01_2023-08-31",
"period_start": "2023-10-01T00:00:00.000Z",
"period_end": "2023-10-01T00:00:00.000Z",
"operating_activities": [
{
"name": "Operating Activities",
"value": 0,
"line_items": [
{
"name": "Net Income",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Depreciation",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"investing_activities": [
{
"name": "Investing Activities",
"value": 0,
"line_items": [
{
"name": "Purchase of Fixed Assets",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Sale of Fixed Assets",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"financing_activities": [
{
"name": "Financing Activities",
"value": 0,
"line_items": [
{
"name": "Sale of Equity",
"value": 0,
"account_id": "3770712000000000391"
},
{
"name": "Sale of Debt",
"value": 0,
"account_id": "3770712000000000391"
}
]
}
],
"cash_at_beginning_of_period": 0,
"cash_at_end_of_period": 0,
"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"
}