Finalize invoice
POST/v1/invoices/:id/finalize
Finalizes a draft invoice (draft → open).
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 500
Invoice finalized.
Missing or invalid bearer token.
Token lacks permission for this operation, or the organization's plan does not cover the action: code ENTITLEMENT_REQUIRED, with details.reason no_plan (no active plan) or missing_product (the plan lacks the product in details.required_product). The same block applies on the dashboard and MCP.
Resource not found in the current organization.
Rate limit exceeded.
Unexpected server error.