---
title: "Read the 22 p12 client facts in their four groups"
method: GET
path: "/accountant/companies/{customerId}/agent/client-fact-groups"
tags: ["Accountant Portal"]
---

# Read the 22 p12 client facts in their four groups

`GET /accountant/companies/{customerId}/agent/client-fact-groups`

## Request

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

#4387 (accountant app p12 Facts). The groups `service_level`, `accounting_policies`, `accounts_and_sources` and `people`, each with its facts in the contract's order. Seven facts have a home elsewhere and are read from their owner on every request (status `system`, `editIn` names where they are edited): plan, preparer, patient data, basis, fiscal year, fixed assets and forwarding address. The other fifteen are plain text, `confirmed` by a person or `to_fix`; `proposal` is the agent's open proposal for the fact, if any. `to_fix` means no value, from the store or from the owner. Human accountants assigned to the customer only; both service keys get 404. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

Success envelope

- object
  - `success` boolean, required
  - `data` ClientFactGroups, required
    - `groups` object[], required
      - `key` 'service_level' | 'accounting_policies' | 'accounts_and_sources' | 'people', required
      - `label` string, required
      - `rows` ClientFactRow[], required
        - `key` '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
        - `label` string, required
        - `value` string, nullable, required
        - `status` 'confirmed' | 'system' | 'to_fix', required: `system`: read from the fact's owner. `to_fix`: no value, from the store or from the owner.
        - `source` ClientFactSource, nullable, required: Where a value came from, e.g. "Lena Park's email" on 2026-11-06 (#4387).
          - `kind` 'engagement_letter' | 'email' | 'call' | 'document' | 'bank_feed' | 'person' | 'setup', required
          - `label` string, required
          - `date` string, date, nullable, required
        - `decidedBy` string, nullable, required: The name of the person who confirmed the value.
        - `decidedAt` string, date-time, nullable, required
        - `editIn` 'setup.plan' | 'setup.people_and_access' | 'setup.penny' | 'setup.profile' | 'agent.client_facts' | 'null', nullable, required: Where a fact with a home elsewhere is edited (a p13 Setup section, or the four-fact client facts); null for the fifteen text facts.
        - `proposal` ClientFactProposal, nullable, required
          - `id` string, uuid, required
          - `value` string, required
          - `source` ClientFactSource, required: Where a value came from, e.g. "Lena Park's email" on 2026-11-06 (#4387).
            - `kind` 'engagement_letter' | 'email' | 'call' | 'document' | 'bank_feed' | 'person' | 'setup', required
            - `label` string, required
            - `date` string, date, nullable, required
          - `quote` string, nullable, required
          - `proposedAt` string, date-time, required
    - `counts` object, required
      - `all` integer, required
      - `proposed` integer, required
      - `toFix` integer, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

## 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-groups/get.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)
