@philippdormann/fints
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

FinTS Node.js Client

A client library for communicating with FinTS servers.

Example

import { PinTanClient } from "fints";

const startDate = new Date("2018-08-10T12:00:00Z");
const endDate = new Date("2018-10-10T12:00:00Z");

const client = new PinTanClient({
    url: "https://example.com/fints",
    name: "username",
    pin: 12345,
    blz: 12345678,
});

const accounts = await client.accounts();
console.info(accounts); // List of all accounts.

const statements = await client.statements(accounts[0], startDate, endDate);
console.info(statements); // List of all statements with transactions in specified date range.

Further code examples

Features

  • Load list of accounts.
  • Load list of statements and transactions in specified range.
  • Parse statement MT940 format.
  • Parse transaction descriptions.
  • Extract reference tags from transactions.
  • List supported TAN methods.
  • Parse basic metadata.

Missing

  • Get current balance.
  • List holdings.
  • Initiate any kind of SEPA transfers or debits.

Resources

Credits + About

Big thanks to https://github.com/Prior99/fints for the initial implementation.

I needed to apply some fixes and simplifications - this fork is by no means supported or a stable implementation

Readme

Keywords

none

Package Sidebar

Install

npm i @philippdormann/fints

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

219 kB

Total Files

152

Last publish

Collaborators

  • philippdormann