Skip to content

Import many bank statements at once - #11

Open
GrantCharge wants to merge 2 commits into
nextwork-projects:mainfrom
GrantCharge:bulk-statement-import
Open

GrantCharge wants to merge 2 commits into
nextwork-projects:mainfrom
GrantCharge:bulk-statement-import

Conversation

@GrantCharge

Copy link
Copy Markdown

Closes #10

What changed

You can now pick many statement files at once in "Import a bank statement". For example, 12 monthly statements for one account.

  • The file picker takes more than one file. CSV, OFX, QIF and PDF all work, as before.
  • One account choice covers every file.
  • A list shows each file and how many transactions it has. You can remove a file from the list.
  • A file that can't be read is shown with its reason and skipped. The rest still import.
  • Locked PDFs ask for a password one at a time. You can skip a locked PDF.
  • The columns you set for the first CSV or PDF also apply to every file with the same columns. Other files use their own guessed columns.
  • A row that is in two overlapping statements is saved once. The summary says how many rows were in more than one file.
  • Saving, rules, categories and the import_key duplicate check work as before. Recurring charges are found once, after the whole import.

Code

  • src/lib/statement.ts: new mergeRows() keeps one copy of rows with the same key across files.
  • src/lib/statement.test.ts: a test for overlapping statements.
  • src/components/ImportStatement.tsx: state is now a list of files, not one file.

Checks

  • npx tsc --noEmit: passes.
  • npx eslint on the changed files: passes.
  • node src/lib/statement.test.ts: passes.
  • Not tried in a running app yet.

🤖 Generated with Claude Code

GrantCharge and others added 2 commits November 24, 2026 16:52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import many bank statements at once (bulk upload)

1 participant