mmmikkel's picture
Upload folder using huggingface_hub
5cc0133 verified
|
Raw History Blame Contribute Delete
16.5 kB
---
license: mit
task_categories:
- table-question-answering
- image-to-text
language:
- en
- fr
- nl
tags:
- document-ai
- bank-statement-parsing
- pdf-table-extraction
- ocr
- structured-financial-data
size_categories:
- n<1K
configs:
- config_name: default
data_files:
- split: train
path:
- "data/*.pdf"
- "data/metadata.jsonl"
---
# Bankstatemently Open Benchmark
A standardized benchmark for evaluating bank and credit card statement PDF parsers. 15 synthetic statements across 3 difficulty tiers, 12 countries, 8 languages, and 41 parsing challenges.
**5 of 15 statements are released here** (PDFs + metadata); the rest are coming soon — see the [full dataset on GitHub](https://github.com/bankstatemently/bank-statement-parsing-benchmark) for status, or [browse it on the website](https://bankstatemently.com/benchmark).
## Design: ground truth is never in this dataset
This repo ships PDFs and structural metadata only — no transaction-level answers. Ground truth stays server-side so parsers cannot overfit to the answers. Score your parser's output via Bankstatemently's free evaluation API: [https://bankstatemently.com/developers/api](https://bankstatemently.com/developers/api).
Want your tool on the leaderboard? Follow the "Submit to the leaderboard" instructions in the [GitHub repository's README](https://github.com/bankstatemently/bank-statement-parsing-benchmark).
## Structure
```
data/
basic/bsb-001-statement.pdf
basic/bsb-002-statement.pdf
...
metadata.jsonl # one row per PDF: file_name + difficulty, country, currency,
# language, pages, transactionCount, challenges, sha256
README.md # this card
LICENSE # MIT
```
## Dataset changelog
Statements are occasionally reissued to fix errors. A parse or score produced against a superseded PDF is not comparable to results against the current one. Check here before comparing results across dates.
### 2026-08-11: bsb-001, Straits Capital (Singapore)
Reissued to fix a benchmark-generator reproducibility bug (non-deterministic PDF metadata: creation date, embedded font-subset tags, image object ordering). Printed content and every ground-truth answer are unchanged.
- Original PDF sha256: `7f96da7316b2b540f2f8ecfc4151cd242a501be3ed84204a15bfbbe3c355531b`
- Superseded by: `8a5b0e296d5d9ffaccfe6e8d99e0b52f7f60db76db54132c8c9ce6b8cbd52720`
- Parses or scores produced against the original PDF remain valid (content is unchanged) but were keyed to a superseded hash — re-key to the current hash rather than re-parsing.
### 2026-08-11: bsb-002, Liberty National (United States)
Reissued to fix a benchmark-generator reproducibility bug (non-deterministic PDF metadata: creation date, embedded font-subset tags, image object ordering). Printed content and every ground-truth answer are unchanged.
- Original PDF sha256: `f9947911a399ff0ccb7e8afde6e3380e3f7a1f61a5809b68022ce0b9ba449b06`
- Superseded by: `7632b2a50b3ab172e18f03ea110241660c220a4ef738bbfb683eba4cccbbc324`
- Parses or scores produced against the original PDF remain valid (content is unchanged) but were keyed to a superseded hash — re-key to the current hash rather than re-parsing.
### 2026-08-11: bsb-003, Continental Trust (Netherlands)
Reissued to fix a benchmark-generator reproducibility bug (non-deterministic PDF metadata: creation date, embedded font-subset tags, image object ordering). Printed content and every ground-truth answer are unchanged.
- Original PDF sha256: `d605ff5e2c803f531c18d295354f135017c56082538f41e53d6c37452604a566`
- Superseded by: `4bad73296bdbcf7142b62c8af421527f88d1d3a6865617e9fea48e6f51c704a1`
- Parses or scores produced against the original PDF remain valid (content is unchanged) but were keyed to a superseded hash — re-key to the current hash rather than re-parsing.
### 2026-08-07: bsb-004, Silk Road Banking (Hong Kong)
Reissued to correct errors in the original statement. The second account is now denominated in USD, with a disclosed FX rate.
- Original PDF sha256: `e93cacdb23195adefdf13ef4ba9528f55454c6fb2dc83624fe9c5077c5bc6455`
- Superseded by: `522f8c9c92cb567580ffca4ac5ff9d4caea7d831764671de0ab8ae0878e513c2`
- Parses or scores produced against the original PDF are not comparable. Re-parse the reissued PDF.
### 2026-08-11: bsb-004, Silk Road Banking (Hong Kong)
Reissued to fix the same generator reproducibility bug as the other released statements, plus a generator fix to how ground-truth account identity is derived: the account name no longer bakes in the account number, which lets a parser that correctly componentizes the printed heading exact-match cross-engine. Printed content (including the heading) is unchanged.
- Original PDF sha256: `522f8c9c92cb567580ffca4ac5ff9d4caea7d831764671de0ab8ae0878e513c2`
- Superseded by: `0a4201b0e1a9c9ed834a2dce898a97ef8bac2b959ae6e3eb041c59328e0b19d1`
- Parses or scores produced against the previous PDF remain valid (printed content is unchanged) but were keyed to a superseded hash — re-key to the current hash rather than re-parsing.
### 2026-08-11: bsb-005, Harbour Bank (Canada)
Reissued to fix a benchmark-generator reproducibility bug (non-deterministic PDF metadata: creation date, embedded font-subset tags, image object ordering). Printed content and every ground-truth answer are unchanged.
- Original PDF sha256: `01a26c767b9488e45b358b329e2c9ea3d9fba05878a1963da06fde899827debb`
- Superseded by: `8919aa5abdb06d377898e5cc78751661fcc80a25a89a477af49ceb0f0d7fe143`
- Parses or scores produced against the original PDF remain valid (content is unchanged) but were keyed to a superseded hash — re-key to the current hash rather than re-parsing.
### 2026-08-14: bsb-001, Straits Capital (Singapore)
Reissued to fix account numbers that were previously a static, non-random digit string shared by every synthetic statement for that banking tag. Account numbers now come from a country-keyed format table (#4931).
- Original PDF sha256: `8a5b0e296d5d9ffaccfe6e8d99e0b52f7f60db76db54132c8c9ce6b8cbd52720`
- Superseded by: `d3d5071b90a33272f31bab5c5660d78b2ae29d2c6e1720477f5e8b167f73e843`
- Parses or scores produced against the previous PDF are not comparable — the printed account number changed, which changes account identity and every dependent ground-truth value. Re-parse the reissued PDF.
### 2026-08-14: bsb-002, Liberty National (United States)
Reissued to fix account numbers that were previously a static, non-random digit string shared by every synthetic statement for that banking tag. Account numbers now come from a country-keyed format table (#4931).
- Original PDF sha256: `7632b2a50b3ab172e18f03ea110241660c220a4ef738bbfb683eba4cccbbc324`
- Superseded by: `3700a073ac1262173cbabbd5667cd3a59e04cf0b14e3a865ae25ce21089ab97d`
- Parses or scores produced against the previous PDF are not comparable — the printed account number changed, which changes account identity and every dependent ground-truth value. Re-parse the reissued PDF.
### 2026-08-14: bsb-003, Continental Trust (Netherlands)
Reissued to fix the account number: NL is an IBAN country, but the old template randomized a two-letter "country code" instead of emitting NL's literal IBAN prefix, and the checksum was never a valid ISO 7064 mod-97-10 IBAN check digit. Account numbers now come from a country-keyed format table that emits a real, check-digit-valid IBAN for NL (#4931).
- Original PDF sha256: `4bad73296bdbcf7142b62c8af421527f88d1d3a6865617e9fea48e6f51c704a1`
- Superseded by: `4945bcda107e6d7845850e728b90c4dba1cb11de5a13356b0794df349e5527c2`
- Parses or scores produced against the previous PDF are not comparable — the printed account number changed, which changes account identity and every dependent ground-truth value. Re-parse the reissued PDF.
### 2026-08-14: bsb-004, Silk Road Banking (Hong Kong)
Reissued to fix account numbers that were previously a static, non-random digit string shared by every synthetic statement for that banking tag. Hong Kong has no single documented national account-number scheme, so the new generic digit format is honestly noted as such rather than citing a fabricated standard. Account numbers now come from a country-keyed format table (#4931).
- Original PDF sha256: `0a4201b0e1a9c9ed834a2dce898a97ef8bac2b959ae6e3eb041c59328e0b19d1`
- Superseded by: `67a5b862696fc06e675db53867be6fcc71a4ecc13998193e8b45e2cd63371051`
- Parses or scores produced against the previous PDF are not comparable — the printed account number changed, which changes account identity and every dependent ground-truth value. Re-parse the reissued PDF.
### 2026-08-14: bsb-005, Harbour Bank (Canada)
Reissued to fix the account number: Canada has no IBAN, but the old template printed a French IBAN (inherited from the base `fr.json` dictionary — format was keyed by language, not jurisdiction). Account numbers are now keyed by country, so `fr-CA` prints Canada's 5-digit-transit + 3-digit-institution + 7-digit-account format instead of France's IBAN (#4931).
- Original PDF sha256: `8919aa5abdb06d377898e5cc78751661fcc80a25a89a477af49ceb0f0d7fe143`
- Superseded by: `a5cc2a7d210bc657c55b44ac159c5d10b2d71553f3646ce17a64051f918fd960`
- Parses or scores produced against the previous PDF are not comparable — the printed account number changed, which changes account identity and every dependent ground-truth value. Re-parse the reissued PDF.
## Statements
| ID | Difficulty | Country | Lang | Type | Pages | Txns | Challenges | Released |
|---|---|---|---|---|--:|--:|------------|:--:|
| bsb-001 | basic | 🇸🇬 SG | EN | Bank | 3 | 12 | Separate Credit & Debit Columns, Running Balance Cross-Check, Multi-Line Text Within a Cell | ✓ |
| bsb-002 | basic | 🇺🇸 US | EN | Credit Card | 4 | 15 | Charges Shown as Negative, Multiple Dates per Transaction, Description Continuation Rows, Non-Standard Page Size, Missing Year in Dates | ✓ |
| bsb-003 | basic | 🇳🇱 NL | NL/EN | Bank | 3 | 22 | Multiple Dates per Transaction, Separate Counterparty Column, Running Balance Cross-Check, Currency Symbols Breaking Numeric Parsing, Missing Year in Dates | ✓ |
| bsb-004 | basic | 🇭🇰 HK | EN | Bank | 5 | 25 | Separate Credit & Debit Columns, Multi-Line Text Within a Cell, Running Balance Cross-Check, Separate Transaction Tables per Account | ✓ |
| bsb-005 | basic | 🇨🇦 CA | FR | Bank | 2 | 25 | Date Hidden Inside Description Text, Separate Credit & Debit Columns, Abbreviated Year in Dates, Inconsistent Date Formats, Running Balance Cross-Check | ✓ |
| bsb-006 | intermediate | 🇲🇽 MX | ES | Bank | 1 | 30 | Separate Credit & Debit Columns, Dual Balance Timeline, Missing Year in Dates, Running Balance Cross-Check | *Coming soon* |
| bsb-007 | intermediate | 🇨🇦 CA | FR/EN | Credit Card | 1 | 25 | Multiple Dates per Transaction, Date Split Across Day/Month Columns, Transactions Split Across Multiple Tables | *Coming soon* |
| bsb-008 | intermediate | 🇦🇺 AU | EN | Bank | 1 | 30 | Column Mixes Times and Dates, Inconsistent Date Formats, No Selectable Text (Scanned PDF), Separate Credit & Debit Columns, Running Balance Cross-Check | *Coming soon* |
| bsb-009 | intermediate | 🇬🇧 GB | EN | Bank | 1 | 35 | Separate Credit & Debit Columns, Multiple Dates per Transaction, Running Balance Cross-Check, Inconsistent Date Formats, Currency Symbols Breaking Numeric Parsing, No Visible Table Lines or Borders | *Coming soon* |
| bsb-010 | intermediate | 🇮🇳 IN | EN | Bank | 27 | 500 | Separate Credit & Debit Columns, Running Balance Cross-Check, Payment Method/Rails Information, Inconsistent Date Formats, Phantom Balance Rows on Every Page, Blank Dates for Same-Day Transactions | *Coming soon* |
| bsb-011 | advanced | 🇭🇰 HK | EN/ZH | Bank | 3 | 35 | Bilingual Column Headers, Mixed Number Formats, Separate Credit & Debit Columns, Multiple Currencies in One Table, Multiple Accounts Mixed in One Table, Sparse Balance Column (End-of-Day Only) | *Coming soon* |
| bsb-012 | advanced | 🇸🇬 SG | ZH | Credit Card | 1 | 31 | Charges Shown as Negative, Fees & Interest Buried in Separate Sections, Zero-Value Fee & Interest Lines, Missing Year in Dates, No Selectable Text (Scanned PDF), Page Headers & Footers Mixed with Data | *Coming soon* |
| bsb-013 | advanced | 🇰🇿 KZ | EN | Bank | 3 | 35 | Multiple Currencies in One Table, Two Currencies Shown Side-by-Side, Separate Credit & Debit Columns, Fees in a Separate Column, Multiple Accounts Mixed in One Table | *Coming soon* |
| bsb-014 | advanced | 🇹🇭 TH | TH/EN | Bank | 1 | 28 | Buddhist Era Calendar (Year +543), Bilingual Column Headers, Separate Credit & Debit Columns, Payment Method/Rails Information, Running Balance Cross-Check | *Coming soon* |
| bsb-015 | advanced | 🇲🇾 MY | EN/MS | Credit Card | 1 | 20 | Bilingual Column Headers, Mixed Number Formats, Multiple Dates per Transaction, Currency Only Shown in Column Header, Transactions Split Across Multiple Tables, No Selectable Text (Scanned PDF), Plus/Minus Sign After the Amount | *Coming soon* |
## Challenges
| Challenge | Description | Statements |
|-----------|-------------|:--:|
| `balance-carry-forward-rows` | Phantom Balance Rows on Every Page | 0 / 1 |
| `balance-validation` | Running Balance Cross-Check | 4 / 9 |
| `bilingual-headers` | Bilingual Column Headers | 0 / 3 |
| `buddhist-era-dates` | Buddhist Era Calendar (Year +543) | 0 / 1 |
| `charges-shown-as-negative` | Charges Shown as Negative | 1 / 2 |
| `credit-debit-columns` | Separate Credit & Debit Columns | 3 / 10 |
| `currency-symbol-amounts` | Currency Symbols Breaking Numeric Parsing | 1 / 2 |
| `currency-symbol-header-only` | Currency Only Shown in Column Header | 0 / 1 |
| `date-carry-forward` | Blank Dates for Same-Day Transactions | 0 / 1 |
| `date-format-variations` | Inconsistent Date Formats | 1 / 4 |
| `date-time-dual-column` | Column Mixes Times and Dates | 0 / 1 |
| `dual-balance-timeline` | Dual Balance Timeline | 0 / 1 |
| `dual-currency-display` | Two Currencies Shown Side-by-Side | 0 / 1 |
| `end-of-day-balance` | Sparse Balance Column (End-of-Day Only) | 0 / 1 |
| `fee-and-interest-sections` | Fees & Interest Buried in Separate Sections | 0 / 1 |
| `fee-column` | Fees in a Separate Column | 0 / 1 |
| `header-footer-noise` | Page Headers & Footers Mixed with Data | 0 / 1 |
| `mixed-locale-formatting` | Mixed Number Formats | 0 / 2 |
| `multi-currency` | Multiple Currencies in One Table | 0 / 2 |
| `multi-line-descriptions` | Multi-Line Text Within a Cell | 2 |
| `multiple-accounts-multiple-tables` | Separate Transaction Tables per Account | 1 |
| `multiple-accounts-single-table` | Multiple Accounts Mixed in One Table | 0 / 2 |
| `multiple-tables` | Transactions Split Across Multiple Tables | 0 / 2 |
| `no-table-boundaries` | No Visible Table Lines or Borders | 0 / 1 |
| `non-standard-page-size` | Non-Standard Page Size | 1 |
| `partial-year-dates` | Missing Year in Dates | 2 / 4 |
| `payment-method-column` | Payment Method/Rails Information | 0 / 2 |
| `posting-date-selection` | Multiple Dates per Transaction | 2 / 5 |
| `scanned-pdf-text` | No Selectable Text (Scanned PDF) | 0 / 3 |
| `separate-counterparty-column` | Separate Counterparty Column | 1 |
| `split-date-columns-merged` | Date Split Across Day/Month Columns | 0 / 1 |
| `split-embedded-date-column` | Date Hidden Inside Description Text | 1 |
| `trailing-sign-amounts` | Plus/Minus Sign After the Amount | 0 / 1 |
| `transaction-continuation` | Description Continuation Rows | 1 |
| `two-digit-year-dates` | Abbreviated Year in Dates | 1 |
| `zero-value-informational-rows` | Zero-Value Fee & Interest Lines | 0 / 1 |
Explore interactive examples at [https://bankstatemently.com/benchmark/challenges](https://bankstatemently.com/benchmark/challenges).
## Links
- Website: [https://bankstatemently.com/benchmark](https://bankstatemently.com/benchmark)
- GitHub (full dataset, including coming-soon statements): [https://github.com/bankstatemently/bank-statement-parsing-benchmark](https://github.com/bankstatemently/bank-statement-parsing-benchmark)
- This dataset on the Hub: [https://huggingface.co/datasets/Bankstatemently/bank-statement-parsing-benchmark](https://huggingface.co/datasets/Bankstatemently/bank-statement-parsing-benchmark)
- Free evaluation API: [https://bankstatemently.com/developers/api](https://bankstatemently.com/developers/api)
## License
MIT. See [LICENSE](LICENSE).