GET
Get an invoicing forecast
Scope:
accounting:cashflow.readhttps://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts/{forecastId}Returns the full details of a single invoicing forecast by its unique identifier. An invoicing forecast represents a scheduled payment milestone on an estimate or purchase order. Use when the user asks for the details of a specific cashflow forecast by id. Distinct from the List endpoint: this returns one complete forecast record rather than a paginated collection.
Parameters
Path parameters
forecastId
stringrequiredInvoicing forecast identifier (24-character hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts/507f1f77bcf86cd799439011"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Success responses
200Invoicing forecast detailsError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Invoicing forecast not foundapplication/json429Rate limit exceededapplication/json