Re-run the finalize workflow of a billing report
POST/v1/billing/reports/:id/finalize-workflow/attempts
Starts a new attempt at the first step of the finalize workflow of the billing report with the given ID whose latest attempt did not succeed, and returns that step as restartedStep. The step runs in the background. Each attempt that is still running is marked abandoned first, so call this operation only when an attempt has failed, or when a running attempt has stopped: its updatedTime no longer changes. When every step has succeeded, nothing starts and restartedStep is null. The billing report must have the status finalized; for any other status, nothing changes. If your firm has no billing report with that ID, the response is 404.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 429
The result of the re-run.
id is not a whole number.
The access token is missing, invalid, or expired.
The access token does not have the write:billing scope.
Your firm has no billing report with that ID.
The billing report does not have the status finalized.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.