Finalize a billing report
POST/v1/billing/reports/:id/finalization
Finalizes the billing report with the given ID: its figures become final, and AdviceCloud starts its finalize workflow in the background. Only a billing report with the status complete can be finalized; for any other status, including finalized, nothing changes. A finalized billing report cannot be deleted or changed back to a draft. If workflowStarted is false, call Re-run the finalize workflow of a billing report to start the finalize workflow. If your firm has no billing report with that ID, the response is 404.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 429
The billing report, finalized.
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 complete.
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.