action codat_get_cash_flow_statement { label: "Get cash flow statement" description: "Gets the latest cash flow statement for a company." provider: codat method: GET path: "/companies/{companyId}/data/financials/cashFlowStatement" encoding: json input: { type: "object" properties: { periodLength: { type: "integer" format: "int32" } periodsToCompare: { type: "integer" format: "int32" } startMonth: { type: "string" description: "In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:\n\n```\n2020-10-08T22:40:50Z\n2021-01-01T00:00:00\n```\n\n\n\nWhen syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:\n\n- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`\n- Unqualified local time: `2021-11-15T01:00:00`\n- UTC time offsets: `2021-11-15T01:00:00-05:00`\n\n> Time zones\n> \n> Not all dates from Codat will contain information about time zones. \n> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced." } } required: ["periodLength", "periodsToCompare"] additionalProperties: false } output: { type: "object" } }