Reconciliation items

List match targets

Returns a page of existing transactions on the same bank account that could explain this bank entry, newest first. Requires the reconciliations:read permission.

GET
https://services.magicdoor.com/accounting/company-portal/reconciliations/items/{reconciliationItemId}/match-targets

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

reconciliationItemIdstringrequired

Snowflake id of the reconciliation item.

example: 1830472847398410100

Query parameters

pageinteger

Which page to return, starting at 1.

default: 1
pageSizeinteger

How many transactions per page, between 1 and 100.

default: 50
searchstring

Free-text search across the transactions, 2 to 500 characters.

nearbyDaysinteger

Only transactions dated within this many days either side of the bank entry, between 1 and 90. Omit it for no date limit at all.

Response

200 · A page of candidate transactions, sorted by transaction date descending.

itemsTransaction[]

Transactions you can pass in transactionIds on a match resolve.

totalCountinteger

How many transactions match in total.

totalPagesinteger

How many pages that is at this pageSize.

pageinteger

The page number that was returned.

pageSizeinteger

How many transactions a full page holds.

400 · `nearbyDays` is outside 1–90, `search` is shorter than 2 or longer than 500 characters, or a pagination value is out of range.

401 · The access token is missing, expired, or not for this company.

403 · The caller does not hold the `reconciliations:read` permission.

404 · No reconciliation item with this id belongs to the caller's company.

Only transactions that count toward ledger balances are offered, and only ones not already tied to a reconciliation item. An item whose bank entry amount is zero always returns an empty page.