Cash Flow Statements
The CashFlowStatement object shows operating activities, investing activities, and financing activities over a period of time (month, quarter, or year).
The CashFlowStatement object
Properties

idString
Required

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The cash flow statement's name.

currencyEnum
Optional
The cash flow statement's currency. Possible values include: XUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL, or - in cases where there is no clear mapping - the original value passed through.

companyString
Optional
The company the cash flow statement belongs to.

start_periodString
Optional
The cash flow statement's start period.

end_periodString
Optional
The cash flow statement's end period.

cash_at_beginning_of_periodNumber
Optional
Cash and cash equivalents at the beginning of the cash flow statement's period.

cash_at_end_of_periodNumber
Optional
Cash and cash equivalents at the beginning of the cash flow statement's period.

operating_activitiesReportItem[]
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.
JSON
{
"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": []
}
],
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"modified_at": "2021-10-16T00:00:00Z"
}
Properties

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The report item's name.

valueNumber
Optional
The report item's value.

sub_itemsObject
Required

companyString
Optional
The company the report item belongs to.

modified_atString
Required
This is the datetime that this object was last updated by Merge

investing_activitiesReportItem[]
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.
JSON
{
"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": []
}
],
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"modified_at": "2021-10-16T00:00:00Z"
}
Properties

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The report item's name.

valueNumber
Optional
The report item's value.

sub_itemsObject
Required

companyString
Optional
The company the report item belongs to.

modified_atString
Required
This is the datetime that this object was last updated by Merge

financing_activitiesReportItem[]
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.
JSON
{
"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": []
}
],
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"modified_at": "2021-10-16T00:00:00Z"
}
Properties

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The report item's name.

valueNumber
Optional
The report item's value.

sub_itemsObject
Required

companyString
Optional
The company the report item belongs to.

modified_atString
Required
This is the datetime that this object was last updated by Merge

remote_generated_atString
Optional
The time that cash flow statement was generated by the accounting system.

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted by third party webhooks.

field_mappingsObject
Optional

modified_atString
Required
This is the datetime that this object was last updated by Merge

remote_dataRemoteData[]
Optional

The CashFlowStatement object
JSON
{
"id": "5b3c1341-a20f-4e51-b72c-f3830a16c97b",
"remote_id": "8211088",
"name": "CashFlow",
"currency": "USD",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"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": []
}
],
"investing_activities": [
{
"remote_id": "10230",
"name": "Investing Activities",
"value": 1000,
"sub_items": []
}
],
"financing_activities": [
{
"remote_id": "10231",
"name": "Financing Activities",
"value": 1000,
"sub_items": []
}
],
"remote_generated_at": "2020-04-01T00:00:00Z",
"remote_was_deleted": true,
Show advanced fields
}

GET
/cash-flow-statements

Returns a list of CashFlowStatement objects.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Query & Path Parameters

company_idString
Optional
If provided, will only return cash flow statements for this company.

created_afterString
Optional
If provided, will only return objects created after this datetime.

created_beforeString
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

include_deleted_dataBoolean
Optional
Whether to include data that was marked as deleted by third party webhooks.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterString
Optional
If provided, only objects synced by Merge after this date time will be returned.

modified_beforeString
Optional
If provided, only objects synced by Merge before this date time will be returned.

page_sizeInteger
Optional
Number of results to return per page.

remote_idString
Optional
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",
"currency": "USD",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"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": []
}
],
"investing_activities": [
{
"remote_id": "10230",
"name": "Investing Activities",
"value": 1000,
"sub_items": []
}
],
"financing_activities": [
{
"remote_id": "10231",
"name": "Financing Activities",
"value": 1000,
"sub_items": []
}
],
"remote_generated_at": "2020-04-01T00:00:00Z",
"remote_was_deleted": true,
Show advanced fields
}
]
}
Field support by platform
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


cash_at_beginning_of_periodNumber

cash_at_end_of_periodNumber

currencyEnum

end_periodString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_generated_atString

start_periodString
FreshBooks
FreshBooks
Coming Soon
Xero
Xero
Coming Soon
Hint: Use the /linked-accounts endpoint to pull platform support information.
GET
/cash-flow-statements/{id}

Returns a CashFlowStatement object with the given id.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Query & Path Parameters

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

idString
Required

include_remote_dataBoolean
Optional
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",
"currency": "USD",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"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": []
}
],
"investing_activities": [
{
"remote_id": "10230",
"name": "Investing Activities",
"value": 1000,
"sub_items": []
}
],
"financing_activities": [
{
"remote_id": "10231",
"name": "Financing Activities",
"value": 1000,
"sub_items": []
}
],
"remote_generated_at": "2020-04-01T00:00:00Z",
"remote_was_deleted": true,
Show advanced fields
}
Field support by platform
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


cash_at_beginning_of_periodNumber

cash_at_end_of_periodNumber

currencyEnum

end_periodString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_generated_atString

start_periodString
FreshBooks
FreshBooks
Coming Soon
Xero
Xero
Coming Soon
Hint: Use the /linked-accounts endpoint to pull platform support information.