Skip to main content

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​

The result of the re-run.