Skip to content

Receiving personal accounts under a contract

GET

The method returns information about 25-digit personal accounts by contract id, if these accounts have been filled.

The algorithm for creating 25-digit accounts is as follows:

  1. The system constant "Maintain 25-digit personal accounts" (USE_25_DIGIT_ACCOUNTS) is set to "YES".

  2. The value for the custom constant "The term from which the contract is considered long-term, in days, greater than the number" (SHORT_LONG_TERM_INDICATOR) is set to an integer, for example 365.

  3. The type of client is determined:

  • Individual, resident

  • Individual, non-resident

  • Legal entity, resident

  • Legal entity, non-resident

  1. The duration of the loan is determined:
  • Short term

  • Long term

  1. From the reference book "[Credit product] (/documentation/page/91)" the category of the Central Bank loan is determined. (see also the System Directory "[Loan Category for the Central Bank Report] (/documentation/page/870)")

  2. From the reference book "[NPS Accounts] (/documentation/page/811)" accounts are determined for each type of amount, according to the values ​​specified in clauses 3, 4 and 5.

In the directory "NPS Accounts" all accounts consist of 13 characters:

  • where the first five characters XXXXX are the NPC account,

  • 810 is the ruble currency code

  • and 00000 - this is the relation to pension and insurance funds, but since we are talking about MFOs, it is filled with zeros.

  • X is a subaccount of the NPS account for keeping separate accounting within 1C.

  1. An incremental contract number is added to the 13 digits received for each type of amount from the "NPS Accounts" directory, supplemented to 12 digits with zeros.

Thus, a 25-digit account is obtained.

Added the ContractAccount collection for contracts. If the loan category of the Central Bank is not specified for the credit product, then the list of personal accounts will not be filled in.

** Added in release 2.0.0-16 **

Parameters

Path Parameters

id*

id

Type
integer
Required
Format
"int64"

Responses

OK

*/*
object
object[]
Format"int64"
Format"int64"
Format"int32"
Valid values"error""ok"
Format"int64"