Guides · File formats

BAI2 codes list: every type code, what it means, credit or debit

Updated November 8, 2026 · 8 min read · By the Utilly team

Every amount in a BAI2 file carries a three-digit type code that says what the number is: a balance, a daily total, or one transaction, and whether that transaction is money in or money out. This page explains how the codes are organized, lists the ones you'll see most often in plain words, and then gives the full list of 473 codes with a search box, so you can look up the code on a line of your bank's file.

Short answer: BAI2 type codes run in ranges. 001–099 are status codes (balances such as 010 opening ledger, 015 closing ledger, 040 opening available). 100–399 are credits (money in) and 400–699 are debits (money out); inside each range, a summary code is a day's total (100 total credits, 400 total debits) and a detail code is one transaction (165 preauthorized ACH credit, 475 check paid). 700–799 are loan codes, 890 is text with no amount, and 900–999 are left to each bank to define. Status and summary codes sit on the 03 account record and its 88 continuations; detail codes start each 16 transaction record.

See the codes in a real file layout

Open Utilly's fictional BAI2 previous-day file (one US business account, two days, 12 transactions using codes 115, 142, 165, 195, 451, 455, 469, 475, 495, 506 and 698) in the converter. Every row comes out with its date, a description and a signed amount, and both days tie to the closing ledger.

1. How to read a type code in a BAI2 file

Here is the first day of the sample file. The 03 record names the account and currency, then lists pairs of a type code and an amount. Amounts have no decimal point: they're in cents, so 4821537 is 48,215.37.

03,0975312468,USD,010,4821537,,,015,5038596,,,040,4821537,,/
88,045,4854571,,,100,1009025,2,,400,791966,4,/
16,165,325000,0,000412,,ACH CREDIT NORTHWIND RETAIL INV 10422
16,475,120000,0,000415,1043,/
FieldCodeWhat it says
010,4821537StatusOpening ledger balance 48,215.37
015,5038596StatusClosing ledger balance 50,385.96
040,4821537 / 045,4854571StatusOpening available 48,215.37 / closing available 48,545.71
100,1009025,2SummaryTotal credits 10,090.25 in 2 items
400,791966,4SummaryTotal debits 7,919.66 in 4 items
16,165,325000,…DetailOne preauthorized ACH credit of 3,250.00, with the bank's text after the references
16,475,120000,…,1043DetailCheck number 1043 paid, 1,200.00 out

A status code is followed by an amount and a blank item count; a summary code by an amount and an item count; a detail record has one code, one amount, a funds type, the bank and customer references, and free text. The amount is never signed. The code alone says whether it's money in or money out, which is why a list like this one matters. The record layout itself (01 to 99) is covered on BAI2 to CSV.

2. Code ranges at a glance

RangeWhat it isWhere it appearsExamples
001–099Status: balances and float, no direction03 record and 88010 opening ledger, 015 closing ledger, 040 opening available, 045 closing available, 060 current available, 072 one-day float
100–399Credits (money in): summary totals and detail transactionsSummary on 03/88, detail on 16100 total credits, 115 lockbox deposit, 142 ACH credit received, 195 incoming money transfer, 399 miscellaneous credit
400–699Debits (money out): summary totals and detail transactionsSummary on 03/88, detail on 16400 total debits, 455 preauthorized ACH debit, 475 check paid, 495 outgoing money transfer, 699 miscellaneous debit
700–799Loans: loan balances and how a loan payment was appliedLoan accounts701 principal loan balance, 721 amount applied to interest, 722 amount applied to principal
890Text only, no money16890 contains non-monetary information
900–999Defined by each bankAnywhereLook these up in your bank's own BAI2 guide; there's no shared meaning

3. The codes you'll see most

A typical operating account's previous-day file uses a few dozen codes again and again. These are the ones people look up most, with what they usually mean in practice. Your bank may use a more specific code for the same thing (for example 169 instead of 142 for an ACH credit), so check the full list below when a code isn't here.

CodeNameIn or outWhat it usually is
010 / 015Opening / Closing LedgerBalanceThe book balance at the start and end of the day. These are the two figures a reconciliation ties to.
040 / 045Opening / Closing AvailableBalanceLedger balance minus funds the bank hasn't made available yet (deposits still in float).
100 / 400Total Credits / Total DebitsTotalThe day's credits and debits, with an item count. They should equal the sum of the detail records.
115Lockbox DepositInCustomer checks the bank collected through your lockbox and deposited as one amount.
142ACH Credit ReceivedInAn incoming ACH payment, such as a customer paying an invoice or a processor payout.
158Real Time Payment CreditInAn instant payment received (RTP or FedNow). Added after the original BAI2 list; see below.
165Preauthorized ACH CreditInA recurring ACH deposit you authorized in advance.
169Miscellaneous ACH CreditInAn ACH credit that doesn't fit a more specific code. Many banks use it for most incoming ACH.
195Incoming Money TransferInAn incoming wire.
206Book Transfer CreditInA transfer in from another account at the same bank.
301Commercial DepositInA branch or teller deposit.
354Interest CreditInInterest paid into the account.
399Miscellaneous CreditInAny credit without a more specific code.
451ACH Debit ReceivedOutAn ACH debit someone else pulled from the account.
455Preauthorized ACH DebitOutA recurring ACH debit you authorized: payroll funding, loan or card payments, utilities.
458Real Time Payment DebitOutAn instant payment sent (RTP or FedNow).
469Miscellaneous ACH DebitOutAn ACH debit without a more specific code.
475Check PaidOutOne of your checks cleared. The check number is usually in the customer reference field.
495Outgoing Money TransferOutAn outgoing wire.
506Book Transfer DebitOutA transfer out to another account at the same bank.
555Deposited Item ReturnedOutA check you deposited bounced and was charged back.
661Account Analysis FeeOutThe monthly service charge from account analysis.
698Miscellaneous FeesOutWire fees, stop-payment fees and other charges.
699Miscellaneous DebitOutAny debit without a more specific code.

4. Full BAI2 codes list

All 473 codes: the BAI2 code list plus the four real-time payment codes added later. Type a code (475) or a word (transfer, lockbox, fee) to filter. Wires are listed as money transfers. Level is status (a balance), summary (a total) or detail (one transaction).

473 codes
CodeNameLevelIn / out
010Opening LedgerStatus-
011Average Opening Ledger MTDStatus-
012Average Opening Ledger YTDStatus-
015Closing LedgerStatus-
020Average Closing Ledger MTDStatus-
021Average Closing Ledger - Previous MonthStatus-
022Aggregate Balance AdjustmentsStatus-
024Average Closing Ledger YTD - Previous MonthStatus-
025Average Closing Ledger YTDStatus-
030Current LedgerStatus-
037ACH Net PositionStatus-
039Opening Available + Total Same-Day ACH DTC DepositStatus-
040Opening AvailableStatus-
041Average Opening Available MTDStatus-
042Average Opening Available YTDStatus-
043Average Available - Previous MonthStatus-
044Disbursing Opening Available BalanceStatus-
045Closing AvailableStatus-
050Average Closing Available MTDStatus-
051Average Closing Available - Last MonthStatus-
054Average Closing Available YTD - Last MonthStatus-
055Average Closing Available YTDStatus-
056Loan BalanceStatus-
057Total Investment PositionStatus-
059Current Available (CRS Supressed)Status-
060Current AvailableStatus-
061Average Current Available MTDStatus-
062Average Current Available YTDStatus-
063Total FloatStatus-
065Target BalanceStatus-
066Adjusted BalanceStatus-
067Adjusted Balance MTDStatus-
068Adjusted Balance YTDStatus-
0700-Day FloatStatus-
0721-Day FloatStatus-
073Float AdjustmentStatus-
0742 or More Days FloatStatus-
0753 or More Days FloatStatus-
076Adjustment to BalancesStatus-
077Average Adjustment to Balances MTDStatus-
078Average Adjustment to Balances YTDStatus-
0794-Day FloatStatus-
0805-Day FloatStatus-
0816-Day FloatStatus-
082Average 1-Day Float MTDStatus-
083Average 1-Day Float YTDStatus-
084Average 2-Day Float MTDStatus-
085Average 2-Day Float YTDStatus-
086Transfer CalculationStatus-
100Total CreditsSummaryCredit
101Total Credit Amount MTDSummaryCredit
105Credits Not DetailedSummaryCredit
106Deposits Subject to FloatSummaryCredit
107Total Adjustment Credits YTDSummaryCredit
108Credit (Any Type)DetailCredit
109Current Day Total Lockbox DepositsSummaryCredit
110Total Lockbox DepositsSummaryCredit
115Lockbox DepositDetailCredit
116Item in Lockbox DepositDetailCredit
118Lockbox Adjustment CreditDetailCredit
120EDI* Transaction CreditSummaryCredit
121EDI Transaction CreditDetailCredit
122EDIBANX Credit ReceivedDetailCredit
123EDIBANX Credit ReturnDetailCredit
130Total Concentration CreditsSummaryCredit
131Total DTC CreditsSummaryCredit
135DTC Concentration CreditDetailCredit
136Item in DTC DepositDetailCredit
140Total ACH CreditsSummaryCredit
142ACH Credit ReceivedDetailCredit
143Item in ACH DepositDetailCredit
145ACH Concentration CreditDetailCredit
146Total Bank Card DepositsSummaryCredit
147Individual Bank Card DepositDetailCredit
150Total Preauthorized Payment CreditsSummaryCredit
155Preauthorized Draft CreditDetailCredit
156Item in PAC DepositDetailCredit
158Real Time Payment Credit (added by X9, now "Instant Payment")DetailCredit
159Total Real Time Payment Credits (added by X9, now "Instant Payment")SummaryCredit
160Total ACH Disbursing Funding CreditsSummaryCredit
162Corporate Trade Payment SettlementSummaryCredit
163Corporate Trade Payment CreditsSummaryCredit
164Corporate Trade Payment CreditDetailCredit
165Preauthorized ACH CreditDetailCredit
166ACH SettlementDetailCredit
167ACH Settlement CreditsSummaryCredit
168ACH Return Item or Adjustment SettlementDetailCredit
169Miscellaneous ACH CreditDetailCredit
170Total Other Check DepositsSummaryCredit
171Individual Loan DepositDetailCredit
172Deposit CorrectionDetailCredit
173Bank-Prepared DepositDetailCredit
174Other DepositDetailCredit
175Check Deposit PackageDetailCredit
176Re-presented Check DepositDetailCredit
178List Post CreditsSummaryCredit
180Total Loan ProceedsSummaryCredit
182Total Bank-Prepared DepositsSummaryCredit
184Draft DepositDetailCredit
185Total Miscellaneous DepositsSummaryCredit
186Total Cash Letter CreditsSummaryCredit
187Cash Letter CreditDetailCredit
188Total Cash Letter AdjustmentsSummaryCredit
189Cash Letter AdjustmentDetailCredit
190Total Incoming Money TransfersSummaryCredit
191Individual Incoming Internal Money TransferDetailCredit
195Incoming Money TransferDetailCredit
196Money Transfer AdjustmentDetailCredit
198CompensationDetailCredit
200Total Automatic Transfer CreditsSummaryCredit
201Individual Automatic Transfer CreditDetailCredit
202Bond Operations CreditDetailCredit
205Total Book Transfer CreditsSummaryCredit
206Book Transfer CreditDetailCredit
207Total International Money Transfer CreditsSummaryCredit
208Individual International Money Transfer CreditDetailCredit
210Total International CreditsSummaryCredit
212Foreign Letter of CreditDetailCredit
213Letter of CreditDetailCredit
214Foreign Exchange of CreditDetailCredit
215Total Letters of CreditSummaryCredit
216Foreign Remittance CreditDetailCredit
218Foreign Collection CreditDetailCredit
221Foreign Check PurchaseDetailCredit
222Foreign Checks DepositedDetailCredit
224CommissionDetailCredit
226International Money Market TradingDetailCredit
227Standing OrderDetailCredit
229Miscellaneous International CreditDetailCredit
230Total Security CreditsSummaryCredit
231Total Collection CreditsSummaryCredit
232Sale of Debt SecurityDetailCredit
233Securities SoldDetailCredit
234Sale of Equity SecurityDetailCredit
235Matured Reverse Repurchase OrderDetailCredit
236Maturity of Debt SecurityDetailCredit
237Individual Collection CreditDetailCredit
238Collection of DividendsDetailCredit
239Total Bankers’ Acceptance CreditsSummaryCredit
240Coupon Collections - BanksDetailCredit
241Bankers’ AcceptancesDetailCredit
242Collection of Interest IncomeDetailCredit
243Matured Fed Funds PurchasedDetailCredit
244Interest/Matured Principal PaymentDetailCredit
245Monthly DividendsSummaryCredit
246Commercial PaperDetailCredit
247Capital ChangeDetailCredit
248Savings Bonds Sales AdjustmentDetailCredit
249Miscellaneous Security CreditDetailCredit
250Total Checks Posted and ReturnedSummaryCredit
251Total Debit ReversalsSummaryCredit
252Debit ReversalDetailCredit
254Posting Error Correction CreditDetailCredit
255Check Posted and ReturnedDetailCredit
256Total ACH Return ItemsSummaryCredit
257Individual ACH Return ItemDetailCredit
258ACH Reversal CreditDetailCredit
260Total Rejected CreditsSummaryCredit
261Individual Rejected CreditDetailCredit
263OverdraftDetailCredit
266Return ItemDetailCredit
268Return Item AdjustmentDetailCredit
270Total ZBA CreditsSummaryCredit
271Net Zero-Balance AmountSummaryCredit
274Cumulative** ZBA or Disbursement CreditsDetailCredit
275ZBA CreditDetailCredit
276ZBA Float AdjustmentDetailCredit
277ZBA Credit TransferDetailCredit
278ZBA Credit AdjustmentDetailCredit
280Total Controlled Disbursing CreditsSummaryCredit
281Individual Controlled Disbursing CreditDetailCredit
285Total DTC Disbursing CreditsSummaryCredit
286Individual DTC Disbursing CreditDetailCredit
294Total ATM CreditsSummaryCredit
295ATM CreditDetailCredit
301Commercial DepositDetailCredit
302Correspondent Bank DepositSummaryCredit
303Total Wire Transfers In - FFSummaryCredit
304Total Wire Transfers In - CHFSummaryCredit
305Total Fed Funds SoldSummaryCredit
306Fed Funds SoldDetailCredit
307Total Trust CreditsSummaryCredit
308Trust CreditDetailCredit
309Total Value - Dated FundsSummaryCredit
310Total Commercial DepositsSummaryCredit
315Total International Credits - FFSummaryCredit
316Total International Credits - CHFSummaryCredit
318Total Foreign Check PurchasedSummaryCredit
319Late DepositSummaryCredit
320Total Securities Sold - FFSummaryCredit
321Total Securities Sold - CHFSummaryCredit
324Total Securities Matured - FFSummaryCredit
325Total Securities Matured - CHFSummaryCredit
326Total Securities InterestSummaryCredit
327Total Securities MaturedSummaryCredit
328Total Securities Interest - FFSummaryCredit
329Total Securities Interest - CHFSummaryCredit
330Total Escrow CreditsSummaryCredit
331Individual Escrow CreditDetailCredit
332Total Miscellaneous Securities Credits - FFSummaryCredit
336Total Miscellaneous Securities Credits - CHFSummaryCredit
338Total Securities SoldSummaryCredit
340Total Broker DepositsSummaryCredit
341Total Broker Deposits - FFSummaryCredit
342Broker DepositDetailCredit
343Total Broker Deposits - CHFSummaryCredit
344Individual Back Value CreditDetailCredit
345Item in Brokers DepositDetailCredit
346Sweep Interest IncomeDetailCredit
347Sweep Principal SellDetailCredit
348Futures CreditDetailCredit
349Principal Payments CreditDetailCredit
350Investment SoldSummaryCredit
351Individual Investment SoldDetailCredit
352Total Cash Center CreditsSummaryCredit
353Cash Center CreditDetailCredit
354Interest CreditDetailCredit
355Investment InterestSummaryCredit
356Total Credit AdjustmentSummaryCredit
357Credit AdjustmentDetailCredit
358YTD Adjustment CreditDetailCredit
359Interest Adjustment CreditDetailCredit
360Total Credits Less Wire Transfer and Returned ChecksSummaryCredit
361Grand Total Credits Less Grand Total DebitsSummaryCredit
362Correspondent CollectionDetailCredit
363Correspondent Collection AdjustmentDetailCredit
364Loan ParticipationDetailCredit
366Currency and Coin DepositedDetailCredit
367Food Stamp LetterDetailCredit
368Food Stamp AdjustmentDetailCredit
369Clearing Settlement CreditDetailCredit
370Total Back Value CreditsSummaryCredit
372Back Value AdjustmentDetailCredit
373Customer PayrollDetailCredit
374FRB Statement RecapDetailCredit
376Savings Bond Letter or AdjustmentDetailCredit
377Treasury Tax and Loan CreditDetailCredit
378Transfer of Treasury CreditDetailCredit
379FRB Government Checks Cash Letter CreditDetailCredit
381FRB Government Check AdjustmentDetailCredit
382FRB Postal Money Order CreditDetailCredit
383FRB Postal Money Order AdjustmentDetailCredit
384FRB Cash Letter Auto Charge CreditDetailCredit
385Total Universal CreditsSummaryCredit
386FRB Cash Letter Auto Charge AdjustmentDetailCredit
387FRB Fine-Sort Cash Letter CreditDetailCredit
388FRB Fine-Sort AdjustmentDetailCredit
389Total Freight Payment CreditsSummaryCredit
390Total Miscellaneous CreditsSummaryCredit
391Universal CreditDetailCredit
392Freight Payment CreditDetailCredit
393Itemized Credit Over $10,000DetailCredit
394Cumulative** CreditsDetailCredit
395Check ReversalDetailCredit
397Float AdjustmentDetailCredit
398Miscellaneous Fee RefundDetailCredit
399Miscellaneous CreditDetailCredit
400Total DebitsSummaryDebit
401Total Debit Amount MTDSummaryDebit
403Today’s Total DebitsSummaryDebit
405Total Debit Less Wire Transfers and Charge- BacksSummaryDebit
406Debits not DetailedSummaryDebit
408Float AdjustmentDetailDebit
409Debit (Any Type)DetailDebit
410Total YTD AdjustmentSummaryDebit
412Total Debits (Excluding Returned Items)SummaryDebit
415Lockbox DebitDetailDebit
416Total Lockbox DebitsSummaryDebit
420EDI Transaction DebitsSummaryDebit
421EDI Transaction DebitDetailDebit
422EDIBANX Settlement DebitDetailDebit
423EDIBANX Return Item DebitDetailDebit
430Total Payable-Through DraftsSummaryDebit
435Payable-Through DraftDetailDebit
445ACH Concentration DebitDetailDebit
446Total ACH Disbursement Funding DebitsSummaryDebit
447ACH Disbursement Funding DebitDetailDebit
450Total ACH DebitsSummaryDebit
451ACH Debit ReceivedDetailDebit
452Item in ACH Disbursement or DebitDetailDebit
455Preauthorized ACH DebitDetailDebit
458Real Time Payment Debit (added by X9, now "Instant Payment")DetailDebit
459Total Real Time Payment Debits (added by X9, now "Instant Payment")SummaryDebit
462Account Holder Initiated ACH DebitDetailDebit
463Corporate Trade Payment DebitsSummaryDebit
464Corporate Trade Payment DebitDetailDebit
465Corporate Trade Payment SettlementSummaryDebit
466ACH SettlementDetailDebit
467ACH Settlement DebitsSummaryDebit
468ACH Return Item or Adjustment SettlementDetailDebit
469Miscellaneous ACH DebitDetailDebit
470Total Check PaidSummaryDebit
471Total Check Paid - Cumulative MTDSummaryDebit
472Cumulative** Checks PaidDetailDebit
474Certified Check DebitDetailDebit
475Check PaidDetailDebit
476Federal Reserve Bank Letter DebitDetailDebit
477Bank Originated DebitDetailDebit
478List Post DebitsSummaryDebit
479List Post DebitDetailDebit
480Total Loan PaymentsSummaryDebit
481Individual Loan PaymentDetailDebit
482Total Bank-Originated DebitsSummaryDebit
484DraftDetailDebit
485DTC DebitDetailDebit
486Total Cash Letter DebitsSummaryDebit
487Cash Letter DebitDetailDebit
489Cash Letter AdjustmentDetailDebit
490Total Outgoing Money TransfersSummaryDebit
491Individual Outgoing Internal Money TransferDetailDebit
493Customer Terminal Initiated Money TransferDetailDebit
495Outgoing Money TransferDetailDebit
496Money Transfer AdjustmentDetailDebit
498CompensationDetailDebit
500Total Automatic Transfer DebitsSummaryDebit
501Individual Automatic Transfer DebitDetailDebit
502Bond Operations DebitDetailDebit
505Total Book Transfer DebitsSummaryDebit
506Book Transfer DebitDetailDebit
507Total International Money Transfer DebitsSummaryDebit
508Individual International Money Transfer DebitsDetailDebit
510Total International DebitsSummaryDebit
512Letter of Credit DebitDetailDebit
513Letter of CreditDetailDebit
514Foreign Exchange DebitDetailDebit
515Total Letters of CreditSummaryDebit
516Foreign Remittance DebitDetailDebit
518Foreign Collection DebitDetailDebit
522Foreign Checks PaidDetailDebit
524CommissionDetailDebit
526International Money Market TradingDetailDebit
527Standing OrderDetailDebit
529Miscellaneous International DebitDetailDebit
530Total Security DebitsSummaryDebit
531Securities PurchasedDetailDebit
532Total Amount of Securities PurchasedSummaryDebit
533Security Collection DebitDetailDebit
534Total Miscellaneous Securities DB - FFSummaryDebit
535Purchase of Equity SecuritiesDetailDebit
536Total Miscellaneous Securities Debit - CHFSummaryDebit
537Total Collection DebitSummaryDebit
538Matured Repurchase OrderDetailDebit
539Total Bankers’ Acceptances DebitSummaryDebit
540Coupon Collection DebitDetailDebit
541Bankers’ AcceptancesDetailDebit
542Purchase of Debt SecuritiesDetailDebit
543Domestic CollectionDetailDebit
544Interest/Matured Principal PaymentDetailDebit
546Commercial paperDetailDebit
547Capital ChangeDetailDebit
548Savings Bonds Sales AdjustmentDetailDebit
549Miscellaneous Security DebitDetailDebit
550Total Deposited Items ReturnedSummaryDebit
551Total Credit ReversalsSummaryDebit
552Credit ReversalDetailDebit
554Posting Error Correction DebitDetailDebit
555Deposited Item ReturnedDetailDebit
556Total ACH Return ItemsSummaryDebit
557Individual ACH Return ItemDetailDebit
558ACH Reversal DebitDetailDebit
560Total Rejected DebitsSummaryDebit
561Individual Rejected DebitDetailDebit
563OverdraftDetailDebit
564Overdraft FeeDetailDebit
566Return ItemDetailDebit
567Return Item FeeDetailDebit
568Return Item AdjustmentDetailDebit
570Total ZBA DebitsSummaryDebit
574Cumulative ZBA DebitsDetailDebit
575ZBA DebitDetailDebit
577ZBA Debit TransferDetailDebit
578ZBA Debit AdjustmentDetailDebit
580Total Controlled Disbursing DebitsSummaryDebit
581Individual Controlled Disbursing DebitDetailDebit
583Total Disbursing Checks Paid - Early AmountSummaryDebit
584Total Disbursing Checks Paid - Later AmountSummaryDebit
585Disbursing Funding RequirementSummaryDebit
586FRB Presentment Estimate (Fed Estimate)SummaryDebit
587Late Debits (After Notification)SummaryDebit
588Total Disbursing Checks Paid-Last AmountSummaryDebit
590Total DTC DebitsSummaryDebit
594Total ATM DebitsSummaryDebit
595ATM DebitDetailDebit
596Total APR DebitsSummaryDebit
597ARP DebitDetailDebit
601Estimated Total DisbursementSummaryDebit
602Adjusted Total DisbursementSummaryDebit
610Total Funds RequiredSummaryDebit
611Total Wire Transfers Out- CHFSummaryDebit
612Total Wire Transfers Out - FFSummaryDebit
613Total International Debit - CHFSummaryDebit
614Total International Debit - FFSummaryDebit
615Total Federal Reserve Bank - Commercial Bank DebitSummaryDebit
616Federal Reserve Bank - Commercial Bank DebitDetailDebit
617Total Securities Purchased - CHFSummaryDebit
618Total Securities Purchased - FFSummaryDebit
621Total Broker Debits - CHFSummaryDebit
622Broker DebitDetailDebit
623Total Broker Debits - FFSummaryDebit
625Total Broker DebitsSummaryDebit
626Total Fed Funds PurchasedSummaryDebit
627Fed Funds PurchasedDetailDebit
628Total Cash Center DebitsSummaryDebit
629Cash Center DebitDetailDebit
630Total Debit AdjustmentsSummaryDebit
631Debit AdjustmentDetailDebit
632Total Trust DebitsSummaryDebit
633Trust DebitDetailDebit
634YTD Adjustment DebitDetailDebit
640Total Escrow DebitsSummaryDebit
641Individual Escrow DebitDetailDebit
644Individual Back Value DebitDetailDebit
646Transfer Calculation DebitSummaryDebit
650Investments PurchasedSummaryDebit
651Individual Investment PurchasedDetailDebit
654Interest DebitDetailDebit
655Total Investment Interest DebitsSummaryDebit
656Sweep Principal BuyDetailDebit
657Futures DebitDetailDebit
658Principal Payments DebitDetailDebit
659Interest Adjustment DebitDetailDebit
661Account Analysis FeeDetailDebit
662Correspondent Collection DebitDetailDebit
663Correspondent Collection AdjustmentDetailDebit
664Loan ParticipationDetailDebit
665Intercept DebitsSummaryDebit
666Currency and Coin ShippedDetailDebit
667Food Stamp LetterDetailDebit
668Food Stamp AdjustmentDetailDebit
669Clearing Settlement DebitDetailDebit
670Total Back Value DebitsSummaryDebit
672Back Value AdjustmentDetailDebit
673Customer PayrollDetailDebit
674FRB Statement RecapDetailDebit
676Savings Bond Letter or AdjustmentDetailDebit
677Treasury Tax and Loan DebitDetailDebit
678Transfer of Treasury DebitDetailDebit
679FRB Government Checks Cash Letter DebitDetailDebit
681FRB Government Check AdjustmentDetailDebit
682FRB Postal Money Order DebitDetailDebit
683FRB Postal Money Order AdjustmentDetailDebit
684FRB Cash Letter Auto Charge DebitDetailDebit
685Total Universal DebitsSummaryDebit
686FRB Cash Letter Auto Charge AdjustmentDetailDebit
687FRB Fine-Sort Cash Letter DebitDetailDebit
688FRB Fine-Sort AdjustmentDetailDebit
689FRB Freight Payment DebitsSummaryDebit
690Total Miscellaneous DebitsSummaryDebit
691Universal DebitDetailDebit
692Freight Payment DebitDetailDebit
693Itemized Debit Over $10,000DetailDebit
694Deposit ReversalDetailDebit
695Deposit Correction DebitDetailDebit
696Regular Collection DebitDetailDebit
697Cumulative** DebitsDetailDebit
698Miscellaneous FeesDetailDebit
699Miscellaneous DebitDetailDebit
701Principal Loan BalanceStatus-
703Available Commitment AmountStatus-
705Payment Amount DueStatus-
707Principal Amount Past DueStatus-
709Interest Amount Past DueStatus-
720Total Loan PaymentSummaryCredit
721Amount Applied to InterestDetailCredit
722Amount Applied to PrincipalDetailCredit
723Amount Applied to EscrowDetailCredit
724Amount Applied to Late ChargesDetailCredit
725Amount Applied to BuydownDetailCredit
726Amount Applied to Misc. FeesDetailCredit
727Amount Applied to Deferred Interest DetailDetailCredit
728Amount Applied to Service ChargeDetailCredit
760Loan DisbursementSummaryDebit
890Contains Non-monetary InformationDetail-

5. Codes that aren't in the list

  • 158, 159, 458, 459 (real-time / instant payments). These came into use after the original list, for RTP and later FedNow payments: 158 is one instant payment received, 458 one sent, and 159 / 459 are the totals. ASC X9, which has maintained the BAI2 format since 2008, now proposes calling the category "Instant Payment" while keeping the same codes.
  • 900–999. Each bank defines its own. One bank's 901 has nothing to do with another's, so the only reliable source is that bank's BAI2 or information-reporting guide.
  • Banks that reuse a code. A few banks use a summary code as a detail code, or the other way round. KeyBank's published list, for example, uses 690 for a miscellaneous debit transaction and 760 for a commercial loan debit, where the BAI2 list has 690 Total Miscellaneous Debits and 760 Loan Disbursement. The range still tells you the direction: anything from 400 to 699 is money out.
  • A code you can't find anywhere. Ask the bank. Don't guess the sign of a 700, 800 or 900 code from its name.

6. How the codes add up: the balance check

For each account and day, the opening ledger plus the detail credits minus the detail debits should equal the closing ledger, and the detail amounts should add up to the 100 and 400 totals. In the sample's first day:

010 Opening ledger48,215.37
+ detail credits: 165 (3,250.00) + 115 (6,840.25)10,090.25 = code 100, 2 items
− detail debits: 475 (1,200.00) + 455 (2,184.66) + 495 (4,500.00) + 698 (35.00)7,919.66 = code 400, 4 items
= 015 Closing ledger50,385.96

When it doesn't tie, the usual reasons are a detail code outside 100–699 (a loan, 890 or bank-defined code the bank counts in the balance), a file that was cut short (the 49, 98 and 99 trailers carry control totals and record counts for exactly this), or a current-day (intraday) file, which often has no closing ledger yet.

7. Turn a BAI2 file into a spreadsheet

Looking up codes one by one is fine for a single line. For a whole file, BAI2 to CSV reads every 16 record into a row with the as-of date, a description (the bank's text, or the code's name from this list when there is none) and a signed amount: codes 100–399 positive, 400–699 negative. It runs the balance check above for every account and day and checks the trailer totals. Loan (700s), 890 and bank-defined 900s codes are left out and listed rather than guessed, so a day that doesn't tie tells you why. The same preview downloads OFX, QuickBooks .QBO or .IIF and Quicken .QIF. It reads BAI version 2 only and doesn't write BAI2 files.

Other bank file formats: MT940 to CSV (SWIFT statements; fields explained in MT940 format) and CAMT.053 to CSV (ISO 20022 XML).

Sources, checked November 8, 2026: the BAI Cash Management Balance Reporting Specifications Version 2 code list as republished in bank BAI2 guides (HSBC's BAI2 and ISO transaction codes, East West Bank's BAI2 Reporting Reference Guide, KeyBank's BAI2 Transmission Toolkit and parameter codes), and ASC X9's notes on the real-time payment codes 158, 159, 458 and 459. Codes and names are as published; the "What it usually is" notes are ours.

FAQ

What are BAI2 codes?

Three-digit type codes that label every amount in a BAI2 bank file. Status codes 001-099 are balances such as 010 opening ledger and 015 closing ledger. Codes 100-399 are credits and 400-699 are debits, each split into summary totals (100 total credits, 400 total debits) and detail codes for single transactions (475 check paid). 700-799 are loan codes, 890 is text with no amount, and 900-999 are defined by each bank.

Which BAI2 codes are credits and which are debits?

Codes 100 to 399 are credits, money into the account, and codes 400 to 699 are debits, money out. The amounts in a BAI2 file are never signed, so the code is the only thing that tells you the direction. Status codes below 100 are balances and have no direction.

What is BAI2 code 158?

158 is a Real Time Payment Credit: one instant payment received, over RTP or FedNow. 458 is the matching debit, and 159 and 459 are the daily totals. They aren't in the original BAI2 list; banks added them for real-time payments, and ASC X9 now proposes the name Instant Payment for the same codes.

What do BAI codes 165, 169, 455 and 475 mean?

165 is a Preauthorized ACH Credit and 169 a Miscellaneous ACH Credit, both money in. 455 is a Preauthorized ACH Debit, such as payroll funding or a recurring payment, and 475 is Check Paid, one of your checks clearing, usually with the check number in the customer reference field. Both are money out.

What do BAI2 codes 900 to 999 mean?

Whatever your bank says they mean. The range is left for each bank to define, so one bank's 901 is unrelated to another's. Look them up in your bank's BAI2 or information-reporting guide, and don't guess whether they are money in or out.

What is the difference between 010 and 040?

010 is the opening ledger balance, the book balance at the start of the day. 040 is the opening available balance: the ledger balance minus deposits the bank hasn't made available yet. The ledger figures, 010 and 015, are the ones a reconciliation ties to: 010 plus credits minus debits equals 015.

Can I convert a BAI2 file to Excel?

Yes. A BAI2 to CSV converter turns each 16 transaction record into a row with the date, description and a signed amount (credits positive, debits negative) and checks that each day ties from 010 to 015. Utilly's does this in the browser preview, names rows that have no text from this code list, and also downloads OFX, QBO, IIF or QIF.

Related tools

  • Bank reconciliation checker: compare a bank statement to your books and list missing, duplicate and mismatched transactions.
  • Receipt to CSV: turn PDF or photo receipts and invoices into CSV, Excel, or QuickBooks and Xero bill imports.