Banking

Query exact bank activity

Composes offset-aware timestamp or bank-date boundaries with canonical posting, coding, pending, visibility, readiness, reconciliation, source, scope, grouping, pagination, and currency-safe totals. Rows remain paginated, totals use complete-population SQL aggregates, and requested groups are bounded SQL aggregates; coverage.aggregateScope, groupScope, and groupsTruncated identify those contracts.

post/bank-activity/query

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-activity/query
  • 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

version1 required
posting'posted' | 'unposted' | 'any'
excludeManagementReviewboolean

Exclude Ask Client account activity.

coding'coded' | 'uncoded' | 'any'
bankAvailability'settled' | 'pending_held' | 'any'
visibility'active' | 'excluded' | 'provider_removed' | 'any'
postingReadiness'ready' | 'warning' | 'not_postable' | 'any'
reconciliation'reconciled' | 'posted_unreconciled' | 'not_applicable' | 'any'
contact'assigned' | 'missing' | 'any'

Customer/vendor contact on the bank transaction: assigned, missing (none set), or any.

sourceTypesstring[]
searchstring
groupBystring[]
orderBy'event_time_desc' | 'event_time_asc' | 'amount_desc' | 'amount_asc'
limitinteger
cursorstring

Response

Exact bank activity evidence and totals

Changes

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