Banking

Sync settled activity from an external assistant

Atomically maps an external account to an existing register and upserts by stable source and transaction IDs. Signed integer cents: money in positive, money out negative. Retries do not duplicate activity. Posted/reconciled corrections or removals return 409 without changing the batch. The assistant owns its provider connection; no provider credentials are accepted.

post/bank-transactions/external-sync

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-transactions/external-sync
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

bankAccountIdstring uuid required
sourcestring required
externalAccountIdstring required
connectionStatus'connected' | 'attention' | 'disconnected'
removedExternalIdsstring[]

Response

Sync receipt with inserted, updated, unchanged, removed counts; transaction IDs; connection status; rule application outcome

Changes

No recorded changes to this operation across all 5 revisions of this API.