moov-io / bai2

BAI2 file format is a cash management balance reporting standard
Apache License 2.0
15 stars 9 forks source link

Support BTRS3 (bai3) #117

Open omerlh opened 3 months ago

omerlh commented 3 months ago

Hey, any chance you can support both version 2 and 3? I have BTRS (bai3) files that are parsed correctly by this CLI if I just change the header field. I am happy to open a PR allowing files with version either 2 or 3 in the first line...

wokkaflokka commented 3 months ago

I think a PR with a test that asserts behavior would be great!

adamdecaf commented 3 months ago

Do you have a doc with the Version 3 specification?

Edit: Is it this? https://x9.org/wp-content/uploads/2013/10/ANSI-X9-121201-BTRS-Format-Guide-Version-3.pdf

omerlh commented 3 months ago

Yes! At least I guess, this is what I got from the bank I am working with