curl --location --request GET 'https://gvazyknvkqdeuzmrnuwu.supabase.co/functions/v1/api-v1/reports/cash-flow?date_from=2025-01-01&date_to=2025-01-31&bank_account_id' \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": {
"period": {
"from": "2025-01-01",
"to": "2025-01-31"
},
"operations": {
"inflows": 150000,
"outflows": -85000,
"net": 65000
},
"investments": {
"inflows": 0,
"outflows": -25000,
"net": -25000
},
"financing": {
"inflows": 100000,
"outflows": -15000,
"net": 85000
},
"net_cash_flow": 125000
}
}