Upload counterparty

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_WRITE
  • COUNTERPARTY_ACCOUNT_SKIP_4EYES changes the resulting status, see Effects
  • KYC_RISK_LOG_WRITE when a row fills the Risk Level column

Rules

  • The tenant needs the counterparty file import (version 2) feature
  • The file has the extension .csv, .xls or .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 APPROVED or PENDING within 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, or APPROVED when the API user holds COUNTERPARTY_ACCOUNT_SKIP_4EYES
  • An update that changes the type or name of an APPROVED counterparty account moves it back to PENDING, unless the API user holds COUNTERPARTY_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_CREATED for each new counterparty account, COUNTERPARTY_AUTHORISED for each new counterparty account created in status APPROVED, and COUNTERPARTY_STATUS_CHANGED when an update changes the type or name of an APPROVED counterparty account. See Counterparty Webhook API

Errors

StatusWhen
400fileValidationResult 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 /
404The counterparty file import (version 2) feature is not enabled for the tenant

Related

Body Params
file
required

Excel or CSV file with counterparties

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json