---
title: "Trigger Invoice Workflow"
method: POST
path: "/v2/invoices/{invoiceId}/workflow/{workflowEventId}"
tags: ["invoice"]
---

# Trigger Invoice Workflow

`POST /v2/invoices/{invoiceId}/workflow/{workflowEventId}`

Trigger a specific workflow event for a given invoice

## Path parameters

- `workflowEventId` 1 | 3 | 6, required — 1 = Created, 3 = CompletePaid, 6 = Canceled
- `invoiceId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `204`

## Other responses

- `400` — The sent data is invalid.
- `401`
- `402` — No licence available or the app has not been authorised by JTL.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
