# How Badlen reads a bank | Badlen Docs

> Why a current account is read through an application of your own at a registered reading service, what PSD2 and its technical standards require of whoever reads an account, what the other open-source projects do, and why savings and investments stay yours to state, with sources.

Source: https://docs.badlen.fr/how-it-works/reading-a-bank/

Badlen can read a **current account** at its bank, and only in one way: through an
application you create for yourself at Enable Banking, a reading service registered to read
payment accounts in the European Union. It is off until the person running the instance turns
it on, each reader brings their own application and key, and it reads on a schedule four times a
day, plus whenever you press **Sync**.
[From your bank](https://docs.badlen.fr/getting-data-in/from-your-bank/) is the setup guide, and Enable Banking keeps
[the list of banks it reaches](https://enablebanking.com/open-banking-apis).

Badlen itself holds no registration and never asks for your bank password: you approve the
access on your bank's own page, and the key that signs every read stays on your machine.
Savings books, brokerage accounts and life insurance contracts are not offered by banks through
this channel, so they stay on the balances you state, by hand or from a file.

A crypto wallet is read differently. It is declared by its chain and its public address, and
**Sync** asks the chain what the address holds. It needs no credential of yours, because a
public address is not one.

The sections below say why the reading takes this shape.

## A regulated activity in the Union

Reading somebody's payment accounts for them is a regulated activity in the European
Union. Directive (EU) [2015/2366](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32015L2366),
better known as PSD2, calls it an _account information service_ (Article 4(16)) and the
one who performs it an _account information service provider_. Article 67 gives you the
right to use such a service. It does not give a program the right to be one.

The regime is deliberately light for whoever does only that. Article 33(1) lifts most of
the authorisation procedure, and the minimum capital requirement is among the things it
lifts: a pure account information provider needs no capital at all. What survives is an
insurance obligation (Article 5(3), professional indemnity insurance or a comparable
guarantee), a file on governance, security and incident handling, and a registration with
the national supervisor, which in France is the ACPR, under
[article L. 522-11-2](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000035410415)
of the monetary and financial code.

Up to here, it is paperwork and an insurance premium. What puts it out of Badlen's reach is a
technical requirement.

Regulation (EU) [2018/389](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32018R0389),
the technical standards that go with PSD2, says what a bank checks when something calls
its interface. Article 34(1) requires a qualified eIDAS certificate: an electronic seal,
or a certificate for website authentication. Article 34(2) says what has to be inside it:

> the registration number … shall be the authorisation number of the payment service
> provider issuing card-based payment instruments, the account information service
> providers and payment initiation service providers … available in the public register
> of the home Member State pursuant to Article 14 of Directive (EU) 2015/2366

The certificate carries a registration number, and that number is looked up in a public
register of registered entities. Without a number there is no certificate, and without a
certificate no bank in the Union answers, however good the software asking.

The seal goes further than the live calls. Article 30(3) requires a bank to hand the
technical documentation of its interface over "upon request by authorised payment
initiation service providers, account information service providers … or payment service
providers that have applied to their competent authorities for the relevant
authorisation". That duty of the bank is owed only to them, but it is not the only source:
some authorised providers publish their own documentation.

Banks say the same thing in their own words. OP Financial Group, publishing its PSD2
interface, tells a developer that going to production means applying "for an AISP/PISP
license from a financial authority" and obtaining "valid QWAC and QSEAL certificates";
only the sandbox is open to anyone
([op-developer.fi](https://op-developer.fi/p/psd2-tpp-setup)).

**So the barrier is the registration itself.** PSD2 nowhere says that free software may
not read an account. It organises access around a named, registered, insured entity, and
the technical standards turn that registration into a cryptographic object the bank
verifies on every call.

## The certificate a self-hosted program cannot hold

A certificate belongs to somebody. It names an entity, that entity is registered, insured
and supervised continuously, and it answers to its supervisor for every access made
through it.

Badlen is a program a thousand people install on a thousand machines. There is no entity
behind those thousand instances, so there is no registration number, so there is no
certificate, so there is no bank on the other end of the line. The way the software is
distributed rules it out, whatever the quality of the code. Shipping a connector that
works out of the box would mean shipping a secret belonging to one registered entity to
every user, which is exactly what a certificate exists to prevent.

Putting a real entity in the middle is possible. It would mean one operator standing
between every user and their bank, holding the registration, seeing the accesses,
carrying the liability. That is a centralised service with a self-hosted front end, and it
is the opposite of what installing the software on your own machine was for.

## Three routes the other projects take

Every comparable project gives the same answer: **no self-hosted open-source finance
project holds an account information registration.** They fall into three cases.

**They do not connect at all.** [Ghostfolio](https://github.com/ghostfolio/ghostfolio)
lists no bank synchronisation; its data comes in by import and export, and its outside
sources are quote providers.

**You bring your own aggregator.** This is what makes a project look like it synchronises
when it does not. [Firefly III](https://docs.firefly-iii.org/explanation/data-importer/introduction/)
routes its data importer through third-party providers rather than through a bank, and
[Actual Budget](https://actualbudget.org/docs/advanced/bank-sync/) states the rule
plainly: "This integration relies on you providing your own API credentials that you will
need to get by signing up with the service provider". The project ships the plumbing; the
user goes and becomes the aggregator's customer. The registration, the contract and the
liability are the user's.

**They speak a client protocol, where one exists.** [GnuCash](https://lists.gnucash.org/docs/C/gnucash-manual/tools-on-line-banking.html),
through AqBanking, supports FinTS/HBCI in Germany, EBICS in Austria, Switzerland, Germany
and France ("usually available for business customers"), and OFX Direct Connect in the
United States. [Firefly III](https://docs.firefly-iii.org/references/data-importer/third-party-tools/)
reaches FinTS the same way. These protocols predate PSD2 and authenticate the user with
their own bank credentials rather than a provider with a certificate, which is why they
work at all. Germany is the real exception: since 1 August 2019 FinTS access requires a
registered _product_, that registration is granted free of charge by the Deutsche
Kreditwirtschaft and processed in ten to fifteen working days
([fints.org](https://www.fints.org/de/hersteller/faq-produktregistrierung)). It registers
the client software rather than granting a provider status, and it covers one protocol in
one country.

### And the bring-your-own-key route has narrowed

Firefly III and Actual both leaned on GoCardless Bank Account Data, the one European
aggregator with a free tier a private individual could sign up to. It stopped taking
newcomers. GoCardless says so on its own page: "New signups for Bank Account Data are
currently disabled"
([bankaccountdata.gocardless.com](https://bankaccountdata.gocardless.com/new-signups-disabled)).
Firefly III's documentation says "GoCardless is sunsetting this free service and
registration is unfortunately closed", and Actual's provider list carries GoCardless
marked "not accepting new accounts".

What is left is narrow. Enable Banking, the European aggregator those projects
now point at, activates a production application "once you have signed a contract with
Enable Banking and completed the KYB process for your company", and prices by volume with
a monthly minimum ([enablebanking.com](https://enablebanking.com/docs/faq)). A restricted
mode exists for linking your own accounts only. The provider's terms, last updated on
9 January 2026, name personal use by private individuals and say it is free
([terms](https://enablebanking.com/terms/)). The route is still narrow: payment accounts
only, one holder per application, no guarantee of how long it lasts, and a mode built for a
personal tool or a prototype rather than for a product thousands of people install.

For the people Badlen is written for, households rather than businesses, that restricted mode
is the route: one person, their own accounts, their own application. It is the one Badlen uses.

One last way involves no official interface at all: signing in to the bank's website with
your own credentials, as you would yourself. It works for as long as the bank does not
change its site, and the user then hands their access to a program. Badlen does not do it.

## Why your own application

Shipping a key of Badlen's own would put one company between every user and their bank, and
make Badlen's authors the ones who see every access. A screen asking for an aggregator's key
on someone else's behalf would do the same with a company you met on that screen.

Your own application at a registered service keeps the arrangement between you, that service
and your bank. You sign up, you approve the access at your bank, and the key that signs every
read stays encrypted on the machine you installed Badlen on. The service sees the reads it
carries out for you, and nothing of yours passes through Badlen's authors.

Savings, investments and property are not read at all: banks do not offer them through this
channel, and the balances you state for them stay the only figures that exist.

## Sources

Every claim above was read in the source named beside it. The primary texts:

- [Directive (EU) 2015/2366 (PSD2)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32015L2366),
  Articles 4(16), 5(3), 14, 33 and 67
- [Commission Delegated Regulation (EU) 2018/389](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32018R0389),
  Articles 30 and 34
- [Code monétaire et financier, article L. 522-11-2](https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000035410415),
  registration with the ACPR

The projects and the providers, each in its own documentation:
[Ghostfolio](https://github.com/ghostfolio/ghostfolio),
[Firefly III](https://docs.firefly-iii.org/how-to/data-importer/import/gocardless/),
[Actual Budget](https://actualbudget.org/docs/advanced/bank-sync/),
[GnuCash](https://lists.gnucash.org/docs/C/gnucash-manual/tools-on-line-banking.html),
[FinTS](https://www.fints.org/de/hersteller/faq-produktregistrierung),
[GoCardless](https://bankaccountdata.gocardless.com/new-signups-disabled),
[Enable Banking](https://enablebanking.com/docs/faq),
[OP Financial Group](https://op-developer.fi/p/psd2-tpp-setup).
