Rollback Start Date Transition
POST/api/ledger/opening-balance/transition/rollback
Abandons the parked accounting-start-date change while it is still pending. The effective accounting start date is reverted to its old value and the transition settles to cancelled — the posted books are left completely untouched (no reversal, no rebuild, no reconciliation re-anchor). Safe because while pending the books were never changed.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
The revert is written directly to settings (not through the Settings endpoint) so it does NOT re-trigger the start-date-change hook that would park a fresh transition.
Authentication: Requires Bearer token + accounting.manage_settings.
No request body. On success opening_balance_overview.pending_start_date_transition becomes null and the opening balance + its posted entry are unchanged.
Errors: 422 when there is no pending transition to roll back.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.