API

The FinologeeBKO API is a RESTful API allowing full automation of all processes available in the FinologeeBKO user interface.

Introduction

The FinologeeBKO API is a RESTful API that allows full automation of all processes available in the FinologeeBKO user interface. It exposes resources using the same terminology as the UI, making it straightforward to understand and use.

The API documentation covers the available operations, their request and response structure, error messages, and usage examples.


API categories

The FinologeeBKO API is organized into three categories:

CategoryDescription
Authentication APIDescribes the OAuth2 password grant flow used to retrieve a bearer token for authenticated API calls
Payments APIManage your accounts, counterparties, and payments between them
Invoicing APISend invoices and credit notes through the Peppol e-invoicing network

Environments

FinologeeBKO provides sandbox and production environments, each fully isolated and secured by tenant:

EnvironmentURL
Sandboxhttps://test-[your-tenant].bko.finologee.com
Productionhttps://[your-tenant].bko.finologee.com

OpenAPI files

All versions of the OpenAPI 3 files (formerly Swagger) are available for download:

You can review code examples directly in the API reference for each method, or generate a complete client application using one of the following open-source tools:


Counterparty management via API

The Payments API supports full counterparty lifecycle management, enabling external systems to create, approve, and organize counterparties without requiring manual intervention in the FinologeeBKO user interface.

Clearing code support

The counterparty BIC field also accepts national clearing codes (such as Sort Code, ABA, or BSB), for beneficiaries in countries whose domestic payment systems use a routing code instead of a BIC. This addition is retro-compatible with existing integrations: the field name is unchanged, and existing BIC values continue to work as before.

Counterparty approval via API

External systems can approve counterparties through the Payments API. This enables integration scenarios where counterparty validation and approval occur within an external system before or alongside FinologeeBKO's own controls.

The typical workflow for API-driven counterparty approval is:

  1. The external system creates a counterparty in FinologeeBKO via the API. The counterparty is created with a Pending status and undergoes IBAN and BIC validation at creation time.
  2. The external system completes its own internal approval process.
  3. The external system calls the counterparty approval endpoint in the Payments API to approve the counterparty in FinologeeBKO.
  4. The counterparty status changes to Active and becomes available for use in payments.
📘

IBAN and BIC validation

Creating a counterparty via API before external approval allows FinologeeBKO to validate the IBAN and BIC at the point of creation. This ensures account details are confirmed accurate before the approval step completes.

⚠️

Four-eyes principle

API-driven counterparty approval must respect the four-eyes principle. The API credentials used to approve a counterparty must belong to a different user or service account than the one that created it. The system enforces this restriction regardless of the approval method used.

Counterparty deactivation via API

External systems can deactivate counterparties through the Payments API. This enables integrations that manage the full counterparty lifecycle in an external system.

The API user needs the COUNTERPARTY_ACCOUNT_DEACTIVATE permission. The permission is scoped by counterparty: an API user can deactivate only the counterparties within the scope of the permission. The API user does not need COUNTERPARTY_ACCOUNT_READ. The endpoint is POST /api-ext/v2/counterparties/{id}/deactivate. It returns a not found error for a counterparty that does not exist or is outside the scope, and a conflict error when the counterparty was modified concurrently or is not in a valid state for the action.

In the interface, users deactivate counterparties only within the scope of COUNTERPARTY_ACCOUNT_DEACTIVATE, for single and bulk deactivation. A user can see more counterparties than the user can deactivate.

Counterparty grouping via API

External systems can assign counterparties to groups through the Payments API, enabling programmatic organization of counterparties without manual UI interaction.

With counterparty grouping via API, external systems can:

  • Assign newly created counterparties to one or more groups as part of an automated onboarding flow
  • Mirror group structures from external systems into FinologeeBKO counterparty groups
  • Manage group membership in bulk for large counterparty portfolios

Group assignments made via API take effect immediately and are visible in the FinologeeBKO user interface. Counterparty group membership follows the same access control scoping as counterparties created through the UI.


Payments via API

Re-sending a payment with an existing reference

When an API client creates a credit transfer with a reference that already belongs to a payment in Draft, Cancelled, Rejected by signatory, or Rejected by depositary status, FinologeeBKO updates the existing payment instead of reporting a duplicate reference. The update requires access to the payment through the rights of the API user, and the audit log records the change as for an edit in the interface. A payment in any other status keeps its reference, and the request fails with the duplicate-reference validation error. A request that creates a batch booking always creates a new batch. For the full behaviour, see Credit transfers.

Payment status

The status that the API returns for a credit transfer follows the precedence of the bank messages: ACK and NACK, pain.002, intraday statements, end-of-day statements, and return of funds, in ascending order of precedence. The message date and time breaks ties, and the order in which FinologeeBKO receives the messages does not change the status. A status that a user sets manually is never overwritten by a bank message. The external API returns the resulting status only. See the status determination rules in Credit transfers.


Pagination

List endpoints of the external API (/api-ext/**) use the pageIndex and pageSize query parameters.

  • The maximum pageSize is 100. A request with a larger value is rejected with a validation error stating the maximum. The API does not cap the value silently, so clients that compute the page count from X-Total-Count and pageSize do not skip records
  • The default pageSize is 100. It applies when the parameter is missing or invalid
  • The unpaged parameter is no longer supported. The API ignores it and applies normal paging
⚠️

Impact on existing integrations

Integrations that request a pageSize above 100 or rely on unpaged receive paged results or errors. Update these integrations to read all pages.


Statement data

The Payments API provides access to bank statement data ingested by the platform. This covers account balances and transaction history sourced from connected bank accounts.

Supported statement format

The platform processes intraday bank statements in the CAMT.052.001.02 format. Statement data is reflected in account balance and transaction feeds available through the Payments API.

Statement transaction entry codes

Each statement transaction entry carries the following additional fields. All fields are optional, and FinologeeBKO fills them for entries that come from MT940, MT942, camt.053, and camt.052 statements:

  • transactionTypeIdentificationCode: the transaction type and identification code of field 61, for entries of an MT940 or MT942 statement
  • supplementaryDetails: the supplementary details of field 61, or the AddtlTxInf element of a camt statement
  • accountServicerReference: the reference of the account servicing institution (field 61, or the AcctSvcrRef element of a camt statement)
  • bankTransactionCode: the ISO 20022 bank transaction code with the domain, family, sub-family, proprietary code, and issuer. FinologeeBKO takes the code from camt statements as the bank sent it and derives it from field 61 for MT940 and MT942 statements. Entries received before this release have no derived code

FX statement transaction entries

Statement transaction entries for foreign exchange payments include the following additional fields:

  • Exchange rate: the rate applied to the FX transaction
  • Original amount: the transaction amount in the original (source) currency
  • Original currency: the currency of the original transaction before conversion

These fields enable FX validation and reconciliation workflows when consuming statement data via the API.


Support

For assistance with API integration, contact the Finologee support team at [email protected].


Did this page help you?