Requirements
Before you begin, take into account the following requirements and preparations.Account statement settings
When you contact Adyen to enable the feature, you can customize the following statement configurations:Download an account statement
Adyen automatically generates account statements. When a statement is ready:-
Adyen sends a balancePlatform.report.created webhook message to your configured endpoint in the Customer Area. In the body of the webhook, note the following fields:
balanceAccount: An object that contains information about the balance account that the account statement is for.fileName: The name of the file that corresponds to this account statement.downloadUrl: The URL from where you must download the account statement.
-
Download the account statement by making a GET request to the URL included in the
downloadUrlfield. In the request, you can use the-oflag to specify a custom name for the downloaded file. Example request to download an account statement
Account statement elements
Adyen provides account statements in ISO 20022 CAMT.053 format. All CAMT.053 statements have the same XML hierarchical structure. The high-level hierarchy structure is the following:-
BankToCustomerStatement (BkToCstmrStmt)
- GroupHeader (GrpHdr)
-
Statement (Stmt)
- Account (Acct)
- Balance (Bal)
- Entry (Ntry)
- Transaction summary (TxsSummry)
- EntryDetails (NtryDtls)
- TransactionDetails (TxDtls)
- EntryDetails (NtryDtls)
Group header block (GrpHdr)
Metadata for the entire statement message. Includes general information about the statement and its intended recipient.
**
Statement block (Stmt)
EachStmt represents one account and one currency. A file can contain multiple statements.
**
Account details (Stmt/Acct)
Identifies the account the statement applies to. The<Acct> element contains details about the business account for which the statement was generated.
**
Balances (Stmt/Bal)
Reports balances at specific points in time. Multiple<Bal> elements can appear within an account statement. Depending on the configuration, either booked balances (OPBD, CLBD) or value balances (OPAV, CLAV) are reported.
The statement reports balances as either booked or available:
- Booked balances show transactions that have been fully processed and recorded on the account.
- Available balances show the funds you can use, after taking into account pending debits or credits.
**
Entries (Stmt/Ntry)
Each<Ntry> represents a booked debit or credit that affects the account balance. Multiple entries can appear in a statement.
**
Transaction summary (Stmt/TxsSummry)
Provides aggregated totals for the reporting period. The<TtlNtries> element summarizes entries by Bank Transaction Code (ISO 20022), showing:
- The number of entries.
- The total amount (
<Sum>) per code.
**
Transaction details (Stmt/Ntry/NtryDtls/TxDtls)
The<TxDtls> element contains information about a transfer associated with the transaction, including:
- Your transfer reference.
- The Adyen-generated transfer ID.
Example account statement
The following example shows a CAMT.053 account statement file. It includes the group header, account details, an opening booked balance (OPBD), and an entry with its corresponding transaction details.
Example account statement
ISO 20022 Bank Transaction Code
In a CAMT.053 account statement, each transaction entry includes a Bank Transaction Code (<BkTxCd>) element. This element classifies the transaction using the ISO 20022 Bank Transaction Code structure. This structure helps you identify the type and direction of the transaction.
ISO 20022 uses a three-tier classification system to define Bank Transaction Codes. This hierarchy moves from broad business areas to granular transaction details:
- Domain: The broad functional area. On Adyen’s balance platform, this is always PMNT (Payments).
- Family: The category of transaction, for example, RCDT for Received Credit/Inbound.
- SubFamily: The specific outcome or method, for example, ACDT for Account Deposit.
The following example shows how an inbound wire transfer is represented in ISO 20022. The
<BkTxCd> element combines the Domain, Family, and SubFamily codes to classify the transaction:
Example of an ISO 20022 Bank Transaction Code
(Optional) Codes from the Bank Administration Institute (BAI)
To enable BAI codes for your account statements, reach out to your Adyen contact. BAI codes are a set of classification codes defined by the Bank Administration Institute. These codes are used in the BAI2 file format and are common across banking systems for categorizing transactions. When enabled, BAI codes are included in the CAMT.053 statement to provide additional transaction classification alongside ISO 20022 codes. This mapping focuses on the series used for active payment and transfer methods:- 100 to 200 series: Successful inbound deposits and credit returns.
- 400 to 500 series: Successful outbound disbursements and debit reversals.
Credits (inbound)
Transactions where funds are deposited into the business account. All returned credit transactions use the same ISO 20022 return code (RRTN) per transfer family.
Debits (outbound)
Transactions where funds are sent or withdrawn from the business account. All returned debit transactions use the same ISO 20022 return code (RRTN) per transfer family.