Skip to main content

List Stale Pre-Cutover Entries

GET 

/api/ledger/entries/stale-precutover

Imported pre-cutover journal entries whose SOURCE document was edited after the entry was imported. Automatic generation deliberately never rewrites frozen pre-cutover history, so these entries' figures no longer match their documents — this feed makes that drift visible so it can be fixed deliberately with Rebuild Journal Entry (single) or Bulk Entry Action with action rebuild.

Authentication: Requires Bearer token.

Response fields:

  • count — total stale entries across all source types
  • capped — true when entries holds only the first 200 rows. To rebuild everything in one call, use Bulk Entry Action with action: "rebuild" and scope: "all_stale" — it targets the full stale set, not just this preview.
  • entries — up to 200 rows, most-recently-drifted first. Each row carries the entry identity (id, document_number, reference, type, display_status), its amounts (total_debit, total_credit, currency_code), its accounting date (effective_at), the source document link (source), and the drift facts: source_updated_at (when the document last changed) vs imported_at (when the entry was imported).

Returns count: 0 with an empty list for tenants without an accounting cutover (no frozen history exists).

Request

Responses

OK

Response Headers
    Content-Type