Bank reconciliation and tax firm export
finAPI
The provider finapi uses finAPI Access API v2, not the separate XS2A server API. First, a finAPI contract/client, a finAPI user and their authorized bank connection must be set up. Bank authorization and, if required, repeated strong customer authentication take place in the finAPI WebForm. SIHub reads the accounts and transactions already available there. Bank passwords do not belong in the SIHub connection fields.
Fields: environment (sandbox or live), client_id, client_secret as well as
username/password of the finAPI user or alternatively refresh_token. The adapter uses only https://sandbox.finapi.io or
https://live.finapi.io, does not allow HTTP redirects and caches user tokens. Expired tokens are renewed. A rotated refresh token is updated in the passed credentials dictionary; the hub can store it encrypted. Without this persistence, refresh-token-only access may require a new setup after a restart; username/password allow a new login.
accounts reads accounts including the balances provided by finAPI.
transactions requires account_id and accepts from_date, to_date as well as
page. Pages contain at most 100 entries; the finAPI paging response is preserved. The data reflects the current finAPI data, not a forced new bank fetch.
reconcile accepts invoices and transactions as lists, each containing
id (text), amount (decimal text, e.g. "123.45"), currency (EUR) and
reference. Bank IDs and monetary values are converted into this normal form before the call; the remote response keeps decimal numbers as text. Invoice totals must have the same sign as the payments being matched.
Only identical amounts, the same currency and the same non-empty reference result in a suggestion. References are normalized for capitalization and multiple spaces. Multiple candidates or the same transaction for multiple invoices are reported as ambiguous matches. No invoices are marked as paid; every suggestion requires professional review. Partial payments, collective payments, fees and currency conversion are not offset automatically. Totals are calculated exactly per currency using Decimal.
Tax firm / BMD
The local provider bmd uses export_csv to generate a CSV file from explicit account mappings. It does not represent a confirmed direct BMD connection.
Example parameters (the accounts and codes must be replaced by your own tax advisor):
{
"rows": [{"mapping_key": "freigegeben", "document_number": "RE-1",
"booking_date": "2026-01-01", "amount": "123.45", "currency": "EUR"}],
"mapping": {"freigegeben": {"account": "123", "counter_account": "456", "tax_code": "0"}},
"profile": {"delimiter": ";", "decimal_mark": ",", "encoding": "utf-8-sig",
"date_format": "dd.mm.yyyy", "columns": [
{"field": "account", "header": "konto"},
{"field": "counter_account", "header": "gkonto"},
{"field": "tax_code", "header": "steuercode"},
{"field": "document_number", "header": "belegnr"},
{"field": "booking_date", "header": "buchdatum"},
{"field": "amount", "header": "betrag"},
{"field": "currency", "header": "waehrung"}
]}
}
The example illustrates the parameter model; it is not a universally valid BMD import template. Column order, headings, record type, booking code, tax codes, amount perspective and mandatory fields must be agreed with the tax firm based on the specific NTCS import profile. No accounts, tax codes or tax amounts are derived from receipt texts. Optionally supported:
record_type, document_date, booking_symbol, booking_code, tax_rate,
tax_amount, text. Inputs that the profile would not output are rejected. ISO, dd.mm.yyyy- and ddmmyyyy-style date formats as well as UTF-8 with BOM and Windows-1252 can be selected.
The result contains content_base64, file name, character set, line count and SHA-256 checksum. import_verified remains false: Only a test import with the customer's own BMD profile and professional approval confirm that the file is usable. Export and reconciliation do not trigger any payments or bookings.
Official technical references
- finAPI Access documentation
- finAPI API reference
- finAPI environments
- finAPI user authorization
- finAPI SDK, OAuth and token renewal
A universally valid official BMD field profile could not be verified publicly. The specific profile of the tax firm is therefore explicitly required as input; automatic BMD import compatibility is not claimed.