Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

822 Customer Account Analysis

An Account Analysis (822) transaction is a financial document sent by financial institutions to their clients detailing account activity, balances, and service charges. Typically sent by banks or service providers in response to a client’s request or on a periodic basis, it shows what services the accounts used and what they cost. The BGN (Beginning Segment) establishes the document type and purpose, while the DTM (Date/Time Reference) segments mark critical dates such as the analysis period or statement date. The ENT (Entity) segment identifies the bank and the client company, and the accounts being reported sit beneath it.

For example, Lakemont Bank sends an 822 transaction to Orrin Valley Industries analyzing its commercial checking accounts for the past month. The transaction contains multiple ACT (Account Identification) segments representing different accounts held by Orrin Valley, with any adjustments to balances or services in the ADJ segment. Within each account, the RTE (Rate Information) loop gives the rates used in the analysis, while the SER (Service Charges) loop itemizes monthly fees for transactions, account maintenance, and other services. The BLN (Balance Information) segments under the LX loop provide detailed breakdowns of available funds, reserved amounts, and other balance categories relevant to Orrin Valley’s banking relationship.

Structure

Customer Account Analysis (AA822) contains 3 tables (Heading, Detail, Summary), 4 loops, and 27 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
BGN 020
Beginning Segment
R
Max 1
DTM 030
Date/Time Reference
R
Max 3
N1 040
Name
R
Max 1
N2 050
Additional Name Information
O
Max 2
N3 060
Address Information
O
Max 2

Sign up free to see the full AA822 reference

See every segment, loop, and element across all 3 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.