Jobs
POST /jobs/{jobId}/phases/{jobPhaseId}/readyForInvoice
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.
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScripthttps://skmtc.dev/fergus/apis/fergus-api/docs/jobs/:jobId/phases/:jobPhaseId/readyForInvoice/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
jobIdnumber required
jobPhaseIdnumber required
Response
Job phase marked as ready for invoice
Changes
No recorded changes to this operation across all 19 revisions of this API.