Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ledger Reconstruction Engine

A Python engine that converts bank statement PDFs into a clean master ledger for accountants.

This tool extracts transactions from bank statements, merges multiple statements into a chronological ledger, detects duplicates, and exports the final ledger to Excel for accounting review or import into systems like Xero or MYOB.


Purpose

Accountants frequently receive incomplete or messy financial records such as:

  • overlapping bank statements
  • multiple bank accounts
  • missing periods
  • duplicate transactions

This engine helps reconstruct a clean financial ledger from those documents.


Features

  • Extract transactions from bank statement PDFs
  • Merge multiple statements into a single ledger
  • Detect duplicate transactions
  • Build chronological master ledger
  • Export ledger to Excel
  • Designed for reconstruction work (tax, audit, legal)

Installation

Clone the repository:

git clone https://github.com/PrinceLalala/ledger-reconstruction-engine.git

cd ledger-reconstruction-engine

Install dependencies:

pip install -r requirements.txt


Usage

Run the engine:

python run_engine.py

Example configuration:

statements = [ ("data/Sample_cba_statement.pdf", "CBA"), ("data/Sampple_NAB_statement.pdf", "NAB"), ]

The engine will:

  1. Extract transactions
  2. Build a master ledger
  3. Detect duplicate transactions
  4. Export results to Excel

About

Bank statement to ledger reconstruction engine for accountants. Extracts transactions from PDFs, builds master ledger, detects duplicates and transfers, and exports to Excel/Xero.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages