---
title: "Apply a post-import reconciliation setup change"
method: POST
path: "/bulk/import-jobs/{jobId}/reconciliation-setup/apply"
tags: ["Imports"]
---

# Apply a post-import reconciliation setup change

`POST /bulk/import-jobs/{jobId}/reconciliation-setup/apply`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bulk/import-jobs/{jobId}/reconciliation-setup/apply`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Sets or adjusts the reconciliation baseline/starting point for an imported account: open a starting window, confirm a baseline, or roll back. Confirming may mark outstanding (never-cleared) transactions that stay unreconciled and carry into later reconciliations. Skipping is no longer supported; unconfirmed accounts stay in stasis and cannot take feed mappings or posted activity.

## Path parameters

- `jobId` string, uuid, required

## Request body

- object
  - `action` 'open' | 'rollback' | 'confirm_baseline', required
  - `accountKey` string, required
  - `startDate` string, date
  - `baselineEndDate` string, date
  - `statementEndingBalance` integer
  - `baselineSource` 'statement' | 'manual'
  - `sourceStatementId` string, uuid, nullable
  - `sourceStatementExtractionId` string, uuid, nullable
  - `outstandingTransactionIds` string[]: Imported bank transaction UUIDs that had NOT cleared the bank as of the baseline date; they stay unreconciled and carry forward. Find candidates via .../reconciliation-setup/outstanding-candidates.
  - `confirm` boolean, required

## Response `200`

Setup change applied

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