Related transactions

GET https://api.invunion.com/api/v1/counterparties/:code/transactions counterparties:read Markdown

List bank transactions for this counterparty.

Keyset-paginated list of transactions whose counterparty_id is this counterparty, newest transaction_date first. Each row includes matched invoices when present.

Path parameters

NameTypeRequired
code

Counterparty code (`account_code`).

Example: CPT-042

string

Max 50

Required

Query parameters

NameTypeRequired
pageSize

Page size. Default 50, maximum 200.

Example: 50

integer
Optional
cursor

Opaque cursor from the previous nextCursor. Keyset pagination.

Example: MjAyNi0wOS0wMV9fOWIxZGViNGQtM2I3ZC00YmFkLTliZGQtMmIwZDdiM2RjYjZk

string

No maximum

Optional

Errors

This operation can return the following errors in addition to generic HTTP failures.

Error HTTP code Description
Missing Bearer token 401 The Authorization header is missing or is not a Bearer token.
Invalid or revoked API key 401 The API key is unknown, malformed, expired, or has been revoked.
API key is missing scope counterparties:read 403 The key does not include counterparties:read. A write scope does not imply the matching read scope.
Too many requests, please try again later 429 Wait and retry. The Retry-After header is the number of seconds to wait.
Counterparty not found 404 No counterparty with this code exists in the authenticated tenant.
Internal server error 500 Unexpected server error. The JSON body includes correlationId. Retry with backoff.