BAI2 to Excel Converter
Read a BAI2 cash-management file by account. Join continuation records, keep bank references as text and check each account, group and file trailer before exporting to Excel.
Treasury control worksheet
Local processing · no uploads
Preparing the fictional sample…
Control results
Paste or inspect source text
Check the sample
Account 00004108 has an opening amount of 100,000, a closing amount of 115,500 and a transaction for 15,500 raw units. Its 49 total is 231,000. The mismatch sample changes that trailer by one unit and flags the affected controls.
| Field | Value | Interpretation |
|---|---|---|
| Account 00004108 | 231,000 | Raw amount units in record 49 |
| Account 00004109 | 62,250 | Raw amount units in record 49 |
| Group control | 293,250 | Sum of account trailers |
| Physical records | 12 | Includes two 88 continuations |
Questions from the worksheet
Why is the account control greater than the closing cash balance?
The 49 trailer adds amount fields from status, summary and detail records. A closing balance reported in 03 is one term in that sum.
Does an 88 create another transaction?
An 88 continues a preceding 03 or 16. Summary fields feed the same account control. Continued payment text stays on the same detail row. Each physical line still counts in its trailer.
Why is a debit detail shown as a positive number?
BAI2 often conveys direction through the transaction type code. The Amount column follows the value written in the file. Use the bank’s code table when assigning debit or credit for posting.
What does the workbook retain from a multi-account file?
Each detail row includes its account, currency, bank reference and customer reference. The Controls sheet groups totals and physical record counts by scope. Review lists exceptions.