- Python 95.3%
- CSS 3%
- JavaScript 1.5%
- Dockerfile 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
release / image (push) Successful in 3m44s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| docs | ||
| scripts | ||
| src/firefly_statement_importer | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .python-version | ||
| compose.yaml | ||
| Dockerfile | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
Firefly Statement Importer
Get your Philippine bank and credit card statements into Firefly III without typing in a single transaction. Upload the PDF, check the rows, click import. If you keep your statements in Paperless-ngx, it can import them on a schedule instead.
Features
- Reads BPI, BDO, UnionBank and MariBank statements, BDO account exports and any 3-column CSV.
- Opens password-protected PDFs. The sync tries the passwords each user saves.
- Shows every parsed row before anything is imported, and unticks the rows Firefly already has. Importing the same statement twice creates no duplicates.
- Supports several users. Each signs in through your OIDC provider, imports with their own Firefly token and maps their cards to their own accounts.
- Parses the PDF text layer with no OCR and no LLM, so the same statement always gives the same rows. Statements never leave your own servers.
- Optionally imports new statements from Paperless-ngx, for example the ones your Paperless mail rules file from your inbox.
Supported statements
| Bank | Format |
|---|---|
| BPI | Credit card statement PDF |
| BDO | Credit card statement of account PDF, account CSV export |
| UnionBank | Credit card eStatement PDF |
| MariBank | Account statement PDF |
| Any | 3-column CSV: transaction date,transaction details,amount |
Quick start
You need Docker Compose, a running Firefly III, an OIDC provider such as Authentik, Keycloak or Authelia, and a reverse proxy that serves the app over HTTPS. Sign-in works only over HTTPS.
-
Clone this repository and
cdinto it. -
Register the app with your OIDC provider, as described under Registering the client. Then copy the example settings and fill them in:
cp .env.example .env -
Create the data directory. The container runs as uid 1000 and must own it:
mkdir data && sudo chown 1000:1000 data -
Build and start the app and the Firefly III data importer:
docker compose up -d --build -
Point your reverse proxy at
127.0.0.1:8080and sign in. Each user saves their Firefly token and maps their cards on the settings page.
To import from Paperless-ngx as well, set up the scheduled sync.
Documentation
- Configuration: every environment variable and the data importer settings
- Statements: source ids, card mappings and duplicate detection
- Scheduled sync: the Paperless-ngx setup
- Web app: sign-in, profiles, sessions and pages
- Upgrading: moving from older versions
- Development

