---
title: "Check transactions that match the source statement"
method: POST
path: "/bank-accounts/{bankAccountId}/reconciliations/{reconciliationId}/auto-match"
tags: ["Reconciliation"]
---

# Check transactions that match the source statement

`POST /bank-accounts/{bankAccountId}/reconciliations/{reconciliationId}/auto-match`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bank-accounts/{bankAccountId}/reconciliations/{reconciliationId}/auto-match`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Runs the deterministic statement matcher against the in-progress session's source statement extraction and marks matching candidate register rows reconciled into the session. Idempotent: already-checked rows are left alone, and rows on pending holds are skipped. Returns the newly checked transaction ids.

## Path parameters

- `bankAccountId` string, uuid, required
- `reconciliationId` string, uuid, required

## Response `200`

matchedCount, matchedTransactionIds, and skippedCount

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
