One token grants access to one account. If you track three Fio accounts in Sure, generate three tokens and add three connections.
Setting up Fio banka
Step 1: Get your token
- Sign in to Fio internet banking.
- Open Nastavení (top right), then the API tab.
- Create a token with the Sledování účtu (account monitoring) permission. This is read-only — Sure never initiates payments, and a token without payment rights cannot be used to move money.
- Authorize the request with SMS or push confirmation. Jointly held accounts require all signatories to sign.
- Wait five minutes before using the token. Fio rejects a brand-new token until then.
Step 2: Add Fio to Sure
- In Sure, go to Settings > Providers and find the Fio banka panel.
- Enter a connection name, paste your token, and save.
- Sure runs the first sync to discover the account. After it completes, link the account to an existing Sure account or create a new one.
Syncing
One property of the Fio API shapes everything: a token may be used once per 30 seconds. Every sync therefore makes exactly one request.- Each sync fetches movements booked between the day the last sync covered and today.
- The window starts a week before that day rather than right after it. Fio books a movement under its banking date, which can trail the day it becomes visible.
- Re-reading is safe: every movement has a permanent ID, so a movement already imported updates its entry rather than creating a duplicate. A reversal gets its own ID and arrives as its own entry.
Transaction history older than 90 days
Fio serves 90 days of history by default. To import older movements, unlock the full account history in internet banking under Nastavení > API: click the padlock on the token and authorize. This opens a 10-minute window. Set the connection’s sync start date to how far back you want to go before unlocking. If the start date reaches past 90 days and history is still locked, Fio refuses the request — the connection reports this and all future syncs stay within the 90 days Fio does serve, so recent movements keep arriving. To collect the rest: unlock the history in internet banking, then press Sync on the connection. This tells Sure the unlock happened, and the next sync reaches for the full range again.Configuration
The following environment variables are available for self-hosted deployments:Troubleshooting
Connection requires a new token: Fio returns an error for unknown, expired, or deactivated tokens. Check the token’s validity under Nastavení > API and paste a new one into the provider panel. The statement is too large: Fio caps one request at 50,000 movements. Set a later sync start date on the connection. Older transactions are missing: Either the account history was never unlocked (see above), or the connection’s sync start date bounds how far back it goes. Sync errors: Provider sync failures are captured in Sure’s debug log. Super admins can view them at Settings > Debug, filtered by thefio provider key. The token is never logged.