post
https://{tenant}.bko.finologee.com/v2/counterparties/file
Purpose
Creates and updates counterparty accounts from a CSV or Excel file, in one call. Use it to load a beneficiary list exported from another system. The file uses the same layout as the counterparty import of the FinologeeBKO interface. The response also lists the id of the counterparty accounts updated.
Rights
COUNTERPARTY_ACCOUNT_WRITECOUNTERPARTY_ACCOUNT_SKIP_4EYESchanges the resulting status, see EffectsKYC_RISK_LOG_WRITEwhen a row fills the Risk Level column
Rules
- The tenant needs the counterparty file import (version 2) feature
- The file has the extension
.csv,.xlsor.xlsx. FinologeeBKO also checks that the content matches one of these formats - The file must contain the header columns Account Number, BIC, Address, Zip, City and Country. The optional columns are Type, Name, First Name, Last Name, Gender, Date of birth, Alias, Risk Level, External Id, Group Names and Account Country
- Name holds the organisation name; First Name and Last Name hold the name of an individual. Group Names holds group names separated by commas
- The upload is all or nothing: when one row is invalid, FinologeeBKO creates and updates nothing
- A row whose account number and bank code match an existing counterparty account in status
APPROVEDorPENDINGwithin the API user's read scope updates that counterparty account instead of creating a new one:- Only counterparty accounts created through the API can be updated this way. A match on a counterparty account created in the FinologeeBKO interface makes the row invalid
- Empty cells keep the current values
- The Group Names of the row replace the memberships of the counterparty account in the groups the API user can access. The group that contains all counterparties is kept
- Every other row creates a counterparty account, with the validation rules of Create counterparty account: account number, BIC or national clearing code, names, address, duplicates, blacklist, groups and risk level
Effects
- FinologeeBKO creates new counterparty accounts in status
PENDING, orAPPROVEDwhen the API user holdsCOUNTERPARTY_ACCOUNT_SKIP_4EYES - An update that changes the type or name of an
APPROVEDcounterparty account moves it back toPENDING, unless the API user holdsCOUNTERPARTY_ACCOUNT_SKIP_4EYES - The users who can approve counterparty accounts receive a notification for the counterparty accounts left in
PENDING - Subscribers to counterparty webhooks receive
COUNTERPARTY_CREATEDfor each new counterparty account,COUNTERPARTY_AUTHORISEDfor each new counterparty account created in statusAPPROVED, andCOUNTERPARTY_STATUS_CHANGEDwhen an update changes the type or name of anAPPROVEDcounterparty account. See Counterparty Webhook API
Errors
| Status | When |
|---|---|
400 | fileValidationResult reports a wrong file type (incorrectFileType), a file without counterparty rows (emptyFile) or missing mandatory headers (invalidFileHeaders). dataValidationResult counts the rows per error category. validationErrors lists the messages of each row in file order, separated by / |
404 | The counterparty file import (version 2) feature is not enabled for the tenant |
Related
- Counterparty Accounts
- Create counterparty account: the same creation from JSON
- Counterparties: bulk counterparty import in the FinologeeBKO interface

