Acreum Docs
Banking

Banking Reconciliations

GET
/v1/banking/reconciliations

Required scope: banking:read

Pagination: cursor-optional

Error codes: VALIDATION_FAILED, INVALID_CURSOR

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

cursor?string
limit?number

1..500. Omit to receive the full collection in one page.

bank_account_id?string

Optional. When omitted, returns all of the org's reconciliations.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/banking/reconciliations'
{  "data": [    {      "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",      "bank_account_name": "string",      "beginning_balance": "1234.50",      "completed_at": "string",      "completion_mode": "auto",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "legal_entity_name": "string",      "statement_ending_balance": "1234.50",      "statement_ending_date": "2019-08-24",      "status": "in_progress"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
POST
/v1/banking/reconciliations

Required scope: banking:write

Error codes: NOT_FOUND, BANK_ACCOUNT_NOT_RECONCILABLE, RECONCILIATION_IN_PROGRESS, RECONCILIATION_DATE_NOT_AFTER_PREVIOUS, VALIDATION_FAILED

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
bank_account_id*string
Formatuuid
beginning_balance?string

Only honored on the first reconciliation for the account (no prior to carry from). Defaults to 0.

statement_ending_balance*string
statement_ending_date*string
Formatdate

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/banking/reconciliations' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",  "statement_ending_balance": "11839.51",  "statement_ending_date": "2026-01-31"}'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
GET
/v1/banking/reconciliations/accounts

One row per active bank account with its latest non-discarded reconciliation, the date it is reconciled through and its state, 100 per page; drain meta.next_cursor for the rest. Filter by state and legal_entity_id, search by account name or last four digits, and sort by company, account or reconciled-through date (prefix - for descending); the default is company, then account name, then id.

Required scope: banking:read

Pagination: cursor

Error codes: VALIDATION_FAILED, INVALID_CURSOR, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

legal_entity_id?string
Formatuuid
state?string

Only accounts in this state. The state is the one each row reports: computed from the account's latest non-discarded reconciliation and the org's today.

Value in"needs_attention""in_progress""completed_auto""completed""waiting_for_statement""never_reconciled""not_reconcilable"
cursor?string
limit?number

1..100, default 100

Range1 <= value <= 100
sort?string

Default: company

Value in"company""-company""account""-account""reconciled_through""-reconciled_through"
search?string

Case-insensitive substring match on: account name, last four digits.

ids?string

Up to 100 ids; returns those rows regardless of other filters and ignores search.

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/banking/reconciliations/accounts'
{  "data": [    {      "account_type": "checking",      "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",      "bank_account_last4": "string",      "bank_account_name": "string",      "latest": {        "blocking_count": 0,        "completed_at": "2019-08-24T14:15:22Z",        "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",        "completion_mode": "auto",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "start_mode": "auto",        "statement_ending_date": "2019-08-24",        "status": "in_progress"      },      "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",      "legal_entity_name": "string",      "reconcilable": true,      "reconciled_through": "2019-08-24",      "state": "needs_attention"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
GET
/v1/banking/reconciliations/{id}

Required scope: banking:read

Error codes: NOT_FOUND

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/banking/reconciliations/string'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PATCH
/v1/banking/reconciliations/{id}

Required scope: banking:write

Error codes: NOT_FOUND, RECONCILIATION_NOT_IN_PROGRESS, RECONCILIATION_DATE_NOT_AFTER_PREVIOUS, RECONCILIATION_BEGINNING_BALANCE_LOCKED, VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
beginning_balance?string

Only accepted while the bank account has no completed reconciliation (a first period); otherwise refused with RECONCILIATION_BEGINNING_BALANCE_LOCKED.

statement_ending_balance?string
statement_ending_date?string
Formatdate

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/banking/reconciliations/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
DELETE
/v1/banking/reconciliations/{id}

A reconciliation that was never completed is deleted. One that was completed once (and undone) can be discarded only while it is the latest of its bank account; it is kept with status discarded.

Required scope: banking:write

Error codes: NOT_FOUND, RECONCILIATION_NOT_IN_PROGRESS, RECONCILIATION_WAS_COMPLETED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Response Body

Possible error codes: INVALID_IDEMPOTENCY_KEY

application/json
  1. response
code*string
detail*string
errors?array<>
instance*string
next_action?string

What the caller does next. Sent only by codes that declare it (the PLAN_* codes).

Value in"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"
request_id*string
retryable?boolean

Whether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).

status*number
title*string
type*string
curl -X DELETE 'https://api.acreum.io/v1/banking/reconciliations/string'
{  "code": "DOCUMENT_ALREADY_POSTED",  "detail": "Document doc_01 is already posted.",  "errors": [    {      "code": "INVALID_VALUE",      "field": "amount",      "message": "must be > 0"    }  ],  "instance": "/v1/documents/doc_01/post",  "next_action": "fix_step",  "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",  "retryable": true,  "status": 409,  "title": "Document already posted",  "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}
POST
/v1/banking/reconciliations/{id}/complete

Required scope: banking:write

Error codes: NOT_FOUND, RECONCILIATION_NOT_IN_PROGRESS, RECONCILIATION_NOT_BALANCED, RECONCILIATION_ADJUST_FAILED, VALIDATION_FAILED, LEDGER_ENTRY_REFUSED, ACCOUNT_LEGAL_ENTITY_MISMATCH, PERIOD_LOCKED, PERIOD_CLOSED, PERIOD_MISSING, DIMENSION_REQUIRED

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
adjust?

When omitted, completion requires difference == 0. When present, posts a balancing JE and forces completion.

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/banking/reconciliations/string/complete' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
PATCH
/v1/banking/reconciliations/{id}/items

Required scope: banking:write

Error codes: NOT_FOUND, RECONCILIATION_NOT_IN_PROGRESS, INVALID_RECONCILIATION_LINE, VALIDATION_FAILED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Client-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
items*array<>

At least one item; an empty list is refused (VALIDATION_FAILED).

Response Body

application/json
  1. response
data*
meta*
curl -X PATCH 'https://api.acreum.io/v1/banking/reconciliations/string/items' \  -H 'Content-Type: application/json' \  -d '{  "items": [    {      "cleared": true,      "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc"    }  ]}'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/banking/reconciliations/{id}/statement

Required scope: banking:write

Error codes: NOT_FOUND, EMPTY_FILE, FILE_TOO_LARGE, UNSUPPORTED_FILE_TYPE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

multipart/form-data
  1. body
file*unknown

PDF or CSV bank-statement file.

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/banking/reconciliations/string/statement' \  -H 'Idempotency-Key: string' \  -F 'file=null'
{  "data": {    "auto_reconcile_note": "not_reconcilable",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "content_type": "string",    "created_at": "2019-08-24T14:15:22Z",    "extracted_ending_balance": "string",    "extracted_statement_date": "2019-08-24",    "file_name": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839",    "needs_period_confirmation": true,    "parse_error": "string",    "parse_model": "string",    "period_end_confirmed_at": "2019-08-24T14:15:22Z",    "purpose": "feed",    "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd",    "status": "parsing"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}
POST
/v1/banking/reconciliations/{id}/undo

Required scope: banking:write

Error codes: NOT_FOUND, RECONCILIATION_NOT_COMPLETED, RECONCILIATION_LATER_PERIOD_COMPLETED, RECONCILIATION_IN_PROGRESS, RECONCILIATION_ADJUST_REVERSAL_FAILED, PERIOD_LOCKED, PERIOD_MISSING, LEDGER_ENTRY_REFUSED, ACCOUNT_LEGAL_ENTITY_MISMATCH, DOCUMENT_STATUS_FORBIDS_ACTION, LEGAL_ENTITY_NOT_IN_SCOPE

Authorization

access-token
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/banking/reconciliations/string/undo' \  -H 'Idempotency-Key: string'
{  "data": {    "adjustment_journal_entry_id": "3aa09c75-965f-4652-91d7-548d695e9257",    "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff",    "bank_account_last4": "string",    "bank_account_name": "string",    "beginning_balance": "1234.50",    "blocking_reasons": [      {        "amount": "1234.50",        "count": 0,        "documents": [          {            "amount": "1234.50",            "bank_date": "2019-08-24",            "book_date": "2019-08-24",            "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",            "document_number": "string"          }        ],        "kind": "unprocessed_bank_lines"      }    ],    "cleared_balance": "1234.50",    "cleared_count": 0,    "cleared_deposits_total": "1234.50",    "cleared_payments_total": "1234.50",    "completed_at": "2019-08-24T14:15:22Z",    "completed_by": "c9235180-61dd-4e9a-a3ba-27dfed282f7f",    "completion_mode": "auto",    "difference": "1234.50",    "human_changes": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_balanced": true,    "legal_entity_name": "string",    "lines": [      {        "bank_date": "2019-08-24",        "clear_source": "auto",        "cleared": true,        "cleared_date": "string",        "deposit": "1234.50",        "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",        "document_number": "string",        "document_type": "string",        "entry_date": "2019-08-24",        "feed_cleared": true,        "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed",        "journal_line_id": "0037d581-383e-4457-9c0d-c60ad65177dc",        "memo": "string",        "party_name": "string",        "payment": "1234.50"      }    ],    "start_mode": "auto",    "statement_ending_balance": "1234.50",    "statement_ending_date": "2019-08-24",    "statement_import": {      "extracted_ending_balance": "string",      "extracted_statement_date": "2019-08-24",      "file_name": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string"    },    "status": "in_progress"  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}