Skip to main content

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.

Authorization

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

OK

Response Headers
    Content-Type