This repository contains a Python script designed to parse BAI2 formatted data and create individual BAI2 files for each customer based on the parsed information.
The Bank Administration Institute (BAI) format is a standardized format used by banks to provide transaction and balance information to their customers. The BAI2 format, specifically, is a popular choice among banks and their customers for electronic delivery of bank statements.
-
Parse BAI2 Files: Extracts account, transaction, and header data from BAI2 formatted strings.
-
Generate Customer-specific BAI2 Files: Creates separate BAI2 files for each customer, which can be useful for individual processing or review.
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/BAI2-Parser.git
-
Navigate to the directory:
cd BAI2-Parser
-
Run the script:
python main.py
Note: Replace the sample BAI2 data in main.py
with your data before running the script.
- Python 3.x
Contributions are welcome! Please fork this repository and open a pull request with your proposed changes. Ensure your changes don't break existing functionality by testing with the provided BAI2 sample data.
This project is licensed under the MIT License. See the LICENSE
file for details.