---
title: "POST /jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice"
method: POST
path: "/jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice"
tags: ["Jobs"]
---

# POST /jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice

`POST /jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice`

## Request

- Base URL: `https://api.fergus.com`
- URL: `https://api.fergus.com/jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.fergus.com/oauth2/authorize`
    - Token URL: `https://auth.fergus.com/oauth2/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/fergus/apis/fergus-api/docs/jobs/:jobId/phases/:jobPhaseId/readyForInvoice/post.ts> (a function with typed inputs; its response is checked against the schema)

Marks a job phase as ready for invoice, advancing it to `To Invoice`.

Idempotent — marking a phase that is already ready for invoice is a no-op. A phase
that cannot be advanced (e.g. voided) returns a 400 with the reason.

## Path parameters

- `jobId` number, required
- `jobPhaseId` number, required

## Response `204`

Job phase marked as ready for invoice

## Other responses

- `4XX`: Client Request Errors
- `5XX`: Server Errors

---

[API](https://skmtc.dev/fergus/apis/fergus-api.md) - [All operations](https://skmtc.dev/fergus/apis/fergus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fergus/apis/fergus-api/revisions/6135f517c3bf?raw)
