BAI2 115 — Lockbox Deposit
BAI2 type 115 reports lockbox deposit in record 16 as a credit movement. Tie the lockbox deposit to its bank batch and the receivables application file.
Open this sample in Air-Gapped ConverterWorked bank sample
Synthetic bank data for local reconciliation.
01,REPORTING,TREASURY,261130,1700,1,,,2/
02,TREASURY,REPORTING,1,261130,1700,USD,2/
03,OPERATING,USD,010,100000,,,015,102500,,/
16,115,2500,0,BANK-115,000115,Lockbox batch LBX-047
88, Settlement reference CASE-115
49,205000,4/
98,205000,1,6/
99,205000,1,8/Read 000115 as a text reference. The one USD 25.00 credit takes booked cash from 1,000.00 to 1,025.00. Record 49 reports 205000 in minor units because the transmission control includes both account observations and detail amounts.
The example uses USD and funds type 0. The continued text belongs to the preceding detail. Record 49 includes its physical continuation in the record count. Its monetary control adds reported amounts before applying transaction signs.
Field anatomy
| Field or path | Meaning in this file | Type or format | ERP or Excel import risk |
|---|---|---|---|
| 16 · field 2 | Lockbox Deposit | Three-character type code | Mapping 115 as a summary omits USD 25.00 from the receipt register. |
| 16 · fields 3–4 | USD 25.00 with immediate availability | Unsigned cents, funds type 0 | Import cents with scale two before matching the receipt. |
| 16 · fields 5–6 and 88 | Bank reference, customer reference and continued narrative | Text in this funds-type-0 layout | Numeric coercion drops the leading zeros in the customer reference. |
Root cause and ERP fix
- The lockbox file contains many checks for one deposit. Match their batch total to the bank entry.
- An unapplied receipt remains outside the invoice allocation. Compare applied and unapplied cash with the deposit.
- A rejected check appears on a later day. Track the subsequent return separately from the original deposit.
Inspect with the MIT parser
Save the sample as bai2-code-115.bai2 and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs bai2-code-115.bai2.
import { readFile } from 'node:fs/promises';
import { inspect } from '@stmtrecon/parser';
const text = await readFile(process.argv[2], 'utf8');
const report = inspect(text, { transactions: true });
const matches = report.transactions.filter(tx => tx.code === '115');
for (const tx of matches) console.log(tx.amount, tx.remittance);Open this sample in Air-Gapped ConverterExport a multi-sheet Excel workbook with balance checks and batch reconciliation on your device. No Node installation or cloud upload is required.
npm package · SDK source · Format reference