The BAI data services implement specifications developed by the BAI financial services industry organization. They include Cash Management Balance Reporting Specifications Version 2 (BAI2) and Lockbox Communications Standards for Banks (BAI Lockbox).
BAI2 message structure
BAI2 messages have a record format. Each record ends with a line break and contains comma-delimited fields.
The first two digits of each record indicate the record type. For example, notice the record types in the following BAI2 message:
The 01 record is a file header that contains information such as the sender and receiver IDs. The 02 records designate account groups. The other records contain data for specific bank transactions. The 88 records are continuation lines.
BAI2 message in XML format
The BAI2 parser data services can convert BAI2 messages into XML format. The following example shows a BAI2 message in XML format:
The BAI Lockbox parser data services can convert BAI Lockbox messages into XML format. The following example shows a BAI Lockbox message in XML format: