Skip to main content
PUT

Set invoice pipeline

Scope:sales:invoices.write
https://api.holded.com/api/v2/invoices/{invoiceId}/pipeline

Moves the invoice to a specific pipeline stage. Pipelines let you track invoices through custom workflows (e.g. Draft → Sent → Paid). You must provide the `pipeline_id` of the target stage. The invoice's status is updated accordingly.

Parameters

Path parameters

invoiceIdstringrequired

Invoice ID (24-char hex ObjectId)

Request body

object
pipeline_idstringrequired

Request

python
import requests

url = "https://api.holded.com/api/v2/invoices/{invoiceId}/pipeline"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "pipeline_id": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Success responses

200Pipeline set

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Invoice not foundapplication/json
429Rate limit exceededapplication/json