Skip to main content

Bulk Restore Provider Documents

POST 

/api/ledger/reconciliation/restore/bulk

Restore (un-dismiss) many provider documents in one action, returning them to reconciliation. Provide either ids (composite "{remote_type}:{remote_id}" identifiers — the selected rows) or apply_to_all: true with filters to restore every dismissed document matching those filters.

Authentication: Requires Bearer token.

Body: connection_id (required, integer); ids (array of strings, required unless apply_to_all); apply_to_all (boolean); filters (object, optional) — the list filters to scope apply_to_all, e.g. {"search": "Contractor Payment"}. Accepts flat filter values (search, remote_type, status, date_from, date_to) plus an optional filter_groups tree (same structure as the list endpoint's filter_groups parameter). When omitted, apply_to_all targets every document in the reconcile window..

Response: 200 with the number restored.

Request

Responses

OK

Response Headers
    Content-Type