---
title: "Propose a client fact (the bookkeeping agent's key)"
method: POST
path: "/accountant/companies/{customerId}/agent/client-fact-proposals"
tags: ["Accountant Portal"]
---

# Propose a client fact (the bookkeeping agent's key)

`POST /accountant/companies/{customerId}/agent/client-fact-proposals`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/client-fact-proposals`
- Auth: HTTP bearer

#4387 (Augusto, 2026-10-14: "Penny infers, accountant confirms"). The bookkeeping agent's key proposes one of the fifteen text facts with its source; the confirmed value is unchanged until a person confirms it. One open proposal per fact (409). A fact with a home elsewhere gets 422 with `extensions.editIn`. Refused with 409 AGENT_DISABLED / AGENT_KILLED where the agent may not work, and 403 AGENT_PHI_RESTRICTED for a patient-data company. A person and the shared cloud-bookkeeping service token get 404. Touches no books.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `factKey` 'plan' | 'close_target' | 'preparer' | 'reviewer' | 'communication_channel' | 'patient_data' | 'basis' | 'fiscal_year' | 'revenue' | 'prepaids' | 'classes' | 'owner_pay' | 'receipts' | 'fixed_assets' | 'operating_bank' | 'credit_cards' | 'payroll_provider' | 'payment_processor' | 'forwarding_address' | 'primary_contact' | 'bank_login_holder' | 'signer_tax_contact', required: One of the 22 facts; the seven with a home elsewhere get 422.
  - `value` string, required
  - `source` ClientFactSourceInput, required
    - `kind` 'engagement_letter' | 'email' | 'call' | 'document' | 'bank_feed' | 'person' | 'setup', required
    - `label` string, required
    - `date` string, date, nullable: Defaults to null.
  - `quote` string: The words the value was read from.

## Response `201`

Success envelope

- object
  - `success` boolean, required
  - `data` intersection, required
    - [`ClientFactProposal`](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b/schema?at=%2Fcomponents%2Fschemas%2FClientFactProposal)
    - object
      - `factKey` string, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: Request conflicts with the durable onboarding state
- `422`: Validation failed (an unknown fact, an empty or over-long value, a bad source), or a fact with a home elsewhere (CLIENT_FACT_OWNED_ELSEWHERE, with `extensions.editIn`)

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/client-fact-proposals/post.md)

---

[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/4f4c2d34276b?raw)
