Request Information

Returns information about a bank statement with the given id.

Example URL:
v2.0/BankStatements/{id}
NameDescriptionTypeAdditional information
id

Bank statement Id

integer

Required

id

Bank statement Id

integer

Required

None.

Response Information

BankStatementGetModel
NameDescriptionTypeAdditional information
BankAccountId

Your bank account id

integer

None.

CurrentBalance

Current account balance

decimal number

None.

DateCreated

Date when the entity was created

date

None.

DateLastChange

Date when the entity was last changed

date

None.

DocumentNumber

DocumentNumber

string

None.

DocumentSerialNumber

Document Serial Number

integer

None.

Id

Entity identifier

integer

None.

Items

Bank statement items

Collection of BankStatementItemGetModel

None.

NumericSequenceId

Numeric sequence id

integer

None.

PeriodDateFrom

Start date of the statement

date

None.

PeriodDateTo

End date of the statement

date

None.

Sample:
{
  "BankAccountId": 1,
  "CurrentBalance": 2.0,
  "DateCreated": "2021-05-08T07:16:59.353275+00:00",
  "DateLastChange": "2021-05-08T07:16:59.353275+00:00",
  "DocumentNumber": "sample string 5",
  "DocumentSerialNumber": 6,
  "Id": 7,
  "Items": [
    {
      "Id": 1,
      "DateOfTransaction": "2021-05-08T07:16:59.353",
      "MovementType": 1,
      "PaidAmount": 3.0,
      "PaidAmountHc": 4.0,
      "CurrencyId": 5,
      "ExchangeRate": 6.0,
      "ExchangeRateAmount": 7.0,
      "VariableSymbol": "sample string 8",
      "PartnerAccountNumber": "sample string 9",
      "PartnerBankCode": "sample string 10",
      "Text": "sample string 11",
      "SpecificSymbol": "sample string 12",
      "IsPaired": true,
      "ConstantSymbolId": true,
      "PriceType": 0,
      "VatRate": 15.0,
      "VatRateType": 0,
      "PriceTotalWithVat": 16.0,
      "PartnerIban": "sample string 17",
      "PartnerSwift": "sample string 18",
      "IsIncomeTax": true,
      "RecountVersion": 0
    }
  ],
  "NumericSequenceId": 8,
  "PeriodDateFrom": "2021-05-08T07:16:59.3688899+00:00",
  "PeriodDateTo": "2021-05-08T07:16:59.3688899+00:00"
}
Sample:
<BankStatementGetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BankStatement">
  <BankAccountId>1</BankAccountId>
  <CurrentBalance>2</CurrentBalance>
  <DateCreated>2021-05-08T07:16:59.353275+00:00</DateCreated>
  <DateLastChange>2021-05-08T07:16:59.353275+00:00</DateLastChange>
  <DocumentNumber>sample string 5</DocumentNumber>
  <DocumentSerialNumber>6</DocumentSerialNumber>
  <Id>7</Id>
  <Items>
    <BankStatementItemGetModel>
      <ConstantSymbolId>true</ConstantSymbolId>
      <CurrencyId>5</CurrencyId>
      <DateOfTransaction>2021-05-08T07:16:59.353275+00:00</DateOfTransaction>
      <ExchangeRate>6</ExchangeRate>
      <ExchangeRateAmount>7</ExchangeRateAmount>
      <Id>1</Id>
      <IsIncomeTax>true</IsIncomeTax>
      <IsPaired>true</IsPaired>
      <MovementType>Entry</MovementType>
      <PaidAmount>3</PaidAmount>
      <PaidAmountHc>4</PaidAmountHc>
      <PartnerAccountNumber>sample string 9</PartnerAccountNumber>
      <PartnerBankCode>sample string 10</PartnerBankCode>
      <PartnerIban>sample string 17</PartnerIban>
      <PartnerSwift>sample string 18</PartnerSwift>
      <PriceTotalWithVat>16</PriceTotalWithVat>
      <PriceType>0</PriceType>
      <RecountVersion>None</RecountVersion>
      <SpecificSymbol>sample string 12</SpecificSymbol>
      <Text>sample string 11</Text>
      <VariableSymbol>sample string 8</VariableSymbol>
      <VatRate>15</VatRate>
      <VatRateType>0</VatRateType>
    </BankStatementItemGetModel>
  </Items>
  <NumericSequenceId>8</NumericSequenceId>
  <PeriodDateFrom>2021-05-08T07:16:59.3688899+00:00</PeriodDateFrom>
  <PeriodDateTo>2021-05-08T07:16:59.3688899+00:00</PeriodDateTo>
</BankStatementGetModel>