Cash Flow Statements
TheCashFlowStatement
object is used to represent a company's cash flow statement.The CashFlowStatement object
Properties
id
StringRequired
remote_id
StringOptional
The third-party API ID of the matching object.
name
StringOptional
The cash flow statement's name.
start_period
StringOptional
The cash flow statement's start period.
end_period
StringOptional
The cash flow statement's end period.
cash_at_beginning_of_period
NumberOptional
Cash and cash equivalents at the beginning of the cash flow statement's period.
cash_at_end_of_period
NumberOptional
Cash and cash equivalents at the beginning of the cash flow statement's period.
operating_activities
ReportItem[]Required
The ReportItem object
The
ReportItem
object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report.{"remote_id": "10299","name": "Revenue","value": 1000,"sub_items": [{"remote_id": "10300","name": "Revenue - San Francisco","value": 500,"sub_items": []},{"remote_id": "10301","name": "Revenue - New York","value": 500,"sub_items": []}]}
Properties
remote_id
StringOptional
The third-party API ID of the matching object.
name
StringOptional
The report item's name.
value
NumberOptional
The report item's value.
sub_items
ObjectRequired
investing_activities
ReportItem[]Required
The ReportItem object
The
ReportItem
object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report.{"remote_id": "10299","name": "Revenue","value": 1000,"sub_items": [{"remote_id": "10300","name": "Revenue - San Francisco","value": 500,"sub_items": []},{"remote_id": "10301","name": "Revenue - New York","value": 500,"sub_items": []}]}
Properties
remote_id
StringOptional
The third-party API ID of the matching object.
name
StringOptional
The report item's name.
value
NumberOptional
The report item's value.
sub_items
ObjectRequired
financing_activities
ReportItem[]Required
The ReportItem object
The
ReportItem
object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report.{"remote_id": "10299","name": "Revenue","value": 1000,"sub_items": [{"remote_id": "10300","name": "Revenue - San Francisco","value": 500,"sub_items": []},{"remote_id": "10301","name": "Revenue - New York","value": 500,"sub_items": []}]}
Properties
remote_id
StringOptional
The third-party API ID of the matching object.
name
StringOptional
The report item's name.
value
NumberOptional
The report item's value.
sub_items
ObjectRequired
remote_generated_at
StringOptional
The time that cash flow statement was generated by the accounting system.
remote_was_deleted
BooleanRequired
Indicates whether or not this object has been deleted on the third-party.
The CashFlowStatement object
JSON
{"id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b","remote_id": "8211088","name": "CashFlow","start_period": "2020-01-01T00:00:00Z","end_period": "2020-03-31T00:00:00Z","cash_at_beginning_of_period": 5000,"cash_at_end_of_period": 4063.52,"operating_activities": [{"remote_id": "10299","name": "Operating Activities","value": 1000,"sub_items": null}],"investing_activities": [{"remote_id": "10230","name": "Investing Activities","value": 1000,"sub_items": null}],"financing_activities": [{"remote_id": "10231","name": "Financing Activities","value": 1000,"sub_items": null}],"remote_generated_at": "2020-04-01T00:00:00Z","remote_was_deleted": true}
GET
/cash-flow-statements
Returns a list of CashFlowStatement
objects.
Header Parameters
Authorization
StringRequired
Token-based authentication with required prefix "Bearer"
X-Account-Token
StringRequired
Token identifying the end user.
Query & Path Parameters
created_after
StringOptional
If provided, will only return objects created after this datetime.
created_before
StringOptional
If provided, will only return objects created before this datetime.
cursor
StringOptional
The pagination cursor value.
include_deleted_data
BooleanOptional
Whether to include data that was deleted in the third-party service.
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
modified_after
StringOptional
If provided, will only return objects modified after this datetime.
modified_before
StringOptional
If provided, will only return objects modified before this datetime.
page_size
IntegerOptional
Number of results to return per page.
remote_id
StringOptional
The API provider's ID for the given object.
Response
JSON
{"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results": [{"id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b","remote_id": "8211088","name": "CashFlow","start_period": "2020-01-01T00:00:00Z","end_period": "2020-03-31T00:00:00Z","cash_at_beginning_of_period": 5000,"cash_at_end_of_period": 4063.52,"operating_activities": [{"remote_id": "10299","name": "Operating Activities","value": 1000,"sub_items": null}],"investing_activities": [{"remote_id": "10230","name": "Investing Activities","value": 1000,"sub_items": null}],"financing_activities": [{"remote_id": "10231","name": "Financing Activities","value": 1000,"sub_items": null}],"remote_generated_at": "2020-04-01T00:00:00Z","remote_was_deleted": true}]}
GET
/cash-flow-statements/{id}
Returns a CashFlowStatement
object with the given id
.
Header Parameters
Authorization
StringRequired
Token-based authentication with required prefix "Bearer"
X-Account-Token
StringRequired
Token identifying the end user.
Query & Path Parameters
id
StringRequired
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
Response
JSON
{"id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b","remote_id": "8211088","name": "CashFlow","start_period": "2020-01-01T00:00:00Z","end_period": "2020-03-31T00:00:00Z","cash_at_beginning_of_period": 5000,"cash_at_end_of_period": 4063.52,"operating_activities": [{"remote_id": "10299","name": "Operating Activities","value": 1000,"sub_items": null}],"investing_activities": [{"remote_id": "10230","name": "Investing Activities","value": 1000,"sub_items": null}],"financing_activities": [{"remote_id": "10231","name": "Financing Activities","value": 1000,"sub_items": null}],"remote_generated_at": "2020-04-01T00:00:00Z","remote_was_deleted": true}