---
title: "Abandon an in-progress reconciliation draft with an audited reason"
method: POST
path: "/accountant/companies/{customerId}/reconciliations/{id}/abandon"
tags: ["Accountant Portal"]
---

# Abandon an in-progress reconciliation draft with an audited reason

`POST /accountant/companies/{customerId}/reconciliations/{id}/abandon`

## Request

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

#3886. Sets an in-progress draft aside instead of deleting it: only the status changes, to `abandoned`, and the row, its matches, unmatched items and events all stay. Appends an `abandoned` event with the actor and the reason in the same transaction. An abandoned draft is left out of the default reconciliation list (list it with `?status=abandoned`) and of the readers built on that list, so it no longer holds a later completion under the in-order rule; matching, editing, unmatching and completing it are refused (422 `RECONCILIATION_ABANDONED`) until it is restored. A person can still delete it (DELETE, as an in-progress draft), which frees its period. It keeps its period meanwhile: creating or quick-completing that exact period answers 409 `RECONCILIATION_ABANDONED_FOR_PERIOD` with its id. Completed and reopened reconciliations are refused (422). Service principals use the high-impact route policy; DELETE and unmatch remain human-only. Returns the reconciliation.

## Path parameters

- `customerId` string, uuid, required
- `id` string, required

## Request body

- object
  - `reason` string, required

## Response `200`

The abandoned reconciliation

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: The reconciliation changed while it was being abandoned; refresh and retry
- `422`: Missing reason, or the reconciliation is not an in-progress draft

## Changes

- **2026-10-30** `a273ba635ec9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/reconciliations/:id/abandon/post.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)
