# List the in-transit GL transactions of a reconciliation

Operation ID: `getReconciliationInTransitGlTransactions`

Group: Banking › Reconciliations

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

`GET /banking/reconciliations/{id}/in-transit/gl-transactions`

Read-only: Reads and returns; changes nothing.

The ledger postings this reconciliation has set aside as in transit: posted in this period, but not expected on the bank statement until a later one — an issued cheque not yet cashed being the ordinary case.

This is the mirror image of `in-transit/bank-transactions`. Each row here is excluded from `outstanding/gl-transactions` and adjusts the statement side of the roll-forward, appearing in `balances.incomingGlTransactionsInTransit` or `balances.outgoingGlTransactionsInTransit` on `GET banking/reconciliations/{id}`.

**`automaticallySet` says who decided.** A row the system carried forward on its own is marked true; one a person flagged is false. `PATCH banking/reconciliations/{id}/in-transit/gl-transactions` preserves the automatic ones.

`nextAccountingPeriodId` is the period the posting is expected to clear the bank in, derived when it was flagged rather than chosen.

Paginate with the `cursor` and `size` query parameters: pass the previous response's `nextCursor` back as `cursor`, and stop when `hasMore` is false. Default page size 50, capped at 200. The cursor is opaque — do not construct or decode one.

## 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; bound from the :id path segment. Example: `"3b7d5e9c-1a24-4f80-9c6d-2e8f70b13a45"`. |
| `cursor` | query | string | no | Opaque forward cursor from a previous response's nextCursor; omit for the first page. Do not construct or decode one. |
| `size` | query | number | no | Maximum number of items to return. Default 50, capped at 200; a larger value is clamped rather than rejected. |

## Response

`200` Success

Under `data` (getReconciliationInTransitGlTransactionsOutput):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array<object> | yes | GL transactions flagged in transit for this reconciliation. Example: `[{"id":"7c3e91a5-4b28-4f60-9d17-c05a8e2b4361","amount":"-8400.00","currency":"USD","automaticallySet":false,"nextAccountingPeriodId":"6f9a2b1c-3d47-4a80-b5e2-91c8d0374fab"}]`. |
| `items[].id` | string | yes | Platform id (a UUID) of the journal entry line. This is the id to pass to PATCH on this path, not the id of the in-transit flag itself. |
| `items[].amount` | decimal | no | Amount in the account currency (see currency), signed as the statement will see it: positive for money arriving in the account. |
| `items[].currency` | string | no | ISO 4217 currency code governing amount. |
| `items[].automaticallySet` | boolean | no | True when the platform carried this posting forward on its own, false when a person flagged it. PATCH on this path leaves the automatic ones alone. |
| `items[].nextAccountingPeriodId` | string | no | Id (a UUID) of the accounting period the posting is expected to clear the bank in. Derived when it was flagged, not chosen. |
| `pagination` | object | yes | Pagination cursor for this page. Example: `{"hasMore":false}`. |
| `pagination.nextCursor` | string | no | Opaque cursor to pass back as the `cursor` query parameter for the next page. Absent on the last page, which is how a caller knows to stop. |
| `pagination.hasMore` | boolean | yes | True when more transactions remain beyond this page. |

```json
{
  "data": {
    "items": [
      {
        "id": "7c3e91a5-4b28-4f60-9d17-c05a8e2b4361",
        "amount": "-8400.00",
        "currency": "USD",
        "automaticallySet": false,
        "nextAccountingPeriodId": "6f9a2b1c-3d47-4a80-b5e2-91c8d0374fab"
      }
    ],
    "pagination": {
      "hasMore": false
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}
```

## Errors

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

## Statuses

- `400` — Invalid request or business failure. Codes: NOT_FOUND, INVALID_CURSOR
- `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
