Skip to main content

Auto-match Single-candidate Lines

POST 

/api/ledger/reconciliation/bank-statements/:bankStatementImport/auto-match

Confirm every still-unmatched line in the import that has EXACTLY ONE candidate (an unambiguous match). Lines with zero or multiple candidates are left for the user. Optional body line_ids scopes it to a selection (bulk-match the ticked rows); omit to match all.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Returns the number matched and the refreshed import (lines + their matches).

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type