Skip to content

config: Santander Edge Current Account (Alpha) - #252

Merged
boscorat merged 3 commits into
masterfrom
santander
Nov 19, 2026
Merged

boscorat merged 3 commits into
masterfrom
santander

Conversation

@boscorat

Copy link
Copy Markdown
Owner

Initial Santander Edge current account config.

Caveats:

  • Currently no support for transaction types
  • Likely to fail on overdrawn balances
  • Only tested on one anonymised statement

If you have a Santander Edge account, please test and give feedback!

Signed-off-by: Jason Farrar <farrar.jason1@gmail.com>
Signed-off-by: Jason Farrar <farrar.jason1@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Outstanding review findings include a committed dev scratch file with hard-coded absolute paths and a Santander UK table config mismatch where regex_groups expects a third capture group not present in string_pattern, risking malformed dates that impact downstream year inference.

2 open issues
What changed in this PR

Adds an initial (alpha) import configuration for Santander UK Edge Current Account statements and documents the new support.

Changes:

  • Added Santander UK TOML configs for company detection, account/product mapping, statement types, and table extraction.
  • Extended standard field mappings to translate extracted Santander values into the project’s standard schema.
  • Updated documentation to list Santander UK Edge Current Account support and expand the new-bank-config guide.
File Description
src/​bank_statement_parser/​project/​config/​import/​standard_fields.toml Adds/updates standard schema mappings for Santander-extracted header and transaction fields, including transaction date handling.
src/​bank_statement_parser/​project/​config/​import/​SANTANDER_UK/​statement_types.toml Defines the Santander statement type workflow and ties it to the appropriate header/table extraction configuration.
src/​bank_statement_parser/​project/​config/​import/​SANTANDER_UK/​statement_tables.toml Introduces Santander-specific table extraction specs for summary/header values and transaction line items.
src/​bank_statement_parser/​project/​config/​import/​SANTANDER_UK/​companies.toml Adds Santander company identification configuration (page region + identifier pattern) for statement detection.
src/​bank_statement_parser/​project/​config/​import/​SANTANDER_UK/​accounts.toml Adds the Santander Edge Current Account product configuration and links it to the new statement type.
src/​bank_statement_parser/​dev.py Updates the local developer scratch script used for ad-hoc parsing/testing runs.
docs/​index.md Updates documentation to include Santander UK Edge Current Account in the supported banks list.
docs/​guides/​new-bank-config.md Extends the new bank configuration guide with an updated example reflecting Santander-related standard field mapping.

Review effort: Balanced
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

Comment thread src/bank_statement_parser/dev.py Resolved
Signed-off-by: Jason Farrar <farrar.jason1@gmail.com>
@boscorat
boscorat merged commit cb60486 into master Nov 19, 2026
5 checks passed
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.

2 participants