{{template "base" .}} {{define "content"}} {{$d := .}}
How to get your bank transactions into the app
Log into your bank's online portal and download a transaction extract for the period you want. Most Portuguese banks offer this under Movimentos or Extratos.
Date, Description, Amount. The importer auto-detects column order.Go to Import, pick the account and format, then select your file. You'll see a preview of every row with auto-suggested categories. Rows already in the database are shown greyed out and will be skipped automatically — safe to re-upload the same file.
Adjust any auto-categorised rows using the dropdown selectors, then click Confirm Import. Only new transactions are saved.
If you export your CSV on a schedule (e.g. via a cron job or n8n), you can push it directly to the import endpoint without going through the UI:
curl -X POST https://<your-host>/import/preview \ -H "X-Auth-User-Id: <user-id>" \ -H "X-Auth-Email: <email>" \ -F "account_id=<account-id>" \ -F "format=cgd" \ -F "file=@movements.csv"
The preview endpoint returns an HTML page; for headless import pipe the confirmed rows to POST /import/confirm with the same account_id, format, raw_data, and categories[] fields.