Skip to main content

Statement global and daily balances

This method allows retrieving summary info for certain accounts by an ID returned during generation. The method retrieves summary info in total and by day.

Query params

accountNumberrequiredstring

An account number.

currencyrequiredstring

An account currency.

idrequireddate

A statement unique ID.

GET api/statement/summary/{accountNumber}/{currency}/{id}

Response

GlobalSummaryobject

A statement period summary balance.

AccountNumberstring

An account number.

Currencystring

A currency.

StartDatedate

A date of the first transaction.

EndDatedate

A date of the last transaction.

PeriodStartDatedate

A period start date.

PeriodEndDatedate

A period end date.

InAmountdecimal number

An income amount.

InAmountBasedecimal number

An income amount in the national currency.

InRatedecimal number

An income amount conversion rate.

OutAmountdecimal number

An outcome amount.

OutAmountBasedecimal number

An outcome amount in the national currency.

OutRatedecimal number

An outcome amount conversion rate.

CreditSumdecimal number

An entry summary amount (credit).

DebitSumdecimal number

An entry summary amount (debit).

DailySummariesobject

A statement of daily amounts (one or more).

Balancedecimal number

A balance.

BalanceBasedecimal number

A balance equivalent in the national currency.

CreditSumdecimal number

An entry summary amount (credit).

DebitSumdecimal number

An entry summary amount (debit).

Ratedecimal number

A conversion rate.

EntryCountinteger

An entry count for a given date.

Datedate

An entry date.

{
"GlobalSummary": {
"AccountNumber": "sample string 1",
"Currency": "sample string 2",
"StartDate": "2021-06-21T10:43:17.358503+04:00",
"EndDate": "2021-06-21T10:43:17.358503+04:00",
"PeriodStartDate": "2021-06-21T10:43:17.358503+04:00",
"PeriodEndDate": "2021-06-21T10:43:17.358503+04:00",
"InAmount": 7.0,
"InAmountBase": 8.0,
"InRate": 9.0,
"OutAmount": 10.0,
"OutAmountBase": 11.0,
"OutRate": 12.0,
"CreditSum": 13.0,
"DebitSum": 14.0
},
"DailySummaries": [
{
"Balance": 1.0,
"BalanceBase": 2.0,
"CreditSum": 3.0,
"DebitSum": 4.0,
"Rate": 5.0,
"EntryCount": 6,
"Date": "2021-06-21T10:43:17.358503+04:00"
},
{
"Balance": 1.0,
"BalanceBase": 2.0,
"CreditSum": 3.0,
"DebitSum": 4.0,
"Rate": 5.0,
"EntryCount": 6,
"Date": "2021-06-21T10:43:17.358503+04:00"
}
]
}