StmtRecon
BAI2 balance, summary and detail codes

BAI2 501 — Individual Automatic Transfer Debit

BAI2 type 501 reports individual automatic transfer debit in record 16 as a debit movement. Trace the automatic transfer debit to the configured standing transfer and receiving account.

Open this sample in Air-Gapped Converter

Worked 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,97500,,/
16,501,2500,0,BANK-501,000501,Automatic transfer rule AUTO-0501
88,  Settlement reference CASE-501
49,200000,4/
98,200000,1,6/
99,200000,1,8/

Read 000501 as a text reference. The one USD 25.00 debit takes booked cash from 1,000.00 to 975.00. Record 49 reports 200000 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 pathMeaning in this fileType or formatERP or Excel import risk
16 · field 2Individual Automatic Transfer DebitThree-character type codeMapping 501 as a summary omits USD 25.00 from the disbursement register.
16 · fields 3–4USD 25.00 with immediate availabilityUnsigned cents, funds type 0Apply the debit sign once when building the cash journal.
16 · fields 5–6 and 88Bank reference, customer reference and continued narrativeText in this funds-type-0 layoutNumeric coercion drops the leading zeros in the customer reference.

Root cause and ERP fix

  1. The ERP mapped the transfer rule to operating expense. Inspect the destination account in the standing instruction.
  2. A threshold transfer ran twice on one day. Use sequence and bank references to separate both events.
  3. The receiving account posts on another reporting day. Track the open leg in cash in transit.

Inspect with the MIT parser

Save the sample as bai2-code-501.bai2 and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs bai2-code-501.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 === '501');
for (const tx of matches) console.log(tx.amount, tx.remittance);
Open this sample in Air-Gapped Converter

Export 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

Related BAI2 balance, summary and detail codes

Export your full workbook

Purchases are currently unavailable. Existing licenses can be activated offline.