Skip to main content
DELETE

Delete an invoicing forecast

Scope:accounting:cashflow.write
https://api.holded.com/api/v2/treasury/cashflow/invoicing-forecasts/{forecastId}

Permanently deletes an invoicing forecast. This action cannot be undone. Use when the user wants to remove a cashflow forecast entry that is no longer needed. Distinct from the Edit endpoint: this removes the forecast entirely rather than updating it.

Parameters

Path parameters

forecastIdstringrequired

Invoicing 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.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204Invoicing forecast deleted

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Invoicing forecast not foundapplication/json
429Rate limit exceededapplication/json