---
updatedAt: 2026-10-12T15:05:31.000Z
agentTools:
  projectIndex: https://wafeq.readme.io/llms.txt
---

# Cash Flow


Generate cash flow report in `currency` from `date_after` to `date_before` range and group it by `group_by` parameter.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "api-v1-reports-cash-flow-data-read": {
        "description": "A row of the cash flow report, such as an account, with its values per column.",
        "properties": {
          "children": {
            "description": "The children of the row. The value is the same as children of the section",
            "items": {
              "additionalProperties": {},
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "id": {
            "description": "The id of the row",
            "type": "string"
          },
          "label": {
            "description": "The label of the row",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {},
            "description": "The metadata of the row",
            "type": "object"
          },
          "summary": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api-v1-reports-cash-flow-row-summary-read"
              }
            ],
            "description": "The summary of the row"
          },
          "values": {
            "description": "The values of the row",
            "items": {
              "exclusiveMaximum": 10000000000000000,
              "exclusiveMinimum": -10000000000000000,
              "format": "double",
              "type": "number"
            },
            "type": "array"
          }
        },
        "required": [
          "children",
          "id",
          "label",
          "metadata",
          "summary",
          "values"
        ],
        "type": "object"
      },
      "api-v1-reports-cash-flow-overview-read": {
        "description": "The overview of the cash flow report, with the parameters it was generated for.",
        "properties": {
          "created_ts": {
            "description": "The timestamp in UTC when the report was created",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "currency": {
            "description": "The currency of the report",
            "type": "string"
          },
          "date_from": {
            "description": "The start date of the report",
            "format": "date",
            "type": "string"
          },
          "date_to": {
            "description": "The end date of the report",
            "format": "date",
            "type": "string"
          },
          "filters": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "description": "The filters of the report",
            "type": "object"
          },
          "group_by": {
            "description": "The grouping of the report",
            "type": "string"
          },
          "id": {
            "default": "cash_flow",
            "description": "The id of the report",
            "readOnly": true,
            "type": "string"
          },
          "label": {
            "default": "Cash Flow Report",
            "description": "The title of the report",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "created_ts",
          "currency",
          "date_from",
          "date_to",
          "filters",
          "group_by",
          "id",
          "label"
        ],
        "type": "object"
      },
      "api-v1-reports-cash-flow-read": {
        "description": "The cash flow report of the organization.",
        "properties": {
          "columns": {
            "description": "The columns of the report",
            "items": {
              "$ref": "#/components/schemas/api-v1-reports-cash-flow-row-column-read"
            },
            "type": "array"
          },
          "overview": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api-v1-reports-cash-flow-overview-read"
              }
            ],
            "description": "The overview of the report"
          },
          "rows": {
            "description": "The rows of the report",
            "items": {
              "$ref": "#/components/schemas/api-v1-reports-cash-flow-section-read"
            },
            "type": "array"
          }
        },
        "required": [
          "columns",
          "overview",
          "rows"
        ],
        "type": "object"
      },
      "api-v1-reports-cash-flow-row-column-read": {
        "description": "A column of the cash flow report, such as a reporting period.",
        "properties": {
          "id": {
            "description": "The id of the column",
            "type": "string"
          },
          "label": {
            "description": "The label of the column",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The metadata of the column",
            "type": "object"
          }
        },
        "required": [
          "id",
          "label",
          "metadata"
        ],
        "type": "object"
      },
      "api-v1-reports-cash-flow-row-summary-read": {
        "description": "The totals of a row or section of the cash flow report.",
        "properties": {
          "id": {
            "description": "The id of the summary",
            "type": "string"
          },
          "label": {
            "description": "The label of the summary",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {},
            "description": "The metadata of the summary",
            "type": "object"
          },
          "sub_totals": {
            "description": "The sub totals of the row",
            "items": {
              "exclusiveMaximum": 10000000000000000,
              "exclusiveMinimum": -10000000000000000,
              "format": "double",
              "type": "number"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "label",
          "metadata",
          "sub_totals"
        ],
        "type": "object"
      },
      "api-v1-reports-cash-flow-section-read": {
        "description": "A section of the cash flow report with its rows and totals.",
        "properties": {
          "children": {
            "description": "The children of the section",
            "items": {
              "$ref": "#/components/schemas/api-v1-reports-cash-flow-data-read"
            },
            "type": "array"
          },
          "group": {
            "description": "The group of the section",
            "type": "string"
          },
          "id": {
            "description": "The id of the section",
            "type": "string"
          },
          "label": {
            "description": "The label of the section",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {},
            "description": "The metadata of the section",
            "type": "object"
          },
          "summary": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api-v1-reports-cash-flow-row-summary-read"
              }
            ],
            "description": "The summary of the section"
          }
        },
        "required": [
          "children",
          "group",
          "id",
          "label",
          "metadata",
          "summary"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "APIKeyAuth": {
        "description": "__An API key that will be supplied in  `Authorization` header.__\n\nExample:\n`Api-Key vVLOU1BB.aKz8GWaAGz0w1fO997aCMskNfS0ZpwjS`",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey",
        "x-default": "Api-Key replace_with_your_api_key"
      }
    }
  },
  "info": {
    "title": "Wafeq Public API",
    "version": "v1"
  },
  "openapi": "3.1.1",
  "paths": {
    "/reports/cash-flow/": {
      "get": {
        "description": "Generate cash flow report in `currency` from `date_after` to `date_before` range and group it by `group_by` parameter.\n",
        "operationId": "reports_cash_flow_list",
        "parameters": [
          {
            "description": "The unique identifier of the branch. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.",
            "explode": false,
            "in": "query",
            "name": "branch__in",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "The unique identifier of the contact. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.",
            "explode": false,
            "in": "query",
            "name": "contact__in",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "The currency of the report. Default: base currency of the organization.\n\n* `AED` - AED ⃱\n* `SAR` - SAR ⃁\n* `USD` - USD $\n* `EUR` - EUR €\n* `CAD` - CAD $\n* `AFN` - AFN ؋\n* `ALL` - ALL Lek\n* `AMD` - AMD դր.\n* `ARS` - ARS $\n* `AUD` - AUD $\n* `AZN` - AZN ман.\n* `BAM` - BAM KM\n* `BDT` - BDT ৳\n* `BGN` - BGN лв.\n* `BHD` - BHD د.ب.‏\n* `BIF` - BIF FBu\n* `BND` - BND $\n* `BOB` - BOB Bs\n* `BRL` - BRL R$\n* `BWP` - BWP P\n* `BYN` - BYN BYN\n* `BZD` - BZD $\n* `CDF` - CDF FrCD\n* `CHF` - CHF CHF\n* `CLP` - CLP $\n* `CNY` - CNY CN¥\n* `COP` - COP $\n* `CRC` - CRC ₡\n* `CVE` - CVE CV$\n* `CZK` - CZK Kč\n* `DJF` - DJF Fdj\n* `DKK` - DKK kr\n* `DOP` - DOP RD$\n* `DZD` - DZD د.ج.‏\n* `EGP` - EGP ج.م.‏\n* `ERN` - ERN Nfk\n* `ETB` - ETB Br\n* `GBP` - GBP £\n* `GEL` - GEL GEL\n* `GHS` - GHS GH₵\n* `GNF` - GNF FG\n* `GTQ` - GTQ Q\n* `HKD` - HKD $\n* `HNL` - HNL L\n* `HRK` - HRK kn\n* `HUF` - HUF Ft\n* `IDR` - IDR Rp\n* `ILS` - ILS ₪\n* `INR` - INR ₹\n* `IQD` - IQD د.ع.‏\n* `IRR` - IRR ﷼\n* `ISK` - ISK kr\n* `JMD` - JMD $\n* `JOD` - JOD د.أ.‏\n* `JPY` - JPY ￥\n* `KES` - KES Ksh\n* `KHR` - KHR ៛\n* `KMF` - KMF FC\n* `KRW` - KRW ₩\n* `KWD` - KWD د.ك.‏\n* `KZT` - KZT тңг.\n* `LBP` - LBP ل.ل.‏\n* `LKR` - LKR SL Re\n* `LYD` - LYD د.ل.‏\n* `MAD` - MAD د.م.‏\n* `MDL` - MDL MDL\n* `MGA` - MGA MGA\n* `MKD` - MKD MKD\n* `MMK` - MMK K\n* `MOP` - MOP MOP$\n* `MUR` - MUR MURs\n* `MXN` - MXN $\n* `MYR` - MYR RM\n* `MZN` - MZN MTn\n* `NAD` - NAD N$\n* `NGN` - NGN ₦\n* `NIO` - NIO C$\n* `NOK` - NOK kr\n* `NPR` - NPR नेरू\n* `NZD` - NZD $\n* `OMR` - OMR ر.ع.‏\n* `PAB` - PAB B/.\n* `PEN` - PEN S/.\n* `PHP` - PHP ₱\n* `PKR` - PKR ₨\n* `PLN` - PLN zł\n* `PYG` - PYG ₲\n* `QAR` - QAR ر.ق.‏\n* `RON` - RON RON\n* `RSD` - RSD дин.\n* `RUB` - RUB руб.\n* `RWF` - RWF FR\n* `SDG` - SDG SDG\n* `SEK` - SEK kr\n* `SGD` - SGD $\n* `SOS` - SOS Ssh\n* `SYP` - SYP ل.س.‏\n* `THB` - THB ฿\n* `TND` - TND د.ت.‏\n* `TOP` - TOP T$\n* `TRY` - TRY TL\n* `TTD` - TTD $\n* `TWD` - TWD NT$\n* `TZS` - TZS TSh\n* `UAH` - UAH ₴\n* `UGX` - UGX USh\n* `UYU` - UYU $\n* `UZS` - UZS UZS\n* `VES` - VES Bs.S.\n* `VND` - VND ₫\n* `XAF` - XAF FCFA\n* `XOF` - XOF CFA\n* `YER` - YER ر.ي.‏\n* `ZAR` - ZAR R\n* `ZMW` - ZMW ZK",
            "in": "query",
            "name": "currency",
            "schema": {
              "description": "* `AED` - AED\n* `SAR` - SAR\n* `USD` - USD\n* `EUR` - EUR\n* `CAD` - CAD\n* `AFN` - AFN\n* `ALL` - ALL\n* `AMD` - AMD\n* `ARS` - ARS\n* `AUD` - AUD\n* `AZN` - AZN\n* `BAM` - BAM\n* `BDT` - BDT\n* `BGN` - BGN\n* `BHD` - BHD\n* `BIF` - BIF\n* `BND` - BND\n* `BOB` - BOB\n* `BRL` - BRL\n* `BWP` - BWP\n* `BYN` - BYN\n* `BZD` - BZD\n* `CDF` - CDF\n* `CHF` - CHF\n* `CLP` - CLP\n* `CNY` - CNY\n* `COP` - COP\n* `CRC` - CRC\n* `CVE` - CVE\n* `CZK` - CZK\n* `DJF` - DJF\n* `DKK` - DKK\n* `DOP` - DOP\n* `DZD` - DZD\n* `EGP` - EGP\n* `ERN` - ERN\n* `ETB` - ETB\n* `GBP` - GBP\n* `GEL` - GEL\n* `GHS` - GHS\n* `GNF` - GNF\n* `GTQ` - GTQ\n* `HKD` - HKD\n* `HNL` - HNL\n* `HRK` - HRK\n* `HUF` - HUF\n* `IDR` - IDR\n* `ILS` - ILS\n* `INR` - INR\n* `IQD` - IQD\n* `IRR` - IRR\n* `ISK` - ISK\n* `JMD` - JMD\n* `JOD` - JOD\n* `JPY` - JPY\n* `KES` - KES\n* `KHR` - KHR\n* `KMF` - KMF\n* `KRW` - KRW\n* `KWD` - KWD\n* `KZT` - KZT\n* `LBP` - LBP\n* `LKR` - LKR\n* `LYD` - LYD\n* `MAD` - MAD\n* `MDL` - MDL\n* `MGA` - MGA\n* `MKD` - MKD\n* `MMK` - MMK\n* `MOP` - MOP\n* `MUR` - MUR\n* `MXN` - MXN\n* `MYR` - MYR\n* `MZN` - MZN\n* `NAD` - NAD\n* `NGN` - NGN\n* `NIO` - NIO\n* `NOK` - NOK\n* `NPR` - NPR\n* `NZD` - NZD\n* `OMR` - OMR\n* `PAB` - PAB\n* `PEN` - PEN\n* `PHP` - PHP\n* `PKR` - PKR\n* `PLN` - PLN\n* `PYG` - PYG\n* `QAR` - QAR\n* `RON` - RON\n* `RSD` - RSD\n* `RUB` - RUB\n* `RWF` - RWF\n* `SDG` - SDG\n* `SEK` - SEK\n* `SGD` - SGD\n* `SOS` - SOS\n* `SYP` - SYP\n* `THB` - THB\n* `TND` - TND\n* `TOP` - TOP\n* `TRY` - TRY\n* `TTD` - TTD\n* `TWD` - TWD\n* `TZS` - TZS\n* `UAH` - UAH\n* `UGX` - UGX\n* `UYU` - UYU\n* `UZS` - UZS\n* `VES` - VES\n* `VND` - VND\n* `XAF` - XAF\n* `XOF` - XOF\n* `YER` - YER\n* `ZAR` - ZAR\n* `ZMW` - ZMW",
              "enum": [
                "AED",
                "SAR",
                "USD",
                "EUR",
                "CAD",
                "AFN",
                "ALL",
                "AMD",
                "ARS",
                "AUD",
                "AZN",
                "BAM",
                "BDT",
                "BGN",
                "BHD",
                "BIF",
                "BND",
                "BOB",
                "BRL",
                "BWP",
                "BYN",
                "BZD",
                "CDF",
                "CHF",
                "CLP",
                "CNY",
                "COP",
                "CRC",
                "CVE",
                "CZK",
                "DJF",
                "DKK",
                "DOP",
                "DZD",
                "EGP",
                "ERN",
                "ETB",
                "GBP",
                "GEL",
                "GHS",
                "GNF",
                "GTQ",
                "HKD",
                "HNL",
                "HRK",
                "HUF",
                "IDR",
                "ILS",
                "INR",
                "IQD",
                "IRR",
                "ISK",
                "JMD",
                "JOD",
                "JPY",
                "KES",
                "KHR",
                "KMF",
                "KRW",
                "KWD",
                "KZT",
                "LBP",
                "LKR",
                "LYD",
                "MAD",
                "MDL",
                "MGA",
                "MKD",
                "MMK",
                "MOP",
                "MUR",
                "MXN",
                "MYR",
                "MZN",
                "NAD",
                "NGN",
                "NIO",
                "NOK",
                "NPR",
                "NZD",
                "OMR",
                "PAB",
                "PEN",
                "PHP",
                "PKR",
                "PLN",
                "PYG",
                "QAR",
                "RON",
                "RSD",
                "RUB",
                "RWF",
                "SDG",
                "SEK",
                "SGD",
                "SOS",
                "SYP",
                "THB",
                "TND",
                "TOP",
                "TRY",
                "TTD",
                "TWD",
                "TZS",
                "UAH",
                "UGX",
                "UYU",
                "UZS",
                "VES",
                "VND",
                "XAF",
                "XOF",
                "YER",
                "ZAR",
                "ZMW"
              ],
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The period start date of the report. Must be the first day of the month/year.",
            "in": "query",
            "name": "date_after",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "description": "The period end date of the report. Must be the last day of the month/year.",
            "in": "query",
            "name": "date_before",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "description": "Group the report by this value.\n\n* `month` - month\n* `year` - year",
            "in": "query",
            "name": "group_by",
            "schema": {
              "default": "month",
              "description": "* `month` - month\n* `year` - year",
              "enum": [
                "month",
                "year"
              ],
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "The unique identifier of the project. Multiple values may be provided. The special value '__null__' may be provided to filter for null values.",
            "explode": false,
            "in": "query",
            "name": "project__in",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "Arabic": {
                    "description": "Response represented in Arabic language",
                    "summary": "Arabic language",
                    "value": [
                      {
                        "columns": [
                          {
                            "id": "2022-04-01",
                            "label": "Apr 2022",
                            "metadata": {
                              "from_date": "2022-04-01",
                              "to_date": "2022-04-30"
                            }
                          },
                          {
                            "id": "2022-05-01",
                            "label": "May 2022",
                            "metadata": {
                              "from_date": "2022-05-01",
                              "to_date": "2022-05-31"
                            }
                          },
                          {
                            "id": "2022-06-01",
                            "label": "Jun 2022",
                            "metadata": {
                              "from_date": "2022-06-01",
                              "to_date": "2022-06-30"
                            }
                          },
                          {
                            "id": "2022-07-01",
                            "label": "Jul 2022",
                            "metadata": {
                              "from_date": "2022-07-01",
                              "to_date": "2022-07-31"
                            }
                          },
                          {
                            "id": "2022-08-01",
                            "label": "Aug 2022",
                            "metadata": {
                              "from_date": "2022-08-01",
                              "to_date": "2022-08-31"
                            }
                          },
                          {
                            "id": "2022-09-01",
                            "label": "Sep 2022",
                            "metadata": {
                              "from_date": "2022-09-01",
                              "to_date": "2022-09-30"
                            }
                          },
                          {
                            "id": "row_totals",
                            "label": "الإجمالي",
                            "metadata": {
                              "from_date": "2022-04-01",
                              "to_date": "2022-09-30"
                            }
                          }
                        ],
                        "overview": {
                          "created_ts": "2024-01-05T00:00:00Z",
                          "currency": "SAR",
                          "date_from": "2022-04-01",
                          "date_to": "2022-09-30",
                          "filters": {},
                          "group_by": "month",
                          "id": "cash_flow",
                          "label": "التدفق النقدي"
                        },
                        "rows": [
                          {
                            "children": [
                              {
                                "children": [],
                                "id": "acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                "label": "112 العملاء",
                                "metadata": {
                                  "accounts": [
                                    "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                  "label": "إجمالي 112 العملاء",
                                  "metadata": {
                                    "accounts": [
                                      "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -7251.17,
                                    -7251.17
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -7251.17,
                                  -7251.17
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_EawtnDSv8mbVHq9z4cgofo",
                                "label": "211 الموردين",
                                "metadata": {
                                  "accounts": [
                                    "acc_EawtnDSv8mbVHq9z4cgofo"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_EawtnDSv8mbVHq9z4cgofo",
                                  "label": "إجمالي 211 الموردين",
                                  "metadata": {
                                    "accounts": [
                                      "acc_EawtnDSv8mbVHq9z4cgofo"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    -544,
                                    0,
                                    5033.04,
                                    0,
                                    0,
                                    4489.04
                                  ]
                                },
                                "values": [
                                  0,
                                  -544,
                                  0,
                                  5033.04,
                                  0,
                                  0,
                                  4489.04
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_6gM7AGEachBiNDQSpFjeT8",
                                "label": "216 تعويضات الموظفين",
                                "metadata": {
                                  "accounts": [
                                    "acc_6gM7AGEachBiNDQSpFjeT8"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_6gM7AGEachBiNDQSpFjeT8",
                                  "label": "إجمالي 216 تعويضات الموظفين",
                                  "metadata": {
                                    "accounts": [
                                      "acc_6gM7AGEachBiNDQSpFjeT8"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    48.9,
                                    0,
                                    0,
                                    0,
                                    48.9
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  48.9,
                                  0,
                                  0,
                                  0,
                                  48.9
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_YjSP9apPfCATEVEyYhp9bk",
                                "label": "331 الأرباح المحتجزة",
                                "metadata": {
                                  "accounts": [
                                    "acc_YjSP9apPfCATEVEyYhp9bk"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_YjSP9apPfCATEVEyYhp9bk",
                                  "label": "إجمالي 331 الأرباح المحتجزة",
                                  "metadata": {
                                    "accounts": [
                                      "acc_YjSP9apPfCATEVEyYhp9bk"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    6590.03,
                                    0,
                                    0,
                                    46.13,
                                    0,
                                    6636.16
                                  ]
                                },
                                "values": [
                                  0,
                                  6590.03,
                                  0,
                                  0,
                                  46.13,
                                  0,
                                  6636.16
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                "label": "511 تكلفة البضائع المباعة",
                                "metadata": {
                                  "accounts": [
                                    "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                  "label": "إجمالي 511 تكلفة البضائع المباعة",
                                  "metadata": {
                                    "accounts": [
                                      "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                    ]
                                  },
                                  "sub_totals": [
                                    495,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    495
                                  ]
                                },
                                "values": [
                                  495,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  495
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_7FcRGhfmBJH6RrYRJt22yg",
                                "label": "531 خسارة أو ربح في صرف العملات",
                                "metadata": {
                                  "accounts": [
                                    "acc_7FcRGhfmBJH6RrYRJt22yg"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_7FcRGhfmBJH6RrYRJt22yg",
                                  "label": "إجمالي 531 خسارة أو ربح في صرف العملات",
                                  "metadata": {
                                    "accounts": [
                                      "acc_7FcRGhfmBJH6RrYRJt22yg"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    421.14,
                                    -483.24,
                                    -62.1
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  421.14,
                                  -483.24,
                                  -62.1
                                ]
                              }
                            ],
                            "group": "CFO",
                            "id": "CFO",
                            "label": "التشغيلات",
                            "metadata": {
                              "activity": [
                                "CFO"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfo",
                              "label": "إجمالي التشغيلات",
                              "metadata": {},
                              "sub_totals": [
                                495,
                                6046.03,
                                48.9,
                                5033.04,
                                467.27,
                                -7734.41,
                                4355.83
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFI",
                            "id": "CFI",
                            "label": "الاستثمارات",
                            "metadata": {
                              "activity": [
                                "CFI"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfi",
                              "label": "إجمالي الاستثمارات",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFF",
                            "id": "CFF",
                            "label": "التمويلات",
                            "metadata": {
                              "activity": [
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_cff",
                              "label": "إجمالي التمويلات",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "FREE_CASH_FLOW",
                            "id": "FREE_CASH_FLOW",
                            "label": "التدفق النقدي الصافي",
                            "metadata": {
                              "activity": [
                                "CFO",
                                "CFI",
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_free_cash_flow",
                              "label": "التدفق النقدي الصافي",
                              "metadata": {},
                              "sub_totals": [
                                495,
                                6046.03,
                                48.9,
                                5033.04,
                                467.27,
                                -7734.41,
                                4355.83
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "Contact": {
                    "description": "Response filtered by multiple contacts",
                    "summary": "Filter by contacts",
                    "value": [
                      {
                        "columns": [
                          {
                            "id": "2022-04-01",
                            "label": "Apr 2022",
                            "metadata": {
                              "from_date": "2022-04-01",
                              "to_date": "2022-04-30"
                            }
                          },
                          {
                            "id": "2022-05-01",
                            "label": "May 2022",
                            "metadata": {
                              "from_date": "2022-05-01",
                              "to_date": "2022-05-31"
                            }
                          },
                          {
                            "id": "2022-06-01",
                            "label": "Jun 2022",
                            "metadata": {
                              "from_date": "2022-06-01",
                              "to_date": "2022-06-30"
                            }
                          },
                          {
                            "id": "2022-07-01",
                            "label": "Jul 2022",
                            "metadata": {
                              "from_date": "2022-07-01",
                              "to_date": "2022-07-31"
                            }
                          },
                          {
                            "id": "2022-08-01",
                            "label": "Aug 2022",
                            "metadata": {
                              "from_date": "2022-08-01",
                              "to_date": "2022-08-31"
                            }
                          },
                          {
                            "id": "2022-09-01",
                            "label": "Sep 2022",
                            "metadata": {
                              "from_date": "2022-09-01",
                              "to_date": "2022-09-30"
                            }
                          },
                          {
                            "id": "row_totals",
                            "label": "Totals",
                            "metadata": {
                              "from_date": "2022-04-01",
                              "to_date": "2022-09-30"
                            }
                          }
                        ],
                        "overview": {
                          "created_ts": "2024-01-05T00:00:00Z",
                          "currency": "SAR",
                          "date_from": "2022-04-01",
                          "date_to": "2022-09-30",
                          "filters": {
                            "contact__in": [
                              "co_BguCJYcbqCgn4jRPctaGLA",
                              "co_Lcnfy7KdZyMWR9X4S3hPSq"
                            ]
                          },
                          "group_by": "month",
                          "id": "cash_flow",
                          "label": "Cash Flow Report"
                        },
                        "rows": [
                          {
                            "children": [
                              {
                                "children": [],
                                "id": "acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                "label": "112 Accounts Receivable",
                                "metadata": {
                                  "accounts": [
                                    "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                  "label": "Total 112 Accounts Receivable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -7255.29,
                                    -7255.29
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -7255.29,
                                  -7255.29
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_EawtnDSv8mbVHq9z4cgofo",
                                "label": "211 Accounts Payable",
                                "metadata": {
                                  "accounts": [
                                    "acc_EawtnDSv8mbVHq9z4cgofo"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_EawtnDSv8mbVHq9z4cgofo",
                                  "label": "Total 211 Accounts Payable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_EawtnDSv8mbVHq9z4cgofo"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    -551,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -551
                                  ]
                                },
                                "values": [
                                  0,
                                  -551,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -551
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_6gM7AGEachBiNDQSpFjeT8",
                                "label": "216 Employee Reimbursements",
                                "metadata": {
                                  "accounts": [
                                    "acc_6gM7AGEachBiNDQSpFjeT8"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_6gM7AGEachBiNDQSpFjeT8",
                                  "label": "Total 216 Employee Reimbursements",
                                  "metadata": {
                                    "accounts": [
                                      "acc_6gM7AGEachBiNDQSpFjeT8"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    -8,
                                    0,
                                    0,
                                    0,
                                    -8
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  -8,
                                  0,
                                  0,
                                  0,
                                  -8
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_YjSP9apPfCATEVEyYhp9bk",
                                "label": "331 Retained Earnings",
                                "metadata": {
                                  "accounts": [
                                    "acc_YjSP9apPfCATEVEyYhp9bk"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_YjSP9apPfCATEVEyYhp9bk",
                                  "label": "Total 331 Retained Earnings",
                                  "metadata": {
                                    "accounts": [
                                      "acc_YjSP9apPfCATEVEyYhp9bk"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    129.59,
                                    0,
                                    0,
                                    0,
                                    0,
                                    129.59
                                  ]
                                },
                                "values": [
                                  0,
                                  129.59,
                                  0,
                                  0,
                                  0,
                                  0,
                                  129.59
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                "label": "511 Cost of Goods Sold",
                                "metadata": {
                                  "accounts": [
                                    "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                  "label": "Total 511 Cost of Goods Sold",
                                  "metadata": {
                                    "accounts": [
                                      "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                    ]
                                  },
                                  "sub_totals": [
                                    -33.75,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -33.75
                                  ]
                                },
                                "values": [
                                  -33.75,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -33.75
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_7FcRGhfmBJH6RrYRJt22yg",
                                "label": "531 Exchange Gain or Loss",
                                "metadata": {
                                  "accounts": [
                                    "acc_7FcRGhfmBJH6RrYRJt22yg"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_7FcRGhfmBJH6RrYRJt22yg",
                                  "label": "Total 531 Exchange Gain or Loss",
                                  "metadata": {
                                    "accounts": [
                                      "acc_7FcRGhfmBJH6RrYRJt22yg"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    421.14,
                                    -483.71,
                                    -62.57
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  421.14,
                                  -483.71,
                                  -62.57
                                ]
                              }
                            ],
                            "group": "CFO",
                            "id": "CFO",
                            "label": "Operating",
                            "metadata": {
                              "activity": [
                                "CFO"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfo",
                              "label": "Total Operating",
                              "metadata": {},
                              "sub_totals": [
                                -33.75,
                                -421.41,
                                -8,
                                0,
                                421.14,
                                -7739,
                                -7781.02
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFI",
                            "id": "CFI",
                            "label": "Investing",
                            "metadata": {
                              "activity": [
                                "CFI"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfi",
                              "label": "Total Investing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFF",
                            "id": "CFF",
                            "label": "Financing",
                            "metadata": {
                              "activity": [
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_cff",
                              "label": "Total Financing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "FREE_CASH_FLOW",
                            "id": "FREE_CASH_FLOW",
                            "label": "Free Cash Flow",
                            "metadata": {
                              "activity": [
                                "CFO",
                                "CFI",
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_free_cash_flow",
                              "label": "Free Cash Flow",
                              "metadata": {},
                              "sub_totals": [
                                -33.75,
                                -421.41,
                                -8,
                                0,
                                421.14,
                                -7739,
                                -7781.02
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "Month": {
                    "description": "Response grouped by month from Jan 2024 and 6 months back",
                    "summary": "Group by month",
                    "value": [
                      {
                        "columns": [
                          {
                            "id": "2022-01-01",
                            "label": "Jan 2022",
                            "metadata": {
                              "from_date": "2022-01-01",
                              "to_date": "2022-01-31"
                            }
                          },
                          {
                            "id": "2022-02-01",
                            "label": "Feb 2022",
                            "metadata": {
                              "from_date": "2022-02-01",
                              "to_date": "2022-02-28"
                            }
                          },
                          {
                            "id": "2022-03-01",
                            "label": "Mar 2022",
                            "metadata": {
                              "from_date": "2022-03-01",
                              "to_date": "2022-03-31"
                            }
                          },
                          {
                            "id": "2022-04-01",
                            "label": "Apr 2022",
                            "metadata": {
                              "from_date": "2022-04-01",
                              "to_date": "2022-04-30"
                            }
                          },
                          {
                            "id": "2022-05-01",
                            "label": "May 2022",
                            "metadata": {
                              "from_date": "2022-05-01",
                              "to_date": "2022-05-31"
                            }
                          },
                          {
                            "id": "2022-06-01",
                            "label": "Jun 2022",
                            "metadata": {
                              "from_date": "2022-06-01",
                              "to_date": "2022-06-30"
                            }
                          },
                          {
                            "id": "2022-07-01",
                            "label": "Jul 2022",
                            "metadata": {
                              "from_date": "2022-07-01",
                              "to_date": "2022-07-31"
                            }
                          },
                          {
                            "id": "2022-08-01",
                            "label": "Aug 2022",
                            "metadata": {
                              "from_date": "2022-08-01",
                              "to_date": "2022-08-31"
                            }
                          },
                          {
                            "id": "2022-09-01",
                            "label": "Sep 2022",
                            "metadata": {
                              "from_date": "2022-09-01",
                              "to_date": "2022-09-30"
                            }
                          },
                          {
                            "id": "2022-10-01",
                            "label": "Oct 2022",
                            "metadata": {
                              "from_date": "2022-10-01",
                              "to_date": "2022-10-31"
                            }
                          },
                          {
                            "id": "2022-11-01",
                            "label": "Nov 2022",
                            "metadata": {
                              "from_date": "2022-11-01",
                              "to_date": "2022-11-30"
                            }
                          },
                          {
                            "id": "2022-12-01",
                            "label": "Dec 2022",
                            "metadata": {
                              "from_date": "2022-12-01",
                              "to_date": "2022-12-31"
                            }
                          },
                          {
                            "id": "row_totals",
                            "label": "Totals",
                            "metadata": {
                              "from_date": "2022-01-01",
                              "to_date": "2022-12-31"
                            }
                          }
                        ],
                        "overview": {
                          "created_ts": "2024-01-05T00:00:00Z",
                          "currency": "SAR",
                          "date_from": "2022-01-01",
                          "date_to": "2022-12-31",
                          "filters": {},
                          "group_by": "month",
                          "id": "cash_flow",
                          "label": "Cash Flow Report"
                        },
                        "rows": [
                          {
                            "children": [
                              {
                                "children": [],
                                "id": "acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                "label": "112 Accounts Receivable",
                                "metadata": {
                                  "accounts": [
                                    "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                  "label": "Total 112 Accounts Receivable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -7251.17,
                                    -4980.99,
                                    0,
                                    0,
                                    -12232.16
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -7251.17,
                                  -4980.99,
                                  0,
                                  0,
                                  -12232.16
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_EawtnDSv8mbVHq9z4cgofo",
                                "label": "211 Accounts Payable",
                                "metadata": {
                                  "accounts": [
                                    "acc_EawtnDSv8mbVHq9z4cgofo"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_EawtnDSv8mbVHq9z4cgofo",
                                  "label": "Total 211 Accounts Payable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_EawtnDSv8mbVHq9z4cgofo"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    -544,
                                    0,
                                    5033.04,
                                    0,
                                    0,
                                    0,
                                    0,
                                    948.6,
                                    5437.64
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  -544,
                                  0,
                                  5033.04,
                                  0,
                                  0,
                                  0,
                                  0,
                                  948.6,
                                  5437.64
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_6gM7AGEachBiNDQSpFjeT8",
                                "label": "216 Employee Reimbursements",
                                "metadata": {
                                  "accounts": [
                                    "acc_6gM7AGEachBiNDQSpFjeT8"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_6gM7AGEachBiNDQSpFjeT8",
                                  "label": "Total 216 Employee Reimbursements",
                                  "metadata": {
                                    "accounts": [
                                      "acc_6gM7AGEachBiNDQSpFjeT8"
                                    ]
                                  },
                                  "sub_totals": [
                                    -1296.41,
                                    0,
                                    -322.16,
                                    0,
                                    0,
                                    48.9,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -343.38,
                                    -1913.05
                                  ]
                                },
                                "values": [
                                  -1296.41,
                                  0,
                                  -322.16,
                                  0,
                                  0,
                                  48.9,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -343.38,
                                  -1913.05
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_iK82tinMxEHurtaLtxMbxC",
                                "label": "218 VAT",
                                "metadata": {
                                  "accounts": [
                                    "acc_iK82tinMxEHurtaLtxMbxC"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_iK82tinMxEHurtaLtxMbxC",
                                  "label": "Total 218 VAT",
                                  "metadata": {
                                    "accounts": [
                                      "acc_iK82tinMxEHurtaLtxMbxC"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    -11329.5,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -11329.5
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  -11329.5,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -11329.5
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_YjSP9apPfCATEVEyYhp9bk",
                                "label": "331 Retained Earnings",
                                "metadata": {
                                  "accounts": [
                                    "acc_YjSP9apPfCATEVEyYhp9bk"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_YjSP9apPfCATEVEyYhp9bk",
                                  "label": "Total 331 Retained Earnings",
                                  "metadata": {
                                    "accounts": [
                                      "acc_YjSP9apPfCATEVEyYhp9bk"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    0,
                                    0,
                                    6590.03,
                                    0,
                                    0,
                                    46.13,
                                    0,
                                    0,
                                    0,
                                    0,
                                    6636.16
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  0,
                                  0,
                                  6590.03,
                                  0,
                                  0,
                                  46.13,
                                  0,
                                  0,
                                  0,
                                  0,
                                  6636.16
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                "label": "511 Cost of Goods Sold",
                                "metadata": {
                                  "accounts": [
                                    "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                  "label": "Total 511 Cost of Goods Sold",
                                  "metadata": {
                                    "accounts": [
                                      "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                    ]
                                  },
                                  "sub_totals": [
                                    0,
                                    0,
                                    -7892.5,
                                    495,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    -7397.5
                                  ]
                                },
                                "values": [
                                  0,
                                  0,
                                  -7892.5,
                                  495,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  -7397.5
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_7FcRGhfmBJH6RrYRJt22yg",
                                "label": "531 Exchange Gain or Loss",
                                "metadata": {
                                  "accounts": [
                                    "acc_7FcRGhfmBJH6RrYRJt22yg"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_7FcRGhfmBJH6RrYRJt22yg",
                                  "label": "Total 531 Exchange Gain or Loss",
                                  "metadata": {
                                    "accounts": [
                                      "acc_7FcRGhfmBJH6RrYRJt22yg"
                                    ]
                                  },
                                  "sub_totals": [
                                    -10476.45,
                                    -81.13,
                                    0,
                                    0,
                                    0,
                                    0,
                                    0,
                                    421.14,
                                    -483.24,
                                    -859.76,
                                    0,
                                    0,
                                    -11479.44
                                  ]
                                },
                                "values": [
                                  -10476.45,
                                  -81.13,
                                  0,
                                  0,
                                  0,
                                  0,
                                  0,
                                  421.14,
                                  -483.24,
                                  -859.76,
                                  0,
                                  0,
                                  -11479.44
                                ]
                              }
                            ],
                            "group": "CFO",
                            "id": "CFO",
                            "label": "Operating",
                            "metadata": {
                              "activity": [
                                "CFO"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfo",
                              "label": "Total Operating",
                              "metadata": {},
                              "sub_totals": [
                                -11772.86,
                                -81.13,
                                -19544.16,
                                495,
                                6046.03,
                                48.9,
                                5033.04,
                                467.27,
                                -7734.41,
                                -5840.75,
                                0,
                                605.22,
                                -32277.85
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFI",
                            "id": "CFI",
                            "label": "Investing",
                            "metadata": {
                              "activity": [
                                "CFI"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfi",
                              "label": "Total Investing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFF",
                            "id": "CFF",
                            "label": "Financing",
                            "metadata": {
                              "activity": [
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_cff",
                              "label": "Total Financing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "FREE_CASH_FLOW",
                            "id": "FREE_CASH_FLOW",
                            "label": "Free Cash Flow",
                            "metadata": {
                              "activity": [
                                "CFO",
                                "CFI",
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_free_cash_flow",
                              "label": "Free Cash Flow",
                              "metadata": {},
                              "sub_totals": [
                                -11772.86,
                                -81.13,
                                -19544.16,
                                495,
                                6046.03,
                                48.9,
                                5033.04,
                                467.27,
                                -7734.41,
                                -5840.75,
                                0,
                                605.22,
                                -32277.85
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  },
                  "Year": {
                    "description": "Response grouped by year from 2024 and 2 years back",
                    "summary": "Group by year",
                    "value": [
                      {
                        "columns": [
                          {
                            "id": "2021-01-01",
                            "label": "2021",
                            "metadata": {
                              "from_date": "2021-01-01",
                              "to_date": "2021-12-31"
                            }
                          },
                          {
                            "id": "2022-01-01",
                            "label": "2022",
                            "metadata": {
                              "from_date": "2022-01-01",
                              "to_date": "2022-12-31"
                            }
                          },
                          {
                            "id": "2023-01-01",
                            "label": "2023",
                            "metadata": {
                              "from_date": "2023-01-01",
                              "to_date": "2023-12-31"
                            }
                          },
                          {
                            "id": "row_totals",
                            "label": "Totals",
                            "metadata": {
                              "from_date": "2021-01-01",
                              "to_date": "2023-12-31"
                            }
                          }
                        ],
                        "overview": {
                          "created_ts": "2024-01-05T00:00:00Z",
                          "currency": "SAR",
                          "date_from": "2021-01-01",
                          "date_to": "2023-12-31",
                          "filters": {},
                          "group_by": "year",
                          "id": "cash_flow",
                          "label": "Cash Flow Report"
                        },
                        "rows": [
                          {
                            "children": [
                              {
                                "children": [],
                                "id": "acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                "label": "112 Accounts Receivable",
                                "metadata": {
                                  "accounts": [
                                    "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_RZ5i6UrgdqjM3vCb6C7Afq",
                                  "label": "Total 112 Accounts Receivable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_RZ5i6UrgdqjM3vCb6C7Afq"
                                    ]
                                  },
                                  "sub_totals": [
                                    174.9,
                                    -12232.16,
                                    -275.78,
                                    -12333.04
                                  ]
                                },
                                "values": [
                                  174.9,
                                  -12232.16,
                                  -275.78,
                                  -12333.04
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_EawtnDSv8mbVHq9z4cgofo",
                                "label": "211 Accounts Payable",
                                "metadata": {
                                  "accounts": [
                                    "acc_EawtnDSv8mbVHq9z4cgofo"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_EawtnDSv8mbVHq9z4cgofo",
                                  "label": "Total 211 Accounts Payable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_EawtnDSv8mbVHq9z4cgofo"
                                    ]
                                  },
                                  "sub_totals": [
                                    9152.55,
                                    5437.64,
                                    2123.89,
                                    16714.08
                                  ]
                                },
                                "values": [
                                  9152.55,
                                  5437.64,
                                  2123.89,
                                  16714.08
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_fgsheVKKUH4rpnxmrmifx9",
                                "label": "214 Payroll Payable",
                                "metadata": {
                                  "accounts": [
                                    "acc_fgsheVKKUH4rpnxmrmifx9"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_fgsheVKKUH4rpnxmrmifx9",
                                  "label": "Total 214 Payroll Payable",
                                  "metadata": {
                                    "accounts": [
                                      "acc_fgsheVKKUH4rpnxmrmifx9"
                                    ]
                                  },
                                  "sub_totals": [
                                    -5432.35,
                                    0,
                                    775.92,
                                    -4656.43
                                  ]
                                },
                                "values": [
                                  -5432.35,
                                  0,
                                  775.92,
                                  -4656.43
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_6gM7AGEachBiNDQSpFjeT8",
                                "label": "216 Employee Reimbursements",
                                "metadata": {
                                  "accounts": [
                                    "acc_6gM7AGEachBiNDQSpFjeT8"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_6gM7AGEachBiNDQSpFjeT8",
                                  "label": "Total 216 Employee Reimbursements",
                                  "metadata": {
                                    "accounts": [
                                      "acc_6gM7AGEachBiNDQSpFjeT8"
                                    ]
                                  },
                                  "sub_totals": [
                                    -2.32,
                                    -1913.05,
                                    7520.65,
                                    5605.28
                                  ]
                                },
                                "values": [
                                  -2.32,
                                  -1913.05,
                                  7520.65,
                                  5605.28
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_iK82tinMxEHurtaLtxMbxC",
                                "label": "218 VAT",
                                "metadata": {
                                  "accounts": [
                                    "acc_iK82tinMxEHurtaLtxMbxC"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_iK82tinMxEHurtaLtxMbxC",
                                  "label": "Total 218 VAT",
                                  "metadata": {
                                    "accounts": [
                                      "acc_iK82tinMxEHurtaLtxMbxC"
                                    ]
                                  },
                                  "sub_totals": [
                                    691.1,
                                    -11329.5,
                                    932.61,
                                    -9705.79
                                  ]
                                },
                                "values": [
                                  691.1,
                                  -11329.5,
                                  932.61,
                                  -9705.79
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_YjSP9apPfCATEVEyYhp9bk",
                                "label": "331 Retained Earnings",
                                "metadata": {
                                  "accounts": [
                                    "acc_YjSP9apPfCATEVEyYhp9bk"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_YjSP9apPfCATEVEyYhp9bk",
                                  "label": "Total 331 Retained Earnings",
                                  "metadata": {
                                    "accounts": [
                                      "acc_YjSP9apPfCATEVEyYhp9bk"
                                    ]
                                  },
                                  "sub_totals": [
                                    8569.14,
                                    6636.16,
                                    1009.32,
                                    16214.62
                                  ]
                                },
                                "values": [
                                  8569.14,
                                  6636.16,
                                  1009.32,
                                  16214.62
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_H7msvSKvighQUmzCn4ord2",
                                "label": "411 Sales",
                                "metadata": {
                                  "accounts": [
                                    "acc_H7msvSKvighQUmzCn4ord2"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_H7msvSKvighQUmzCn4ord2",
                                  "label": "Total 411 Sales",
                                  "metadata": {
                                    "accounts": [
                                      "acc_H7msvSKvighQUmzCn4ord2"
                                    ]
                                  },
                                  "sub_totals": [
                                    -984.5,
                                    0,
                                    26769.32,
                                    25784.82
                                  ]
                                },
                                "values": [
                                  -984.5,
                                  0,
                                  26769.32,
                                  25784.82
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                "label": "511 Cost of Goods Sold",
                                "metadata": {
                                  "accounts": [
                                    "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_A86ZVhuCEZU7bCgJ3pAhZR",
                                  "label": "Total 511 Cost of Goods Sold",
                                  "metadata": {
                                    "accounts": [
                                      "acc_A86ZVhuCEZU7bCgJ3pAhZR"
                                    ]
                                  },
                                  "sub_totals": [
                                    13413.68,
                                    -7397.5,
                                    0,
                                    6016.18
                                  ]
                                },
                                "values": [
                                  13413.68,
                                  -7397.5,
                                  0,
                                  6016.18
                                ]
                              },
                              {
                                "children": [],
                                "id": "acc_7FcRGhfmBJH6RrYRJt22yg",
                                "label": "531 Exchange Gain or Loss",
                                "metadata": {
                                  "accounts": [
                                    "acc_7FcRGhfmBJH6RrYRJt22yg"
                                  ]
                                },
                                "summary": {
                                  "id": "summary_acc_7FcRGhfmBJH6RrYRJt22yg",
                                  "label": "Total 531 Exchange Gain or Loss",
                                  "metadata": {
                                    "accounts": [
                                      "acc_7FcRGhfmBJH6RrYRJt22yg"
                                    ]
                                  },
                                  "sub_totals": [
                                    -16346.58,
                                    -11479.44,
                                    -23184.68,
                                    -51010.7
                                  ]
                                },
                                "values": [
                                  -16346.58,
                                  -11479.44,
                                  -23184.68,
                                  -51010.7
                                ]
                              }
                            ],
                            "group": "CFO",
                            "id": "CFO",
                            "label": "Operating",
                            "metadata": {
                              "activity": [
                                "CFO"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfo",
                              "label": "Total Operating",
                              "metadata": {},
                              "sub_totals": [
                                9235.62,
                                -32277.85,
                                15671.25,
                                -7370.98
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFI",
                            "id": "CFI",
                            "label": "Investing",
                            "metadata": {
                              "activity": [
                                "CFI"
                              ]
                            },
                            "summary": {
                              "id": "summary_cfi",
                              "label": "Total Investing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "CFF",
                            "id": "CFF",
                            "label": "Financing",
                            "metadata": {
                              "activity": [
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_cff",
                              "label": "Total Financing",
                              "metadata": {},
                              "sub_totals": [
                                0,
                                0,
                                0,
                                0
                              ]
                            }
                          },
                          {
                            "children": [],
                            "group": "FREE_CASH_FLOW",
                            "id": "FREE_CASH_FLOW",
                            "label": "Free Cash Flow",
                            "metadata": {
                              "activity": [
                                "CFO",
                                "CFI",
                                "CFF"
                              ]
                            },
                            "summary": {
                              "id": "summary_free_cash_flow",
                              "label": "Free Cash Flow",
                              "metadata": {},
                              "sub_totals": [
                                9235.62,
                                -32277.85,
                                15671.25,
                                -7370.98
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/api-v1-reports-cash-flow-read"
                  },
                  "type": "array"
                }
              }
            },
            "description": ""
          }
        },
        "security": [
          {
            "APIKeyAuth": []
          }
        ],
        "summary": "Cash Flow\n",
        "tags": [
          "Reports"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Wafeq API Base URL",
      "url": "https://api.wafeq.com/v1"
    }
  ],
  "x-readme": {
    "proxy-enabled": false,
    "samples-languages": [
      "shell",
      "http"
    ]
  }
}
```