---
title: "Cancel an in-progress reconciliation"
method: POST
path: "/bank-accounts/{bankAccountId}/reconciliations/{reconciliationId}/cancel"
tags: ["Reconciliation"]
---

# Cancel an in-progress reconciliation

`POST /bank-accounts/{bankAccountId}/reconciliations/{reconciliationId}/cancel`

## Request

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

Cancels the open session, returns every checked row to the unreconciled pool, and preserves posted accounting entries.

## Path parameters

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

## Request body

- object
  - `reason` string

## Response `200`

Reconciliation cancelled

## 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)
