Statement

The Statement interface represents a bank statement in the CAMT.053 format, containing detailed information about account transactions and balances.

This is the parent interface for all information inside a CAMT.053 file. There usually is only one statement in the file, but the interface allows for multiple statements.

We recommend using transactions and balances to relevant information from a CAMT.053 file.

interface Statement {
  id: string;
  electronicSequenceNumber: number;
  legalSequenceNumber: number;
  creationDate: Date;
  fromDate?: Date;
  toDate?: Date;
  account: Account;
  agent: Agent;
  numOfEntries?: number;
  sumOfEntries?: number;
  netAmountOfEntries?: number;
  numOfCreditEntries?: number;
  sumOfCreditEntries?: number;
  numOfDebitEntries?: number;
  sumOfDebitEntries?: number;
  balances: Balance[];
  entries: Entry[];
}
id
string

Unique identifier for the statement.

electronicSequenceNumber
number

Electronic sequence number of the statement.

legalSequenceNumber
number

Legal sequence number of the statement.

creationDate
Date

Date and time when the statement was created.

fromDate
Date

Start date of the statement period.

toDate
Date

End date of the statement period.

account
Account

Account details for which the statement is generated.

agent
Agent

Financial institution details.

numOfEntries
number

Total number of entries in the statement.

sumOfEntries
number

Sum of all entries in the statement.

netAmountOfEntries
number

Net amount of all entries in the statement.

numOfCreditEntries
number

Number of credit entries in the statement.

sumOfCreditEntries
number

Sum of all credit entries in the statement.

numOfDebitEntries
number

Number of debit entries in the statement.

sumOfDebitEntries
number

Sum of all debit entries in the statement.

balances
Balance[]

Array of balance information.

entries
Entry[]

Array of transaction entries.