---
title: "Read the p12 facts catalog (groups, used-for lines, states, read-only rows)"
method: GET
path: "/accountant/companies/{customerId}/fact-catalog"
tags: ["Accountant Portal"]
---

# Read the p12 facts catalog (groups, used-for lines, states, read-only rows)

`GET /accountant/companies/{customerId}/fact-catalog`

## Request

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

#2587 c6960686816, row 5 (OpenBot's contract c6955404335; wireframe page 12). Read-only. The groups `service_level`, `accounting_policies`, `accounts_and_sources`, `people` and `firm_rules`. Today's 22 fact keys (#4387) stay valid in their groups. Accounts and sources opens with one row per bank account of the client (`account:<bankAccountId>`, personal accounts left out; `to_fix` when its feed is in error or disconnected). People ends with `our_team`, the firm's people assigned to the client. Firm rules are read-only copies of the rules the API enforces (a 0.00 reconciliation difference, questions go to a person, the weekly blind sample). Each row has `usedFor` (what reads the fact today), `state` (`proposed`: Penny's open proposal waits; `to_fix`: no value; `confirmed`: a person's value; `mirroredFrom` set and `mirrored`: a read-only copy of Setup; `firm_rule`), `source`, `reference` (the source's own words, for a confirmed fact), `confirmedBy`/`confirmedAt`, and `proposal` for Confirm, Edit and Reject on the #4387 routes. Nothing proposes facts from the engagement letter or onboarding call yet; the catalog returns none of those. 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` FactCatalog, required
    - `groups` object[], required
      - `key` 'service_level' | 'accounting_policies' | 'accounts_and_sources' | 'people' | 'firm_rules', required
      - `label` string, required
      - `rows` FactCatalogRow[], required
        - `key` string, required: One of the 22 fact keys, `our_team`, `firm.<rule>` or `account:<bankAccountId>`.
        - `label` string, required
        - `value` string, nullable, required
        - `usedFor` string, required: The "Used for" line, what reads this fact today.
        - `state` 'proposed' | 'to_fix' | 'confirmed' | 'firm_rule' | 'mirrored', required
        - `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
        - `reference` string, nullable, required: The source's own words, for a confirmed fact that has them.
        - `confirmedBy` string, nullable, required
        - `confirmedAt` string, date-time, nullable, required
        - `mirroredFrom` 'setup.plan' | 'setup.people_and_access' | 'setup.penny' | 'setup.profile' | 'agent.client_facts' | 'setup.connections' | 'settings.firm_rules' | 'null', nullable, required: Where a read-only row is changed; null for a fact kept on this page.
        - `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/fact-catalog/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)
