Accountant Portal

Settle one item of held work

Changed on

Agent key only. already_settled is accepted only when the API itself sees the subject settled (409 AGENT_HELD_NOT_SETTLED otherwise). abandoned_by_label (any item but a company) and released_by_label (a company held by the integrity watch) need the GitHub event id of the label and when it was added (githubEventAt): a label acts only on items held before it, and an event already used for an earlier release of the finding never acts again (409 AGENT_LABEL_EVENT_STALE). Refused with 403 AGENT_PHI_RESTRICTED for a patient-data-restricted company. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404. The shared cloud-bookkeeping service token gets 404 here.

post/accountant/companies/{customerId}/agent/findings/{findingId}/held/{heldItemId}/settle

Request

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

Path parameters

customerId, string uuid required
findingId, string uuid required
heldItemId, string uuid required

Request body

object required
reason, 'already_settled' | 'abandoned_by_label' | 'released_by_label' required
githubEventId, integer
githubEventAt, string date-time

Response

Success envelope

object required

Changes