---
title: "Re-run deterministic QA after remediating a blocked proposal"
method: POST
path: "/accountant/companies/{customerId}/schedule-proposals/{id}/recheck"
tags: ["Accountant Portal", "Schedule Proposals"]
---

# Re-run deterministic QA after remediating a blocked proposal

`POST /accountant/companies/{customerId}/schedule-proposals/{id}/recheck`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/schedule-proposals/{id}/recheck`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Accountant-only, idempotent recovery action. Re-reads the current chart of accounts and filing locks, refreshes role-derived account snapshots, and records proposal_rechecked. A passing proposal returns to pending_review; this endpoint never auto-approves or materializes.

## Response `200`

The still-blocked or human-review-ready proposal and current QA issues

- ScheduleProposalRecheckResponse
  - `success` boolean, required
  - `data` object, required
    - `outcome` 'still_blocked' | 'pending_review', required
    - `proposal` ScheduleProposal, required: One AI-detected deferral/accrual candidate with its derived schedule inputs and confidence. Never a book write on its own; materialization (#1266 Phase B) turns approved proposals into schedule definitions.
      - `id` string, uuid
      - `companyId` string, uuid
      - `entityId` string, uuid, nullable
      - `currency` string, nullable
      - `proposalType` 'deferral' | 'accrual'
      - `kind` 'prepaid_amortization' | 'deferred_revenue_recognition' | 'accrual'
      - `derivedInputs` object: Zod-validated derived inputs (per-type schema; legs are ScheduleProposalLeg items).
      - `totalAmountCents` integer
      - `startDate` string, date
      - `endDate` string, date, nullable
      - `confidencePct` number
      - `confidenceBand` 'high' | 'medium' | 'low'
      - `confidenceComponents` object
      - `detectionSignals` object
      - `reasoning` string, nullable
      - `sourceKind` string
      - `sourceId` string, nullable
      - `dedupKey` string
      - `inputHash` string
      - `matchKey` string, nullable
      - `status` 'proposed' | 'pending_review' | 'approved' | 'rejected' | 'blocked' | 'posted' | 'superseded' | 'expired'
      - `blockedReason` string, nullable
      - `escalatedAt` string, date-time, nullable
      - `escalationReason` string, nullable
      - `metadata` object
        - `clarification` ScheduleProposalClarification
          - `state` 'draft' | 'sent', required
          - `question` string, required
          - `draftedAt` string, date-time, required
          - `sentAt` string, date-time
          - `sentByUserId` string, uuid, nullable
          - `threadId` string, uuid
          - `initialMessageId` string, uuid
          - `thread` ScheduleProposalClarificationThread
            - `id` string, uuid, required
            - `status` 'open' | 'resolved' | 'archived', required
            - `ownership` 'ai' | 'accountant', required
            - `blocksClose` false, required
            - `initialMessageId` string, uuid, required
            - `hasCustomerReply` boolean, required
            - `customerReplyCount` integer, required
            - `lastCustomerReplyAt` string, date-time, nullable
      - `reviewedBy` string, uuid, nullable
      - `reviewedAt` string, date-time, nullable
      - `reviewNotes` string, nullable
      - `editedInputs` object, nullable
      - `scheduleDefinitionIds` string[], nullable
      - `postedJeId` string, uuid, nullable
      - `createdBy` string, uuid, nullable
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `issues` ScheduleProposalQaIssue[], required
      - `code` string, required
      - `message` string, required
      - `role` string

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: The proposal changed concurrently during the recheck
- `422`: Request failed validation

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
