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
Cash Flow Statements
Get Cash Flow Statement
Retrieve cash flow statement from the database based on the ID
POST
/
accounting
/
cash_flow_statement
/
all
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
application/json
Response
200 - application/json
The response is of type object
.
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"
}