Accountant Portal

Get customer books integrity check status (accountant mirror)

Changed on

Read-only accountant mirror of GET /companies/{companyId}/books-integrity (#4067, #2010). Returns the stored verdict without re-running ledger invariants or exposing invariant details. Human bearer only; service tokens receive 404.

get/accountant/companies/{customerId}/books-integrity

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Response

Latest integrity verdict, or not_checked when none exists

BooksIntegrityStatusResponse required
success, true required
data, BooksIntegrityStatus required

The company's latest automated books integrity verdict (#2010). Built from each scheduled check window's latest passed or failed run; errored, skipped and operator runs are not verdicts. failing while any window's latest verdict failed on at least one invariant other than the books invariants I22–I30, or on the books invariant I25 (business event failed to post). The other books invariants, including I29 (books differ from the bank balance, #4953), never make it failing by themselves. not_checked means no verdict exists and is not a failure. No invariant codes, counts or amounts are exposed.

Changes