Skip to content

bankstatementparser-loader-bai2 Roadmap

This roadmap tracks the next set of capabilities for the BAI2 loader companion of the bankstatementparser library. Releases stay on the 0.0.x line, one 0.0.1 step at a time with the rest of the suite, so the sections below are ordered, not versioned; releases ship when the gates pass, not on a calendar.

Shipped (0.0.37, current)

  • Built against core 0.0.36; the suite consistency check authenticates its GitHub API request.

Shipped (0.0.36)

  • load_bai2, load_bai2_file, and summarize_bai2 over a documented, pragmatic BAI2 subset (01/02/03/16/88, with 49/98/99 trailers ignored).
  • Decimal amount conversion from minor units and a documented type-code-range debit/credit sign convention with the raw code preserved.
  • 100% line + branch coverage gate, 100% docstring coverage gate, mutation testing.
  • Three runnable examples.
  • Tested on Linux, macOS and Windows with CPython 3.10 to 3.14; Atheris fuzzing of the loader; signed releases with SLSA provenance; a MkDocs user manual.

Planned

  • Optional control-total validation: opt-in checking of the 49/98/99 trailer sums against the accumulated transaction amounts, surfaced as a structured discrepancy report.
  • Balance records: surface the 03 account opening/closing balance fields (and the 100/015-style summary type codes) alongside transactions.
  • Richer continuation handling: interpret 88 continuations on 03 account records as account-level notes rather than dropping them.
  • Funds-type / availability: expose the fundsType and value-dating distribution fields where banks populate them.

Out of scope (handled elsewhere)

  • ISO 20022 camt.053 and SWIFT MT940 parsing: those are different formats with their own parsers in the core.
  • PDF / image statement parsing: see the core bankstatementparser library.