Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

ebics-client

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebics-client

Node.js ISO 20022 Compliant EBICS Client

latest
Source
npmnpm
Version
5.0.0
Version published
Weekly downloads
730
36.45%
Maintainers
1
Weekly downloads
 
Created
Source

node-ebics-client

Build Status ebics-client Known Vulnerabilities GPL-3.0 Coverage Status

Pure Node.js (>= 16) implementation of EBICS (Electronic Banking Internet Communication).

The client is aimed to be 100% ISO 20022 compliant, and supports the complete initializations process (INI, HIA, HPB orders) and HTML letter generation.

Usage

For examples on how to use this library, take a look at the examples.

A note on recent Node.js versions

The latest Node.js versions don't support RSA_PKCS1_PADDING for private decryption for security reasons, throwing an error like TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809.

EBICS requires this mode, so in order for this library to work, add the following parameter when starting Node.js: --security-revert=CVE-2023-46809

Initialization

  • Create a configuration (see example configs) with the EBICS credentials you received from your bank and name it in this schema: config.<environment>.<bank>[.<entity>].json (the entity is optional).

    • The fields url, partnerId, userId, hostId are provided by your bank.
    • The passphrase is used to encrypt the keys file, which will be stored at the storageLocation.
    • The bankName and bankShortName are used internally for creating files and identifying the bank to you.
    • The languageCode is used when creating the Initialization Letter and can be either de, en, or fr.
    • You can chose any environment, bank and, optionally, entity name. Entities are useful if you have multiple EBICS users for the same bank account.
  • Run node examples/initialize.js <environment> <bank> [entity] to generate your key pair and perform the INI and HIA orders (ie. send the public keys to your bank)
    The generated keys are stored in the file specified in your config and encrypted with the specified passphrase.

  • Run node examples/bankLetter.js <environment> <bank> [entity] to generate the Initialization Letter

  • Print the letter, sign it and send it to your bank. Wait for them to activate your EBICS account.

  • Download the bank keys by running node examples/save-bank-keys.js <environment> <bank> [entity]

If all these steps were executed successfully, you can now do all things EBICS, like fetching bank statements by running node examples/send-sta-order.js <environment> <bank> [entity], or actually use this library in your custom banking applications.

Supported Banks

The client is currently tested and verified to work with the following banks:

Inspiration

The basic concept of this library was inspired by the EPICS library from the Railslove Team.

Copyright: Dimitar Nanov, 2019-2022.
Licensed under the MIT license.

Keywords

EBICS

FAQs

Package last updated on 02 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts