List Restatement Log
GET/api/ledger/reports/restatement-log
Paginated audit log of retroactive cost changes that reached an accounting period you have already reported on: every change applied back to its original stock dates, plus every change whose direction was later switched.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Each row carries the document that triggered the change, every accounting period it re-costed, the total value moved split into its on-hand and consumed shares, who resolved it and when, and links to the journal entries it posted.
Filters: trigger_type, trigger_types (csv), resolution, resolved_by, period, period_from/period_to (YYYY-MM), resolved_from/resolved_to (m/d/Y), search. Sort: resolved_at (default, descending), id, created_at, total_delta, on_hand_delta, consumed_delta, earliest_affected_period, affected_products_count, affected_layers_count. Pagination: page, per_page (default 10).
Request
Responses
- 200
- 401
- 403
- 429
OK
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.
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.