Retry document emission — Health invoices
POST
/api/v1/workspaces/{workspaceId}/health-invoices/{invoiceId}/emissionsOperation ID: healthInvoices.retryEmission · Access: PAT with send scope and authorized workspace where applicable · Effect: external.
An Idempotency-Key is required. Retry the same intent with the same key and the same request bytes. Read the retry rules.
Read the health invoices workflow before this operation.
Parameters
Section titled “Parameters”| Name | In | Required | Type / allowed values |
|---|---|---|---|
workspaceId |
path | Yes | string |
invoiceId |
path | Yes | string |
idempotency-key |
header | Yes | string |
Responses
Section titled “Responses”| HTTP | Content | Schema |
|---|---|---|
| 200 | application/json |
HealthInvoice |
| 202 | application/json |
HealthInvoice |
| 400 | application/json |
ApiError |
| 401 | application/json |
ApiError |
| 403 | application/json |
ApiError |
| 404 | application/json |
ApiError |
| 409 | application/json |
ApiError |
| 422 | application/json |
ApiError |
| 428 | application/json |
ApiError |
| 500 | application/json |
ApiError |
| 502 | application/json |
ApiError |
| 503 | application/json |
ApiError |
Use error.code, error.issues, and requestId for JSON errors. Error and recovery guide.
Set the connection variables from the quickstart. Set each path variable to an authorized identifier or an allowed parameter value from the table above.
Set IDEMPOTENCY_KEY to a unique key for this intent. Preserve it and the exact request for retries.
curl --fail-with-body --request POST \ "$RIPSCLOUD_BASE_URL/api/v1/workspaces/$WORKSPACE_ID/health-invoices/$INVOICE_ID/emissions" \ --header "Authorization: Bearer $RIPSCLOUD_TOKEN" \ --header 'Accept: application/json' \ --header "Idempotency-Key: $IDEMPOTENCY_KEY"