Accounts

Create, update and search the cash accounts that FinologeeBKO pays from, and read their account groups and statements.

An account, also called cash account or ordering party account, is a bank account of the organisation that FinologeeBKO pays from and receives statements for: an account number, the BIC of its bank, a currency, the account name shown on payment instructions, an alias and an address. An integration uses the Accounts endpoints to register new bank accounts in FinologeeBKO, update their details, search them, and read their account groups and statements. Creating payments requires the id of an account, which these endpoints return.

Account groups organise accounts: they scope the rights of users and the signatory rules. See Account groups. Statements and their balances are described in Account statements.

Key concepts

  • Prerequisites at the bank: creating an account in FinologeeBKO does not open it at the bank. The account must already exist at its bank, the bank must accept payments through FinologeeBKO for it, and the bank must send its statements to FinologeeBKO
  • Uniqueness: an account is identified by its account number, BIC, currency and statement matching number (swiftMatchingAccountNumber). Within a tenant, only one account can exist for the same four values, in any status. FinologeeBKO also refuses an account whose four values already exist in another tenant
  • Alias: alias is unique among the accounts of the tenant
  • Country: FinologeeBKO sets the account country from the country code of the BIC
  • Account groups: every new account joins the tenant's group that contains all accounts, and the groups listed in groups. An account can belong to several groups. See Find all account groups the account is part of
  • Scope: ORDERING_PARTY_ACCOUNT_READ and ORDERING_PARTY_STATEMENT_READ are scoped by account group and by account. An account outside the API user's scope for the right used behaves as if it does not exist. TENANT_SETTINGS_READ and TENANT_SETTINGS_WRITE are not scoped: they cover all accounts of the tenant
  • Tenant settings approval: when the tenant has the TENANT_SETTINGS_FOUR_EYES_REVIEW feature flag, creations and updates done through this API are pending changes. They take effect after approval on the Pending changes page. Find account and Get account read the effective data by default, and the data including pending changes with mode=DRAFT

Lifecycle and statuses

StatusMeaningHow it is reached
PENDING_BANK_CONNECTIVITYCreated, but the bank of the account has no connectivity configured in FinologeeBKOCreation of an account whose bank has no connectivity configuration
PENDINGCreated, waiting for activationCreation by an API user without ORDERING_PARTY_ACCOUNT_SKIP_CHECK, when the bank has connectivity configured
ACTIVEAvailable for payments and balance reportingCreation by an API user with ORDERING_PARTY_ACCOUNT_SKIP_CHECK, when the bank has connectivity configured; automatic activation of a PENDING account when FinologeeBKO receives a statement for it; manual activation by Finologee of a PENDING or PENDING_BANK_CONNECTIVITY account
DEACTIVATEDWithdrawn from use. Deactivation is permanentDeactivation by a user in the FinologeeBKO interface

The API has no activate or deactivate endpoint. See Accounts for deactivation in the FinologeeBKO interface.

Rights

RightWhat it allows in this section
ORDERING_PARTY_ACCOUNT_CREATECreate accounts
ORDERING_PARTY_ACCOUNT_SKIP_CHECKCreate accounts directly in status ACTIVE when their bank has connectivity configured
ORDERING_PARTY_ACCOUNT_READSearch and read accounts within the scope of this right
TENANT_SETTINGS_READSearch and read all accounts of the tenant. Required to list the account groups of an account
TENANT_SETTINGS_WRITEUpdate accounts
ORDERING_PARTY_STATEMENT_READList the statements of accounts within the scope of this right

See Permissions for how rights and scopes are assigned to users.

Typical integration flows

Register a new bank account

  1. Call Find account with accountNumbers to check that the account does not exist yet
  2. Call Create account, with groups to place the account in account groups
  3. Read the account back with Get account to check its status

Use an account in payments

  1. Call Find account with accountNumbers or statuses=ACTIVE to obtain the id of the account
  2. Pass that id as the ordering party account of the payment

Read balances and statements

  1. Call Find account or Get account to read the latest balances
  2. Call Find account statements per account with closingBalanceDateRange.from and closingBalanceDateRange.to to read the statements of a period

Related documentation