List counterparties
List counterparties for the authenticated tenant.
Returns a paginated list of counterparties. Filters are optional and combine with AND. Without filters, system counterparties are listed first. Each item includes computed payment status, billed revenue, and unmatched invoice and transaction counts.
Query parameters
| Name | Type | Required |
|---|---|---|
pageSizePage size. Default 20, maximum 100. Example: 20 | integer | Optional |
cursorOpaque cursor: pass the nextCursor of the previous response. Valid only with the same sortBy, sortOrder, and filters. Omit it for the first page. Example: Y3JlYXRlZF9hdDpkZXNjfDIwMjYtMDktMDhUMTQ6MTA6MDAuMDAwWnw3ZDljMTNlNA | string Max 512 | Optional |
includeTotaltotal is returned on the first page unless includeTotal=false, and on cursor pages only when includeTotal=true. Skip it to save a count. Allowed values truefalse | boolean | Optional |
pageDeprecated. Offset page number kept for older integrations; use cursor instead. Ignored when cursor is sent. Example: 2 | integer | Optional |
updatedSinceISO 8601 instant. Returns only rows modified strictly after it. Use it with cursor for incremental sync. Example: 2026-09-01T00:00:00Z | string No maximum | Optional |
sortBySort column. Default name_original. | string No maximum | Optional |
Allowed values account_codename_originalname_displaystatuscategorycitycountrycreated_atupdated_atpayer_scoretotal_revenueunmatched_transactions_count | ||
sortOrderSort direction. Default asc. Allowed values ascdesc | string No maximum | Optional |
searchCase-insensitive match on name_original, name_display, vat_number, account_code, city, or country. Example: Leones Cars | string No maximum | Optional |
statusFilter by computed payment status from overdue invoices. Allowed values lateup_to_date | string No maximum | Optional |
categoryFilter by legal form. | string No maximum | Optional |
Allowed values individualprofessionalgovernmental | ||
countryISO 3166-1 alpha-2 country code, or a free-text country name. Example: FR | string No maximum | Optional |
is_supplierIf true, only counterparties flagged as suppliers. Allowed values truefalse | boolean | Optional |
is_clientIf true, only counterparties flagged as clients. Allowed values truefalse | boolean | Optional |
is_partnerIf true, only counterparties flagged as partners. Allowed values truefalse | boolean | Optional |
is_payerIf true, only counterparties flagged as payers. Allowed values truefalse | boolean | Optional |
is_internalIf true, only internal counterparties. Allowed values truefalse | boolean | Optional |
is_employeeIf true, only employee counterparties. Allowed values truefalse | boolean | Optional |
payerCategoryFilter by payer score band. insufficient means no score yet. | string No maximum | Optional |
Allowed values goodwatchriskyinsufficient | ||
minScoreMinimum payer_score (0-100). Example: 70 | number | Optional |
maxScoreMaximum payer_score (0-100). Example: 100 | number | Optional |
hasUnmatchedInvoicesIf true, only counterparties with open issued invoices. If false, only those without. Allowed values truefalse | boolean | Optional |
hasUnmatchedTransactionsIf true, only counterparties with unmatched settlement-eligible transactions. If false, only those without. Allowed values truefalse | boolean | 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 | More than 100 requests in one minute from this API key or IP address. Wait for the Retry-After header (seconds) and retry. |
Tenant ID required | 400 | The authenticated credential is not bound to a tenant. |
Internal server error | 500 | Unexpected server error. The JSON body includes correlationId. Retry with backoff. |