Get an invoicing forecast
Scope: accounting:cashflow.read https://api.alladdin.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 string required
Invoicing forecast identifier (24-character hex ObjectId)
Request
import requests
url = "https://api.alladdin.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
200 Invoicing forecast details
Error responses
401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Invoicing forecast not found application/json 429 Rate limit exceeded application/json
