Skip to main content

Repost All Entries

POST 

/api/ledger/entries/repost-all

Repost every current (non-discarded, non-reversed) ledger entry so posted GL lines pick up a changed chart of accounts — the onboarding backfill after adopting a provider's chart. Reuses the bulk rebuild pipeline: posted entries auto-reverse + replace with the new nominal codes, drafts regenerate in place, batch aggregates route through the batch state machine. Requires the accounting.sync permission. Returns the tracked job log id + eligible/excluded counts.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request

Responses

OK

Response Headers
    Content-Type