GET
List invoicing forecasts
Scope:
accounting:cashflow.readhttps://api.holded.com/api/v2/treasury/cashflow/invoicing-forecastsReturns a cursor-paginated list of invoicing forecasts for the authenticated account. Each forecast represents a scheduled payment milestone linked to an estimate or purchase order. Use when the user asks to list, search or browse cashflow invoicing forecasts, optionally filtered by the source document. Distinct from the Remittances endpoint: invoicing forecasts model future payment milestones on open documents, not batch SEPA transfers.
Parameters
Query parameters
document_id
stringoptionalFilter by the related estimate or purchase order identifier
document_type
stringoptionalFilter by related document type
"estimate""order"cursor
stringoptionalOpaque cursor for pagination
limit
integeroptional= 50Maximum number of forecasts to return per page. Defaults to 50, maximum 200.
Request
python
import requests
url = "https://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts?document_id=507f1f77bcf86cd799439011&document_type=value&cursor=value"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Success responses
200Paginated list of invoicing forecastsError responses
400Invalid document_type filterapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json