ResponseWrapperAccountStatementDto
Wrapper for response containing a single account statement
Status of the response
Possible values: [SUCCESS
, ERROR
]
ERROR/SUCCESS
Message describing the response
Request failed/Request successful
Code message describing the response
ERR-001/SUC-001
data object
Represents a statement with details about financial transactions, balances, and other related information.
Account number
123456789
Total debit amount for the period
1440.595
Total credit amount for the period
2350
Ending balance for the statement period
98884.624
Opening balance for the statement period
97975.219
Start date of the statement period
30-07-2018
End date of the statement period
04-12-2024
Total number of recorded accounting movements
6
accountInstance object
Unique ID of the account
776914
Version of the account
0
Detailed account title
0074618257 test, 98 884,624 TND
Unformatted internal identifier
74618257
RIB (Relevé d'Identité Bancaire)
4012086007461825500
International Bank Account Number (IBAN).
TN59BIAT123456789012345
External account status.
ACTIVE
Pivot currency
TND
Indicate if there is no exchange available between source and target
false
Overdraft flag.
true
Included transaction indicator.
VIREMENT,DEMANDE_SERVICE,REMISES_ORDRE,CONSULTATION
Total account value
Formatted fund reservation.
15 000,00
Value currency balance.
Pivot currency value balance.
55,000.250
Account balance formatted according to currency
98 884,624
Accounting balance in the pivot currency
98884.624
Formatted accounting balance in pivot currency
98 884,624
Balance currency
98884.624
Formatted balance currency
98 884,624
Formatted authorization
-
Real currency balance
2894.706
Pivot currency balance for real-time data
2 894,706
Indicates if LCN is allowed
false
Indicates whether the account was created by EER.
true
Indicates if real-time data is successfully retrieved
true
Account number.
12345678
Account title
test
Account type.
Compte Courant
Internal identifier
74618257
Bank identifier code.
BIATTNTT
Bank code
00004
Associated country code
TN
Control key for account verification.
97
RIB (Relevé d'Identité Bancaire) key.
12345
Account status indicator.
Yes
Account status.
Active
Workflow status of the account.
Approved
Currency label
TND
Currency code Alpha
788
Mobile phone number.
+216 20 123 456
Fixed phone number associated with the account.
+123456789
Professional phone number associated with the account.
+123456789
Contact telephone number associated with the account.
+216 20 123 456
GSM phone number associated with the account.
+123456789
Date when the account was opened.
Date when the account was last updated.
Account closure date.
Overdraft expiration date.
Overdraft authorization amount.
Formatted authorization expiration date.
31/12/2024
Agency label
AGENCE LE PASSAGE
Agency code
86
Bank branch name.
BIAT Tunis Centre
Bank branch code.
001
Trade register agency code.
TUN_RC_001
Product code
2222
Product code associated with the account.
CPTE_COURANT_TUN
Account nature.
Courant
Label for the account nature.
Savings Account
Label for the account type.
Checking Account
User who created the account.
admin_biat
User who sold the product associated with the account.
john.doe
User who initiated the account closure instance.
jane.doe
User who finalized the account closure.
admin.user
Client account title.
Compte M. Ahmed Ben Ali
Commercial relationship title
Commercial relationship title
Commercial relationship identifier.
12345
Client segmentation category.
Premium
Account statement frequency.
Monthly
Label for the account statement frequency.
Monthly
Label for the account statement code.
Monthly Statement
Account statement code.
REL_MENS_2024
Account radical (base identifier).
98765432
Indicates whether the account includes transfers.
true
Indicates whether the account includes service requests.
true
Indicates whether the account includes order deposits.
true
Indicates whether the account includes consultation operations.
true
Account balance (in accounting terms)
Real-time balance
Unavailable balance
Available balance
Balance excluding investments
SICAV balance
Formatted accounting balance
15 000,000
Formatted real-time balance
20 000,000
Formatted unavailable balance
5 000,000
Formatted available balance
10 000,000
Formatted off-SICAV balance
8 000,000
Formatted SICAV balance
12 000,000
Total formatted balance
50 000,000
Account value balance.
55000.25
Reserved funds amount.
15000
Amount of reserved funds associated with the account.
1000.5
Account balance for the associated cash account.
Primary address
Rue de la Liberté 12, Tunis, Tunisia
Secondary line of primary address
Résidence El Manar
Third line of primary address
Floor 5
Postal code for primary address
1002
Main address country
Tunisia
City of main address
Tunis
Label for the main address country
France
Label for the main city
Tunis
Temporary address
Avenue Habib Bourguiba 45, Sousse, Tunisia
Second line of temporary address
Appartement 7
Third line of temporary address
Floor 3
Postal code for temporary address
4000
Temporary address country
Tunisia
Temporary city
Sousse
Label for the temporary address country
Germany
Label for the temporary city
Sousse
Start date for the temporary address
End date for the temporary address
First line of client address
Rue de Palestine
Second line of client address
Immeuble Carthage
Third line of client address
Résidence El Moez
Client's city
Tunis
Client's postal code
1002
Indicates if credit transfer is allowed
false
Indicates if debit transfer is allowed
false
Indicates if demand is allowed
false
Indicates if direct debit is allowed
false
Indicates if beneficiary addition is allowed
false
Indicates if bill payment is allowed
false
Indicates if remittance order is allowed
false
Indicates if international transfer is allowed
false
Convertible label
86
Account direction indicating the nature of operations.
DEBIT
Account chapter, representing the hierarchical grouping of accounts.
CHAP_001
Internal identifier for the associated cash account.
BIAT_0123456789
External account identifier.
TN59BIAT123456789012345
Account closure reason.
Client Request
Accounting category.
Asset
Label for the account active status.
Active
Label for the account opening date.
Opened on 2020-01-01
Indicates whether the account is marked as a favorite.
true
Label for the accounting category.
Asset
Convertibility status.
true
Language associated with the account.
en
accountingMovementsSession object[]
Unique identifier
897654
Operation Code
110869
Accounting Date
2022-02-09T23:00:00Z
Transaction Date
2022-02-09T23:00:00Z
Formatted Operation Date
10-02-2022
Value Date
2022-02-20T23:00:00Z
Formatted Value Date
21-02-2022
Currency Code
788
Movement Unique Identifier
MVT7657784
Transaction Description
VERSEMENT ESPECE DEPLACE
Additional Description
Intermediate Balance
Formatted Intermediate Balance
?
Transaction Amount
300
Transaction Direction
Possible values: [C
, D
]
C
accountingMovementEntries object[]
List of Accounting Movement Entries
Unique identifier for the movement
12345
Nature of the financial movement
CREDIT
Descriptive label for the movement
Salary payment
Opening Balance
Closing Balance
Debit Amount
Formatted Debit Amount
Credit Amount
300
Formatted Credit Amount
300,000
error object
Detailed information about the error response
Error code
ERR-142
Error message
Resource not found / Internal server error
details object[]
List of error details
Error code
ER4001
Detailed error message
Invalid input
Target of the error
username
List of suggestions for resolving the error
["Check the resource ID","Ensure the resource exists"]
metaData object
Additional metadata about the error, that could help in debugging
Additional metadata about the error, that could help in debugging
{"requestId":"3c5e4cebf39cbc5b","operationId":"66fd4d2ae6b6"}
Timestamp of when the response was generated
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"accountNumber": "123456789",
"totalDebit": 1440.595,
"totalCredit": 2350,
"endingBalance": 98884.624,
"openingBalance": 97975.219,
"startDate": "30-07-2018",
"endDate": "04-12-2024",
"totalAccountingMovements": 6,
"accountInstance": {
"id": 776914,
"version": 0,
"detailedAccountTitle": "0074618257 test, 98 884,624 TND",
"unformattedInternalIdentifier": 74618257,
"rib": 4012086007461825500,
"iban": "TN59BIAT123456789012345",
"externalStatus": "ACTIVE",
"pivotCurrency": "TND",
"exchangeSuccess": false,
"overdraftFlag": true,
"includedTransaction": "VIREMENT,DEMANDE_SERVICE,REMISES_ORDRE,CONSULTATION",
"total": 0,
"formattedFundReservation": "15 000,00",
"valueCurrencyBalance": 0,
"pivotCurrencyValueBalance": "55,000.250",
"formattedBalanceValue": "98 884,624",
"accountingBalanceCurrency": 98884.624,
"formattedAccountingBalanceCurrency": "98 884,624",
"balanceCurrency": 98884.624,
"formattedBalanceCurrency": "98 884,624",
"formattedAuthorization": "-",
"realCurrencyBalance": 2894.706,
"pivotCurrencyRealBalance": "2 894,706",
"elligibleLCN": false,
"createdByEer": true,
"realTimeDataSucess": true,
"accountNumber": "12345678",
"title": "test",
"accountType": "Compte Courant",
"internalIdentifier": 74618257,
"swiftCode": "BIATTNTT",
"bankCode": "00004",
"associatedCountryCode": "TN",
"controlKey": "97",
"keyRib": "12345",
"accountActive": "Yes",
"accountStatus": "Active",
"accountWorkflowStatus": "Approved",
"currencyLabel": "TND",
"currency": "788",
"mobilePhoneNumber": "+216 20 123 456",
"fixedPhoneNumber": "+123456789",
"professionalPhoneNumber": "+123456789",
"phoneNumber": "+216 20 123 456",
"gsmPhoneNumber": "+123456789",
"accountOpeningDate": "2024-07-29T15:51:28.071Z",
"lastUpdatedDate": "2024-07-29T15:51:28.071Z",
"accountClosureDate": "2024-07-29T15:51:28.071Z",
"authorizationExpirationDate": "2024-07-29T15:51:28.071Z",
"authorization": 0,
"formattedAuthorizationExpirationDate": "31/12/2024",
"agencyLabel": "AGENCE LE PASSAGE",
"agency": 86,
"agencyName": "BIAT Tunis Centre",
"agencyCode": "001",
"tradeRegisterAgencyCode": "TUN_RC_001",
"productCode": "2222",
"productCodeLabel": "CPTE_COURANT_TUN",
"accountNature": "Courant",
"accountNatureLabel": "Savings Account",
"accountTypeLabel": "Checking Account",
"createdByUser": "admin_biat",
"productSellerUser": "john.doe",
"closureInitiatorUser": "jane.doe",
"closureFinalizerUser": "admin.user",
"clientAccountTitle": "Compte M. Ahmed Ben Ali",
"commercialRelationshipTitle": "Commercial relationship title",
"commercialRelationshipId": 12345,
"clientSegment": "Premium",
"accountStatementFrequency": "Monthly",
"accountStatementFrequencyLabel": "Monthly",
"statementCodeLabel": "Monthly Statement",
"statementCode": "REL_MENS_2024",
"accountRadical": "98765432",
"includesTransfer": "true",
"includesServiceRequest": "true",
"includesBulkTransfers": "true",
"includesConsultation": "true",
"accountingBalance": 0,
"realTimeBalance": 0,
"unavailableBalance": 0,
"availableBalance": 0,
"offSicavBalance": 0,
"SICAVBalance": 0,
"formattedAccountingBalance": "15 000,000",
"formattedRealTimeBalance": "20 000,000",
"formattedUnavailableBalance": "5 000,000",
"formattedAvailableBalance": "10 000,000",
"offSicavBalanceFormatted": "8 000,000",
"sicavBalanceFormatted": "12 000,000",
"totalFormatted": "50 000,000",
"balanceValue": 55000.25,
"reservedFunds": 15000,
"reservedFundsAmount": 1000.5,
"associatedCashAccountBalance": 0,
"primaryAddress": "Rue de la Liberté 12, Tunis, Tunisia",
"secondaryPrimaryAddress": "Résidence El Manar",
"primaryAddressLine3": "Floor 5",
"primaryAddressPostalCode": "1002",
"mainAddressCountry": "Tunisia",
"mainCity": "Tunis",
"mainAddressCountryLabel": "France",
"mainCityLabel": "Tunis",
"temporaryAddress": "Avenue Habib Bourguiba 45, Sousse, Tunisia",
"secondaryTemporaryAddress": "Appartement 7",
"temporaryAddressLine3": "Floor 3",
"temporaryAddressPostalCode": "4000",
"temporaryAddressCountry": "Tunisia",
"temporaryCity": "Sousse",
"temporaryAddressCountryLabel": "Germany",
"temporaryCityLabel": "Sousse",
"temporaryAddressStartDate": "2024-07-29T15:51:28.071Z",
"temporaryAddressEndDate": "2024-07-29T15:51:28.071Z",
"startDateTemporaryAddress": "string",
"endDateTemporaryAddress": "string",
"clientAddressLine1": "Rue de Palestine",
"clientAddressLine2": "Immeuble Carthage",
"clientAddressLine3": "Résidence El Moez",
"clientCity": "Tunis",
"clientPostalCode": "1002",
"eligibleCreditTransfer": false,
"eligibleDebitTransfer": false,
"eligibleDemand": false,
"eligibleDirectDebit": false,
"eligibleBeneficiaryAddition": false,
"eligibleBillPayment": false,
"eligibleBulkTransfers": false,
"eligibleInternationalTransfer": false,
"convertibleLabel": "86",
"accountDirection": "DEBIT",
"accountChapter": "CHAP_001",
"internalCashAccountIdentifier": "BIAT_0123456789",
"externalAccountIdentifier": "TN59BIAT123456789012345",
"accountClosureReason": "Client Request",
"accountingCategory": "Asset",
"accountActiveLabel": "Active",
"accountOpeningLabel": "Opened on 2020-01-01",
"isFavoriteAccount": true,
"accountingCategoryLabel": "Asset",
"convertibilityStatus": "true",
"language": "en"
},
"accountingMovementsSession": [
{
"id": 897654,
"operationCode": "110869",
"accountingDate": "2022-02-09T23:00:00Z",
"operationDate": "2022-02-09T23:00:00Z",
"formattedOperationDate": "10-02-2022",
"valueDate": "2022-02-20T23:00:00Z",
"formattedValueDate": "21-02-2022",
"currency": "788",
"movementIdentifier": "MVT7657784",
"label": "VERSEMENT ESPECE DEPLACE",
"additionalDescription": "string",
"intermediateBalance": 0,
"formattedIntermediateBalance": "?",
"amount": 300,
"transactionDirection": "C",
"accountingMovementEntries": [
{
"movementId": 12345,
"movementNature": "CREDIT",
"movementDescription": "Salary payment"
}
],
"openingBalance": 0,
"closingBalance": 0,
"debitAmount": 0,
"formattedDebitAmount": "string",
"creditAmount": 300,
"formattedCreditAmount": "300,000"
}
]
},
"error": {
"code": "ERR-142",
"message": "Resource not found / Internal server error",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "username"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {
"requestId": "3c5e4cebf39cbc5b",
"operationId": "66fd4d2ae6b6"
}
},
"timestamp": "2024-07-29T15:51:28.071Z"
}