# Fetch an account reconciliation by id

Operation ID: `getReconciliation`

Group: Banking › Reconciliations

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/endpoints/getReconciliation)

`GET /banking/reconciliations/{id}`

Read-only: Reads and returns; changes nothing.

Fetches one reconciliation by the `id` that start returned and that the worklist reports.

The scalar fields are named and typed exactly as `GET banking/reconciliations` names and types them, so one model deserializes both. What only this route carries is `balances`: the roll-forward that shows how the statement side and the ledger side each reach an ending balance, and what is left between them.

**Read `balances` as two columns that must meet.** The statement side starts at `statementBeginningBalance` — the previous period's closing balance, or the account's configured opening balance for a first reconciliation — and ends at `statementEndingBalance`, the figure the bank reports. The ledger side runs from `glBeginningBalance` to `glEndingBalance`. `clearedIncoming` and `clearedOutgoing` are the movements matched on both sides, so they appear in both columns. What has been seen by only one side is in transit: `incomingBankTransactionsInTransit` and `outgoingBankTransactionsInTransit` are on the bank feed but not yet in the ledger, and the two `…GlTransactionsInTransit` figures are the reverse. `difference` is what remains once both sides are adjusted for what is in transit; a reconciliation balances when it is zero.

**`difference` is computed on every call, not stored.** It is not available on the worklist for that reason, and it moves as transactions are matched or flagged in transit — do not cache it against a `lastModifiedDate` that only tracks the reconciliation row.

Every amount in `balances` is a bare decimal in the account currency, named by the sibling `currency` field.

A miss is reported as the diagnostic `NOT_FOUND` — but under HTTP **400**, not 404. A route cannot yet declare a status per diagnostic code, so business failures share the 400 slot. Branch on the `code` in the error body, not on the status.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Api-Version` | header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version `v1`. |
| `id` | path | string | yes | Platform id (a UUID) of the reconciliation to fetch; bound from the :id path segment. |

## Response

`200` Success

Under `data` (getReconciliationOutput):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Platform id (a UUID) of the reconciliation (the public identifier). Example: `"3b7d5e9c-1a24-4f80-9c6d-2e8f70b13a45"`. |
| `reconciliationNumber` | string | no | Human-readable reconciliation number assigned by the platform, unique per tenant. Example: `"AR-000117"`. |
| `accountId` | string | yes | Id (a UUID) of the bank or credit-card account being reconciled. Example: `"9f2c6a10-7d34-4c8e-9b21-5a0f3e6d81b7"`. |
| `accountNumber` | string | no | Account number of the reconciled account, as shown in the chart of accounts. Example: `"1010"`. |
| `accountName` | string | no | Account name of the reconciled account. Example: `"Operating Account USD"`. |
| `entityId` | string | no | Id (a UUID) of the entity owning the account. Example: `"e57a0d34-9f62-4b18-bc25-71a6e8039d4b"`. |
| `entityName` | string | no | Name of the entity owning the account. Example: `"Everest US Inc."`. |
| `accountingPeriodId` | string | yes | Id (a UUID) of the accounting period being reconciled. Example: `"8c1f4a72-6b09-4d15-a3e7-40d2b6915cf8"`. |
| `periodName` | string | no | Name of the accounting period, e.g. 'Jul 2026'. Example: `"Jul 2026"`. |
| `statementEndDate` | date | no | Closing date of the bank statement this reconciliation covers. Format YYYY-MM-DD. Example: `"2026-07-31"`. |
| `statementEndBalance` | decimal | no | Closing balance the statement reports, in the account currency (see currency). Example: `"184320.55"`. |
| `currency` | string | yes | ISO 4217 currency code of the account, governing statementEndBalance and every amount in balances. Example: `"USD"`. |
| `status` | string | no | Lifecycle status: 'created', 'inProgress', 'complete' or 'unreconciled'. Example: `"inProgress"`. |
| `reconciledOn` | date | no | Date the reconciliation was last submitted; absent until it has been submitted for the first time. A reopened reconciliation keeps the stamps from its last submit until it is submitted again, so read `status` to tell an open one from a closed one. Format YYYY-MM-DD. |
| `reconciledBy` | string | no | Full name of the user who last submitted the reconciliation, resolved from the stored user reference. Personal data: neither filterable nor orderable, and it must not travel in a URL. Absent until it has been submitted for the first time. A reopened reconciliation keeps the stamps from its last submit until it is submitted again, so read `status` to tell an open one from a closed one. |
| `lastModifiedDate` | date-time | yes | Timestamp of the last change to the reconciliation row. Note that the figures in balances are recomputed on every call and can move without this changing. ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). Example: `"2026-08-04T14:12:09.418Z"`. |
| `balances` | object | yes | Balance roll-forward for this reconciliation, computed on every call. Read it as two columns that must meet: the statement side and the ledger side, each adjusted for what the other has not seen yet. Absent from GET banking/reconciliations, which is a data-set and carries scalars only. Example: `{"currency":"USD","statementBeginningBalance":"171905.12","statementEndingBalance":"184320.55","glBeginningBalance":"171905.12","glEndingBalance":"186470.55","clearedIncoming":"43120.00","clearedOutgoing":"-30704.57","incomingBankTransactionsInTransit":"0","outgoingBankTransactionsInTransit":"-2150.00","incomingGlTransactionsInTransit":"0","outgoingGlTransactionsInTransit":"0","difference":"0"}`. |
| `balances.currency` | string | yes | ISO 4217 currency code governing every amount in this object. |
| `balances.statementBeginningBalance` | decimal | yes | Opening balance of the statement side: the previous period's closing statement balance, or the account's configured opening balance for a first reconciliation. |
| `balances.statementEndingBalance` | decimal | yes | Closing balance the statement reports; the same figure as the top-level statementEndBalance, repeated here so the roll-forward reads on its own. |
| `balances.glBeginningBalance` | decimal | yes | Ledger balance of the account on the day before the period starts. |
| `balances.glEndingBalance` | decimal | yes | Ledger balance of the account on the period end date. |
| `balances.clearedIncoming` | decimal | yes | Sum of incoming movements matched on both sides (positive). |
| `balances.clearedOutgoing` | decimal | yes | Sum of outgoing movements matched on both sides (negative). |
| `balances.incomingBankTransactionsInTransit` | decimal | yes | Incoming bank-feed transactions flagged in transit: on the statement, not yet in the ledger (positive). |
| `balances.outgoingBankTransactionsInTransit` | decimal | yes | Outgoing bank-feed transactions flagged in transit: on the statement, not yet in the ledger (negative). |
| `balances.incomingGlTransactionsInTransit` | decimal | yes | Incoming ledger transactions flagged in transit: posted in the ledger, not yet on the statement (positive). |
| `balances.outgoingGlTransactionsInTransit` | decimal | yes | Outgoing ledger transactions flagged in transit: posted in the ledger, not yet on the statement (negative). |
| `balances.difference` | decimal | yes | What remains between the two sides once both are adjusted for what is in transit. A reconciliation balances when this is zero. |

```json
{
  "data": {
    "id": "3b7d5e9c-1a24-4f80-9c6d-2e8f70b13a45",
    "reconciliationNumber": "AR-000117",
    "accountId": "9f2c6a10-7d34-4c8e-9b21-5a0f3e6d81b7",
    "accountNumber": "1010",
    "accountName": "Operating Account USD",
    "entityId": "e57a0d34-9f62-4b18-bc25-71a6e8039d4b",
    "entityName": "Everest US Inc.",
    "accountingPeriodId": "8c1f4a72-6b09-4d15-a3e7-40d2b6915cf8",
    "periodName": "Jul 2026",
    "statementEndDate": "2026-07-31",
    "statementEndBalance": "184320.55",
    "currency": "USD",
    "status": "inProgress",
    "reconciledOn": "2026-01-15",
    "reconciledBy": "<reconciledBy>",
    "lastModifiedDate": "2026-08-04T14:12:09.418Z",
    "balances": {
      "currency": "USD",
      "statementBeginningBalance": "171905.12",
      "statementEndingBalance": "184320.55",
      "glBeginningBalance": "171905.12",
      "glEndingBalance": "186470.55",
      "clearedIncoming": "43120.00",
      "clearedOutgoing": "-30704.57",
      "incomingBankTransactionsInTransit": "0",
      "outgoingBankTransactionsInTransit": "-2150.00",
      "incomingGlTransactionsInTransit": "0",
      "outgoingGlTransactionsInTransit": "0",
      "difference": "0"
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}
```

## Errors

| Code | Status |
| --- | --- |
| `NOT_FOUND` | 400 |

## Statuses

- `400` — Invalid request or business failure. Codes: NOT_FOUND
- `401` — The request carries no valid access token.
- `403` — Not authorized
- `404` — Not found
- `429` — Too many requests from this client address. The response has no body and no `Retry-After` header.
- `500` — Internal server error
