Create direct debit batches

Purpose

Use it to submit the collections of an external system to FinologeeBKO.

Rights

  • DIRECT_DEBIT_CREATE. One scope item of this right must cover both the creditor account and every debtor account of the batch
  • DIRECT_DEBIT_SKIP_4EYES on the creditor account changes the resulting status, see Effects

Rules

  • The request is all or nothing: when one batch or one direct debit request is invalid, FinologeeBKO creates none of the batches
  • When creditor.accountNumber matches active accounts with different BICs, the batch is refused; use creditor.id. When the account number has several currency accounts at the same bank, FinologeeBKO uses the EUR account
  • metadata.batchName cannot be shared by two batches of the request nor by an existing batch
  • debtor.accountNumber is searched among the counterparty accounts within the API user's DIRECT_DEBIT_CREATE scope, and must match only one of them
  • The debtor counterparty account cannot be on the tenant's blacklist and cannot be the creditor account
  • amount has at most two decimals and at most 14 digits in total
  • requestedCollectionDate cannot be in the past
  • endToEndId cannot be shared by two direct debit requests of the request nor by an existing direct debit request

Effects

  • Without DIRECT_DEBIT_SKIP_4EYES on the creditor account, FinologeeBKO creates the batch in status WAITING_FOR_AUTHORISATION and notifies the users who can approve it
  • With DIRECT_DEBIT_SKIP_4EYES on the creditor account, FinologeeBKO creates the batch already approved. The batch moves to AUTHORISED and FinologeeBKO sends it to the bank, or waits in WAITING_FOR_TRANSFER when metadata.autoTransfer is false
  • When FinologeeBKO sends a batch to the bank, a requestedCollectionDate that is absent or no longer in the future becomes the current day, and the audit log records the change
  • The audit log of each batch records its creation and its status changes
  • Subscribers to direct debit webhooks receive DIRECT_DEBIT_GROUP_COLLECTION_COMPLETED, DIRECT_DEBIT_GROUP_FAILED or DIRECT_DEBIT_GROUP_REJECTED as the batch progresses. See Direct Debit Webhook API

Related

Body Params

JSON containing a list of direct debit batches information

directDebitBatches
array of objects
required
length ≥ 1

List of direct debit batches to create

directDebitBatches*

List of direct debit batches to create

creditor
object
required

Creditor account info. Only one of ID or accountNumber is required.

string
required
length between 0 and 35

Identification of the creditor scheme

directDebits
array of objects
required
length ≥ 1

Individual direct debits to collect for the creditor

directDebits*

Set of characteristics that apply to the credit side of the direct debit transaction initiation

number
required
> 0

Amount of the direct debit request

string
required
^[a-zA-Z]{3}$

Currency of the direct debit request. Only EUR is currently supported

debtor
object
required

Debtor account info. Only one of ID or accountNumber is required.

string
length between 0 and 35

Optional, if end to end ID is not provided, a unique one will be generated

date
required

Mandate date of signature in ISO extended format yyyy-MM-dd

string
required
length between 0 and 35

Mandate ID

string
required
length between 0 and 140
^[a-zA-Z0-9\s!@#$%^&*()-_=+;:'",.<>?/]*$

Remittance information

date

Requested collection date in ISO extended format yyyy-MM-dd

metadata
object

Collection level metadata information applicable to all individual transactions contained within the request

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