API Reference
Cash Flow Forecast
Expected cash in and out over the coming weeks.
2 endpoints· Auth: JWT or API Key
get
/api/v1/console/accounting/cash-flow-forecast JWT API KeyGet cash-flow-forecast
The forecast: opening cash by pot and currency, weekly buckets (inflows and outflows by category, net, closing), the lowest closing balance, the short weeks and the totals. `weeks` 1 … 26 (default 13); `minimum_cash` in base-currency minor units.
- Capability (any)
view_glormanage_accounting- API key scope
cap:view_glorcap:manage_accounting(the key's owner must also hold the capability)- Plan feature
accountingmust be on the branch's plan, or the call answers 403.
Query parameters
| BranchId string (uuid) | One branch, or null for every branch the caller can see (spanning branches needs `view_hq`; without it, null is the active branch). |
| Weeks integer (int32) | Weeks ahead, 1 … 26; null = 13. |
| MinimumCash integer (int64) | The owner's minimum cash, in base-currency minor units. Null = warn below zero. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/cash-flow-forecast" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/accounting/cash-flow-forecast/lines JWT API KeyGet lines
The drill-down: every projection in one week, optionally one `category` and one `direction`, with its source, reference, label, currency, rate and base amount.
- Capability (any)
view_glormanage_accounting- API key scope
cap:view_glorcap:manage_accounting(the key's owner must also hold the capability)- Plan feature
accountingmust be on the branch's plan, or the call answers 403.
Query parameters
| Week integer (int32) | 1-based week of the forecast. |
| Category string | A category key (e.g. `supplier_bills`); null = every category. |
| Direction string | `in` or `out`; null = both. |
| BranchId string (uuid) | One branch, or null for every branch the caller can see (spanning branches needs `view_hq`; without it, null is the active branch). |
| Weeks integer (int32) | Weeks ahead, 1 … 26; null = 13. |
| MinimumCash integer (int64) | The owner's minimum cash, in base-currency minor units. Null = warn below zero. |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/cash-flow-forecast/lines" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu