List the matches of a reconciliation

Operation ID: getReconciliationMatches

Group: Banking › Reconciliations

Open in the interactive reference

GET /banking/reconciliations/{id}/matches

Read-only: Reads and returns; changes nothing.

What this reconciliation has already tied together: the bank transactions and ledger postings that have been matched to each other, grouped by match.

A match is a group, not a pair. One bank transaction can settle several invoices and one payment run can appear as a single line on the statement, so each entry here carries a documents array and a documentCount rather than two ids. amount is the group's net amount and matchDate the date it was matched on.

Two kinds of group come back, told apart by type. A match is the ordinary case — bank meets ledger. A netZero is a group of ledger postings that cancel each other out and therefore never appear on a statement at all; they are matched to each other rather than to the bank, and they are what stops a pair of offsetting corrections from sitting in outstanding/gl-transactions forever.

This collection is read-only in v1. Creating and removing net-zero matches, and reversing ordinary bank-to-ledger matches, are not exposed here yet — the latter belongs to the matching surface rather than to reconciliation. Reading is enough to explain a reconciliation's difference, which is what this endpoint is for.

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. Groups come oldest match first.

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 match groups to return. Default 50, capped at 200; a larger value is clamped rather than rejected. Example: 50.

Response

200 Success

Under data (getReconciliationMatchesOutput):

Field Type Required Description
items array<object> yes Matches in this reconciliation's period for this page, ordinary and net-zero together, oldest match first. Empty when nothing has been matched yet. Example: [{"matchId":"8c41d2e7-6f05-4b3a-9e18-d27a5f90c6b3","type":"match","amount":"43120.00","matchDate":"2026-07-30","documentCount":2,"documents":[{"id":"b2f7c418-95a1-4d0e-8a63-7fe0d1c34592","side":"bank","reference":"BT-004182","amount":"43120.00","date":"2026-07-30","payeeOrPayor":"Northwind Traders","description":"Incoming wire"},{"id":"e5a90c3d-2b71-4f6e-b84d-0c3f1a7e9d26","side":"ledger","reference":"JE-2026-0993","amount":"43120.00","date":"2026-07-30","payeeOrPayor":"Northwind Traders","description":"Invoice INV-2026-0771 settlement"}]}].
items[].matchId string no Id (a UUID) of the match group, stable for as long as the match exists. The same value GET banking/bank-transactions/{id} reports as matchId for a matched transaction. Opaque here: no route in v1 takes it in a path.
items[].type string yes Kind of match: 'match' when bank and ledger were tied to each other, 'netZero' when ledger postings were matched against each other because they cancel out and never reach a statement. One of: "match", "netZero".
items[].amount decimal no Net amount of the match group in the account currency: what the group moved on the account overall.
items[].matchDate date no Date the match was made. Format YYYY-MM-DD.
items[].documentCount number yes Number of documents in the group. Equal to the length of documents, and the reason a match is not modelled as a pair.
items[].documents array<object> yes The documents tied together by this match — bank transactions and ledger postings side by side, each described the same way whichever side it came from.
items[].documents[].id string no Id (a UUID) of the document itself: the bank transaction on the bank side, the journal entry line on the ledger side. Addresses the resource each side's own endpoints take.
items[].documents[].side string no Which side of the match the document came from. One of: "bank", "ledger".
items[].documents[].reference string no Human-readable reference of the document: a bank transaction number on the bank side, a journal entry reference on the ledger side.
items[].documents[].amount decimal no Amount of this document in the account currency, signed the way the statement sees it: positive for money arriving in the account, on either side. Within an ordinary match the bank and ledger amounts therefore carry the same sign; within a net-zero group the ledger amounts cancel.
items[].documents[].date date no Date of the document. Format YYYY-MM-DD.
items[].documents[].payeeOrPayor string no Counterparty the document names, when it names one.
items[].documents[].description string no Description carried by the document.
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 match groups remain beyond this page.
{
  "data": {
    "items": [
      {
        "matchId": "8c41d2e7-6f05-4b3a-9e18-d27a5f90c6b3",
        "type": "match",
        "amount": "43120.00",
        "matchDate": "2026-07-30",
        "documentCount": 2,
        "documents": [
          {
            "id": "b2f7c418-95a1-4d0e-8a63-7fe0d1c34592",
            "side": "bank",
            "reference": "BT-004182",
            "amount": "43120.00",
            "date": "2026-07-30",
            "payeeOrPayor": "Northwind Traders",
            "description": "Incoming wire"
          },
          {
            "id": "e5a90c3d-2b71-4f6e-b84d-0c3f1a7e9d26",
            "side": "ledger",
            "reference": "JE-2026-0993",
            "amount": "43120.00",
            "date": "2026-07-30",
            "payeeOrPayor": "Northwind Traders",
            "description": "Invoice INV-2026-0771 settlement"
          }
        ]
      }
    ],
    "pagination": {
      "hasMore": false
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
NOT_FOUND 400
INVALID_CURSOR 400

Statuses