---
title: "List exact-money candidates with accountant ranking diagnostics"
method: GET
path: "/accountant/companies/{customerId}/documents/{documentId}/match-candidates"
tags: ["Accountant Documents"]
---

# List exact-money candidates with accountant ranking diagnostics

`GET /accountant/companies/{customerId}/documents/{documentId}/match-candidates`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/documents/{documentId}/match-candidates`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Query parameters

- `query` string
- `limit` integer

## Response `200`

Accountant candidates with diagnostics bound to transaction money authority

- AccountantDocumentMatchCandidatesResponse
  - `success` boolean, required
  - `data` object, required
    - `candidates` AccountantDocumentMatchCandidate[], required
      - `transaction` DocumentMatchTransaction, required
        - `id` string, uuid, required
        - `entityId` string, uuid, required
        - `occurredOn` string, date, required
        - `description` string, required
        - `merchantName` string, nullable, required
        - `amountCents` integer, required
        - `currency` string, required
        - `minorUnitExponent` 2, required
        - `direction` 'in' | 'out', required
        - `sourceAccountName` string, nullable, required
        - `sourceProviderLabel` string, nullable, required
      - `score` number, required
      - `amountDiffCents` integer, nullable, required: Exact difference in the nested transaction currency and minorUnitExponent.
      - `dateDiffDays` integer, nullable, required
      - `textScore` number, nullable, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `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)
