1. Introduction
This document describes the rules of electornic document management system for corporations and banks. That is necessary for making payments, currency conversion, currency control functions and providing banks with reports to corporations related to the above services and products based on the international standard ISO 20022.
Rules for signing documents
The documents are divided into several business groups:
-
Statement (Ruble and Currency)
-
Payment orders and Currency transfers
For each group, you can choose one of the signing rules:
-
Single signature
-
Two signatures
-
Three signatures
-
Without signature (only for statement request and online balance)
This affects how many signatures you need to put on a document of this business group before sending it.
There is also a business group Organization of a communication channel. This group only gives access to send http request to the bank.
Data for integration testing
Testing is carried out on a test stand:
For example,
-
Receipt of the statement:
POST https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Statements
GET https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Statements/<GrpHdr.MsgId> -
Receipt online balance:
POST https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Statements/AccountBalance
POST https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Statements/AccountBalanceExtended -
Creating payments:
POST https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Payments
GET https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Payments/<MsgId>
GET https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Payments/Transactions/<InstrId> -
Creating payroll:
POST https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Payroll
GET https://alfa-link-int.alfabank.ru/API/v1/ISO20022/Payroll/<MsgId>
To test integration according to the signing rule "Single signature" it is recommended to use a test organization:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк" |
|
Abbreviated name |
ООО "Тест Альфа-Линк" |
For ruble payments |
Name in Latin |
"Test Alfa-Link" Limited Liability Company |
For currency payments |
Address |
Москва ул. Московская 1 |
For ruble payments |
Address in Latin |
Moscow, Moscovskaya St. 1, RUSSIAN FEDERATION |
For currency payments |
TIN |
7013602245 |
For ruble and currency payments |
OGRN |
1092940217001 |
|
KPP |
215045470 |
|
Account RUB |
40702810200000000083 |
For ruble payments |
Account USD |
40702840200000000529 |
For currency payments |
Account EUR |
40702978200000000064 |
For currency payments |
Name of the bank |
АО "АЛЬФА-БАНК" |
For ruble payments |
Name of the bank in Latin |
AO "ALFA-BANK" |
For currency payments |
Bank address in Latin |
27, KALANCHYOVSKAYA UL. MOSCOW RUSSIAN FEDERATION |
For currency payments |
Bank account |
30101810200000000593 |
For ruble payments |
BIC Bank |
044525593 |
For ruble and foreign currency payments |
SWIFT code of the bank |
ALFARUMM |
For currency payments |
UNC |
20010160/1326/0000/2/1 |
To test integration according to the signing rule "Two signatures" it is recommended to use a test organization:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк 2 подписи" |
|
Abbreviated name |
ООО "Тест Альфа-Линк 2 подписи" |
For ruble payments |
Name in Latin |
"Test Alfa-Link 2 signs" Limited Liability Company |
For currency payments |
Address |
Москва ул. Московская 1 |
For ruble payments |
Address in Latin |
Moscow, Moscovskaya St. 1, RUSSIAN FEDERATION |
For currency payments |
INN |
4739069021 |
|
KPP |
215401682 |
|
Account RUB |
40702810700000000130 |
For ruble payments |
Account USD |
40702840200000000820 |
For currency payments |
Account EUR |
40702978000000000099 |
For currency payments |
Name of the bank |
АО "АЛЬФА-БАНК" |
|
Name of the bank in Latin |
AO "ALFA-BANK" |
For currency payments |
Bank address in Latin |
27, KALANCHYOVSKAYA UL. MOSCOW RUSSIAN FEDERATION |
For currency payments |
Bank account |
30101810200000000593 |
For ruble payments |
BIC Bank |
044525593 |
For ruble and foreign currency payments |
SWIFT code of the bank |
ALFARUMM |
For currency payments |
Unique Contract Number |
20010160/1326/0000/2/1 |
When forming payments, it is recommended to use the organization’s details as a recipient:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк Получатель" |
|
Abbreviated name |
ООО "Тест Альфа-Линк Получатель" |
For ruble payments |
Name in Latin |
"Test Alfa-Link Recipient" Limited Liability Company |
For currency payments |
Address |
Москва ул. Московская 1 |
For ruble payments |
Address in Latin |
Moscow, Moscovskaya St. 1, RUSSIAN FEDERATION |
For currency payments |
INN |
4689269939 |
For ruble payments |
KPP |
355701009 |
|
Account RUB |
40702810300000000132 |
For ruble payments |
Account USD |
40702840600000000734 |
For currency payments |
Name of the bank |
АО "АЛЬФА-БАНК" |
For ruble payments |
Name of the bank in Latin |
AO "ALFA-BANK" |
For currency payments |
Bank address in Latin |
27, KALANCHYOVSKAYA UL. MOSCOW RUSSIAN FEDERATION |
For currency payments |
Bank account |
30101810200000000593 |
For ruble and foreign currency payments |
BIC Bank |
044525593 |
For ruble and foreign currency payments |
SWIFT code of the bank |
ALFARUMM |
For currency payments |
To test integration according to the signing rule "Without signature" it is recommended to use a test organization:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк без подписи" |
|
Abbreviated name |
ООО "Тест Альфа-Линк без подписи" |
|
INN |
6306253384 |
|
KPP |
212444844 |
|
Account RUB |
40702810500000000848 |
|
Account USD |
40702840700000000757 |
|
Name of the bank |
АО "АЛЬФА-БАНК" |
|
Bank account |
30101810200000000593 |
|
BIC Bank |
044525593 |
To test payroll to the signing rule "Single signature" it is recommended to use a test organization:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк ЗУП" |
|
Abbreviated name |
ООО "Тест Альфа-Линк ЗУП" |
|
INN |
0664010623 |
|
KPP |
051121188 |
|
Account RUB |
40702810800000000111 |
|
Name of the bank |
АО "АЛЬФА-БАНК" |
|
Bank account |
30101810200000000593 |
|
BIC Bank |
044525593 |
|
SWIFT code of the bank |
ALFARUMM |
|
Payroll contract number |
008G35 |
|
Employee’s name [1] |
Матросова Алина Николаевна |
|
Employee account [1] |
40817810204040000002 |
|
Employee’s name [2] |
Печкин Евгений Алексеевич |
|
Employee account [2] |
40817810504040000003 |
To test payroll to the signing rule "Two signatures" it is recommended to use a test organization:
Field | Value | Comment |
---|---|---|
Full name |
Общество с ограниченной ответственностью "Тест Альфа-Линк ЗУП (2 подписи)" |
|
Abbreviated name |
ООО "Тест Альфа-Линк ЗУП (2 подписи)" |
|
INN |
0435497780 |
|
KPP |
036287882 |
|
Account RUB |
40702810100000000222 |
|
Name of the bank |
АО "АЛЬФА-БАНК" |
|
Bank account |
30101810200000000593 |
|
BIC Bank |
044525593 |
|
SWIFT code of the bank |
ALFARUMM |
|
Payroll contract number |
UBZVO9 |
|
Employee’s name [1] |
Аликова Евгения Марковна |
|
Employee account [1] |
40817810804980000012 |
|
Employee’s name [2] |
Петров Николай Васильевич |
|
Employee account [2] |
40817810804980000326 |
Test certificate of electronic signature:
To sign requests, you can use test certificates from the guide archive, or send us your own.
Test certificates
Ready test certificates are located in 'certificates' folder of the documentation archive.
For testing according to the "Single Signature" signing rule, one certificate is required (single_sign_h2h_psw_123456.pfx).
For the "Two Signatures" signing rule, there are two certificates (first_sign_h2h_psw_123456.pfx and second_sign_h2h_psw_123456.pfx).
If necessary, you can install certificates of the UC Bank (cacerts.p7b), in which the test certificates were issued, in the trusted root certification authorities.
How to issue certificates yourself
You need to provide the public part of the electronic signature key that will be used to sign requests in the *.cer format in DER encoding.
The electronic signature certificate must be issued at an accredited Certification Center (for a test stand, it is enough to issue a test certificate, for example, at the CryptoPro Control Center)
For more detailed instructions on issuing your test certificate, see Getting test certificates.
2. Request for bank statement
Clients have the opportunity to receive the requested statement in two formats:
-
Final Statement [camt.053.001.05]
-
Interim statement [camt.052.001.05]
To receive a statement in camt.052.001.05 format from the client’s side, when requesting a statement, it will be necessary to send a new optional header: stmt_format = 'camt052', if it is specified, the statement is generated in camt.052.
If the header was not transferred or transferred, but stmt_format is not equal to 'camt052', then the statement will be generated in camt.053. Clients need to control the hit of the current date in the request period by themselves in order to receive a statement in the required format.
URI
POST: /API/v1/ISO20022/Statements
XSD scheme
camt.060.001.03
Scheme description
Description | Link | Comment Example |
---|---|---|
Absolute path Document.AcctRptgReq |
||
Unique message ID |
GrpHdr.MsgId |
Statement request is made by virtue of identifier |
Date and time the message was created |
GrpHdr.CreDtTm |
Date format YYYY-MM-DDTHH:MM:SS 2018-11-27T17:13:45 |
Unique package ID with request |
RptgReq.Id |
Statement request for each account number is required in a separate package |
Get data by type Statement |
RptgReq.ReqdMsgNmId |
|
Account number |
RptgReq.Acct.Id.Othr.Id |
|
Period Start Date |
RptgReq.RptgPrd.FrToDt.FrDt |
|
Period End Date |
RptgReq.RptgPrd.FrToDt.ToDt |
|
Period Start Time |
RptgReq.RptgPrd.FrToTm.FrTm |
00:00:00 |
Period End Time |
RptgReq.RptgPrd.FrToTm.ToTm |
24:00:00 |
"Show all operations" |
RptgReq.RptgPrd.Tp |
Constant 'ALLL' |
Name of the company |
RptgReq.AcctOwnr.Pty.Nm |
ANSWER
HTTP code | Type | Body | Description |
---|---|---|---|
200 |
OK |
- |
Statement request was accepted without errors. |
401 |
Err |
Wrong username or password |
|
401 |
Err |
User was not found |
|
403 |
Err |
User is disabled |
|
500 |
Err |
Warrant service error |
|
403 |
Err |
User does not have permission |
|
406 |
Err |
Signature is missing |
|
403 |
Err |
Certificate is not valid |
|
403 |
Err |
Signer’s warrant is expired |
|
403 |
Err |
Signer’s warrant is disabled |
|
403 |
Err |
Number of signatures is not enough for this operation type |
|
403 |
Err |
Certificate is disabled |
|
403 |
Err |
The signer certificate is not valid (revoked or not active) |
|
406 |
Err |
Signature value is not valid |
|
406 |
Err |
Internal sign check state error |
|
502 |
Err |
Bad Gateway |
|
503 |
Err |
Service Unavailable |
|
504 |
Err |
Gateway Timeout |
|
500 |
Err |
Internal Error |
|
400 |
Err |
FrDt/ToDt is in the future |
|
400 |
Err |
Date period is not specified |
|
400 |
Err |
FrDt is later than ToDt |
|
409 |
Err |
MsgId is not unique |
|
400 |
Err |
XML does not match schema |
Statement request example
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.060.001.03" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<AcctRptgReq>
<GrpHdr>
<MsgId>H2H_TEST_STMT_112368042870658794832</MsgId>
<CreDtTm>2021-03-18T10:00:18+03:00</CreDtTm>
</GrpHdr>
<RptgReq>
<Id>H2H_TEST_STMT_112368042870658794832</Id>
<ReqdMsgNmId>HMQSTASCF</ReqdMsgNmId>
<Acct>
<Id>
<Othr>
<Id>40702810200000000083</Id>
</Othr>
</Id>
</Acct>
<AcctOwnr>
<Pty>
<Nm>Общество с ограниченной ответственностью "Тест Альфа-Линк"</Nm>
</Pty>
</AcctOwnr>
<RptgPrd>
<FrToDt>
<FrDt>2022-01-15</FrDt>
<ToDt>2022-02-01</ToDt>
</FrToDt>
<FrToTm>
<FrTm>00:00:00</FrTm>
<ToTm>24:00:00</ToTm>
</FrToTm>
<Tp>ALLL</Tp>
</RptgPrd>
</RptgReq>
<SplmtryData>
<Envlp>
<SgntrSt>
</SgntrSt>
</Envlp>
</SplmtryData>
</AcctRptgReq>
</Document>
3. Receiving a statement
URI
GET: /API/v1/ISO20022/Statements/<MsgId>
XSD scheme
camt.053.001.05, camt.052.001.05
Scheme description
Description | Link |
---|---|
Common path Document.BkToCstmrStmt.GrpHdr [camt.053] / Document.BkToCstmrAcctRpt.GrpHdr [camt.052] |
|
Unique message ID |
MsgId |
Date and Time the message was created |
MsgIdCreDtTm |
Name of the Recipient |
MsgRcpt.Nm |
TIN of the recipient of the statement |
MsgRcpt.Id.OrgId.Othr.Id |
Description | Link | Comment Example |
---|---|---|
Common path Document.BkToCstmrStmt.Stmt [camt.053] / Document.BkToCstmrAcctRpt.Rpt [camt.052] |
||
Bank statement ID |
Id |
|
Date and time of the statement generation |
CreDtTm |
|
Period Start Date |
FrToDt.FrDtTm |
|
End date |
FrToDt.ToDtTm |
|
Account number |
Acct.Id.Othr.Id |
20 characters |
Name of the account holder |
Acct.Ownr.Nm |
Name of the client (organization) |
TIN of the account holder |
Acct.Ownr.Id.OrgId.Othr.Id |
TIN of the Client |
ISO data type code for TIN |
Acct.Ownr.Id.OrgId.Othr.SchmeNm.Cd |
Constant 'TXID' |
Bank details |
||
BIC of the bank serving the account |
Acct.Svcr.FinInstnId.BICFI |
Set SWIFTs for currency documents. Information on BICs, see "BIC Bank / branch serving the account". |
Designation of the Russian settlement system |
Acct.Svcr.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
Constant 'RUCBC' |
BIC of the bank / branch serving the account |
Acct.Svcr.FinInstnId.ClrSysMmbId.MmbId |
|
Name of the bank / branch serving the account |
Acct.Svcr.FinInstnId.Nm |
|
Address of the bank / branch serving the account |
Acct.Svcr.FinInstnId.PstlAdr.AdrLine |
|
TIN of the bank / branch serving the account |
Acct.Svcr.FinInstnId.Othr.Id |
|
Balance Information |
||
Balance Type (Incoming) (1 block) |
Bal.Tp.CdOrPrtry.Cd |
Constant "OPBD" |
Incoming balance (account currency) |
Bal.Amt@Ccy |
|
Credit indicator ('CRDT') |
Bal.CdtDbtInd |
Constant "CRDT" |
Balance date |
Bal.Dt.Dt |
|
Balance Type (Outgoing) (2 block) |
Bal.Tp.CdOrPrtry.Cd |
Constant "CLBD" |
Outgoing balance (account currency) |
Bal.Amt@Ccy |
|
Debit Indicator ('DBIT') |
Bal.CdtDbtInd |
Constant DBIT |
Balance date |
Bal.Dt.Dt |
|
Credit Turnovers |
TxsSummry.TtlCdtNtries.Sum |
|
Debit Turnovers |
TxsSummry.TtlDbtNtries.Sum |
Currency transfer / payment order
Description | Path | Comment/Example | ||
---|---|---|---|---|
Generic Path Document.BkToCstmrStmt.Stmt.Ntry [camt.053] / Document.BkToCstmrAcctRpt.Rpt.Ntry [camt.052] |
||||
1 |
R |
Transaction amount |
Amt@Ccy |
<AmtCcy = "USD">1500.00<.Amt> |
2 |
R |
Transaction currency |
Amt @Ccy |
<AmtCcy= "USD">1500.00<.Amt> |
3 |
R |
Indicator: |
CdtDbtInd |
|
4 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
5 |
R |
Date of operation |
BookgDt.Dt |
|
6 |
O |
Value date |
ValDt.Dt |
|
7 |
R |
Transaction code |
BkTxCd.Domn.Cd |
See table of correspondence of the type of operation |
8 |
R |
Transaction typen |
BkTxCd.Domn.Fmly.Cd |
See table of correspondence of the type of operation |
9 |
O |
Transaction subtype |
BkTxCd.Domn.Fmly.SubFmlyCd |
See table of correspondence of the type of operation |
10 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see operation type correspondence table |
11 |
R |
Ruble equivalent of the amount to be paid |
AmtDtls.PrtryAmt.Amt@Ccy |
Ccy in this case is equal to RUR |
12 |
O |
Type description |
AmtDtls.PrtryAmt.Tp |
"Operation Amount in Rubles" |
13 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
14 |
O |
Debtor code (extended) |
AddtlNtryInf |
8 characters |
Description | Path | Comment/Example | ||
---|---|---|---|---|
Public Path Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls [camt.053] / Document.BkToCstmrAcctRpt.Rpt.Ntry.NtryDtls.TxDtls [camt.052] |
||||
1 |
R |
Document number |
Refs. EndToEndId |
|
2 |
R |
Payer’s name |
RltdPties.Dbtr. Nm |
|
3 |
O |
Payer’s name * |
RltdPties.Dbtr.PstlAdr. AdrLine |
Filled in if the payer’s name is more than 140 characters |
4 |
O |
INN / KIO of the payer |
RltdPties.Dbtr.Id.OrgId.Othr. Id |
|
5 |
O |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm. * Cd * |
Mandatory when specifying TIN |
6 |
O |
Payer’s account number |
RltdPties.DbtrAcct.Id.Othr. Id |
|
7 |
R |
Beneficiary name |
RltdPties.Cdtr. Nm |
|
8 |
O |
Beneficiary name * |
RltdPties.Cdtr.PstlAdr. AdrLine |
Characters 141 to 160 of the beneficiary name. To be filled in if the recipient’s name is more than 140 characters |
9 |
O |
Recipient name * |
RltdPties.Cdtr.CtctDtls. Nm |
Characters from 141 to 160 of recipient name (duplicates RltdPties.Cdtr.PstlAdr. AdrLine ). |
10 |
O |
TIN / KIO of the recipient |
RltdPties.Cdtr.Id.OrgId.Othr. Id |
|
11 |
O |
ISO data type code for the recipient’s TIN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm. Cd |
Mandatory when specifying TIN |
12 |
R |
Beneficiary account number |
RltdPties.CdtrAcct.Id.Othr. Id |
|
13 |
O |
SWIFT of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId. BICFI |
|
14 |
O |
ISO code of data type for bank BIC |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId.ClrSysId. * Cd * |
|
15 |
O |
BIC of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId. * MmbId * |
|
16 |
O |
Corresponding account of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Othr. * Id * |
|
17 |
O |
Payer’s bank clearing code |
RltdAgts.DbtrAgt.FinInstnId.Othr. * Issr * |
|
18 |
O |
Name of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId. Nm |
|
19 |
O |
Name of the payer’s bank * |
RltdAgts.DbtrAgt.FinInstnId.PstlAdr. AdrLine |
Filled in if the name of the payer’s bank is more than 140 characters |
20 |
O |
Beneficiary’s bank SWIFT |
RltdAgts.CdtrAgt.FinInstnId. BICFI |
|
21 |
О |
ISO code of data type for bank BIC |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.ClrSysId. Cd |
|
22 |
О |
BIC of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId. * MmbId * |
|
23 |
О |
Beneficiary bank clearing code |
RltdAgts.CdtrAgt.FinInstnId.Othr. * Issr * |
|
24 |
О |
Beneficiary bank name |
RltdAgts.CdtrAgt.FinInstnId. Nm |
|
25 |
O |
Beneficiary bank name * |
RltdAgts.CdtrAgt.FinInstnId.PstlAdr. AdrLine |
|
26 |
О |
Corresponding account of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.Othr. * Id * |
|
27 |
O |
Correspondent Bank SWIFT |
RltdAgts.IntrmyAgt1.FinInstnId. BICFI |
|
28 |
О |
Clearing code of the correspondent bank |
RltdAgts.IntrmyAgt1.FinInstnId.ClrSysMmbId.ClrSysId. Cd |
|
29 |
О |
Name of the correspondent bank |
RltdAgts.IntrmyAgt1.FinInstnId. Nm |
|
30 |
О |
Beneficiary’s bank account in correspondent bank |
RltdAgts.IntrmyAgt1.FinInstnId.Othr. Id |
|
31 |
R |
Purpose of payment, there can be more than one field |
RmtInf. Ustrd |
|
32 |
O |
Code |
RmtInf.Strd [1] .CdtrRefInf. * Ref * |
|
33 |
R |
Order of payment |
Purp. * Prtry * |
|
34 |
R |
Type of commission write-off |
Chrgs.Rcrd. Br |
|
35 |
O |
Commission write-off account |
Chrgs.Rcrd.Agt.FinInstnId.Othr. Id |
|
36 |
O |
Sender to recipient information |
RmtInf.Strd. AddtlRmtInf |
|
37 |
R |
Transaction amount |
Amt @ Ccy = "AAA" |
|
38 |
O |
Transit account enrollment notification number |
SplmtryData.Envlp.Notif. * Nuved * |
|
39 |
O |
Date of notification NUVED |
SplmtryData.Envlp.Notif. * Dtuv * |
Date in ISO format: YYYY-MM-DD. |
40 |
O |
End date of submission of documents |
SplmtryData.Envlp.Notif. * Dtcpd * |
Date in ISO format: YYYY-MM-DD. |
41 |
O |
Violation start date |
SplmtryData.Envlp.Notif. * Bviol * |
Date in ISO format: YYYY-MM-DD. |
42 |
O |
CP Document ID |
SplmtryData.Envlp. * NumSB * |
|
To be filled in only for ruble payment orders |
||||
43 |
O |
Payment code (110) |
Tax.Rcrd. * Tp * |
|
44 |
O |
Income type code (20) |
AmtDtls.PrtryAmt. * Tp * |
|
45 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0, if the Income type code (20) |
46 |
O |
Taxpayer status (101) |
Tax.Rcrd.DbtrSts |
|
47 |
O |
Payer’s checkpoint (102) |
Tax.Dbtr.TaxTp |
|
48 |
O |
Beneficiary’s checkpoint (103) |
Tax.Cdtr.TaxTp |
|
49 |
O |
KBK (104) |
Tax.Rcrd.CtgyDtls |
|
50 |
O |
OKTMO (105) |
Tax.AdmstnZn |
|
51 |
O |
Basis of tax payment (106) |
Tax.Rcrd.Ctgy |
|
52 |
O |
Year of tax period (107) |
Tax.Rcrd.Prd.Yr |
|
53 |
O |
Tax period type (107) |
Tax.Rcrd.Prd.Tp |
Can be one of the following values: |
54 |
O |
Date of tax period (107) |
Tax.Rcrd.Prd.FrToDt.FrDt |
|
55 |
O |
Date of tax period (107) |
Tax.Rcrd.Prd.FrToDt.ToDt |
Indicated to comply with the format. |
56 |
O |
Customs authority code (107) |
Tax.Cdtr.RegnId |
|
57 |
O |
Tax payment number (108) |
Tax.RefNb |
|
58 |
O |
Date of tax document (109) |
Tax.Dt, values "0" or "00" are specified in Tax.Mtd |
Payment request
Description | Path | Comment/ Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry |
||||
1 |
R |
Transaction amount |
Amt@ Ccy |
|
2 |
R |
Currency code |
Amt @Ccy |
|
3 |
R |
Debit / Credit |
CdtDbtInd |
"DBIT" / "CRDT" |
4 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
5 |
R |
Date of operation |
BookgDt.Dt |
|
6 |
O |
Decommissioned from the account. boards. |
ValDt.Dt |
|
7 |
R |
Transaction code |
BkTxCd.Domn.Cd |
see table of correspondence of the type of operation |
8 |
R |
Transaction type |
BkTxCd.Domn.Fmly.Cd |
see table of correspondence of the type of operation |
9 |
O |
Transaction subtype |
BkTxCd.Domn.Fmly.SubFmlyCd |
see operation type correspondence table |
10 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see operation type correspondence table |
11 |
O |
Ruble equivalent of the amount to be paid |
AmtDtls.PrtryAmt.Amt@Ccy |
Amt - sum |
12 |
O |
Type description |
AmtDtls.PrtryAmt.Tp |
"Operation Amount in Rubles" |
13 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls |
||||
1 |
R |
PAYMENT CLAIM N (3) |
Refs.EndToEndId |
|
2 |
R |
Payer’s name |
RltdPties.Dbtr.Nm |
|
3 |
O |
Payer’s name* |
RltdPties.Dbtr.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
4 |
O |
INN / KIO of the payer |
RltdPties.Dbtr.Id.OrgId.Othr.Id |
|
5 |
O |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN. |
6 |
O |
Payer’s account number |
RltdPties.DbtrAcct.Id.Othr.Id |
|
7 |
O |
BIC of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
8 |
O |
Payer’s bank account |
RltdAgts.DbtrAgt.FinInstnId.Othr.Id |
|
9 |
O |
Payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Nm |
|
10 |
O |
Payer’s bank* |
RltdAgts.DbtrAgt.FinInstnId.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
11 |
R |
Beneficiary name |
RltdPties.Cdtr.Nm |
|
12 |
O |
Name of the recipient* |
RltdPties.Cdtr.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
13 |
O |
TIN / KIO of the recipient |
RltdPties.Cdtr.Id.OrgId.Othr.Id |
|
14 |
O |
ISO data type code for the recipient’s INN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying the INN. |
15 |
R |
Beneficiary account number |
RltdPties.CdtrAcct.Id.Othr.Id |
|
16 |
O |
SWIFT of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.BICFI |
|
17 |
O |
BIC of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
18 |
O |
Beneficiary bank clearing code |
RltdAgts.CdtrAgt.FinInstnId.Othr.Issr |
|
19 |
O |
Beneficiary bank SWIFT |
RltdAgts.CdtrAgt.FinInstnId.BICFI |
|
20 |
O |
Beneficiary’s bank account |
RltdAgts.CdtrAgt.FinInstnId.Othr.Id |
|
21 |
О |
Beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.Nm |
|
22 |
O |
Beneficiary’s bank* |
RltdAgts.CdtrAgt.FinInstnId.PstlAdr.AdrLine |
|
23 |
R |
Purpose of payment |
RmtInf.Ustrd[1] |
|
24 |
O |
Purpose of payment* |
RmtInf.Ustrd[2] |
|
25 |
O |
Code (22) |
RmtInf.Strd [1] .CdtrRefInf.Ref |
|
26 |
R |
Payment order (21) |
Purp.Prtry |
|
27 |
O |
Terms of payment (35) |
RmtInf.Strd [1].AddtlRmtInf[1] |
|
28 |
O |
Terms of payment (35)* |
RmtInf.Strd [1].AddtlRmtInf[2] |
To be filled in if the value is more than 140 characters. |
29 |
O |
Access. to card bank (62) |
RmtInf.Strd [1] .TaxRmt.Dt |
Added field. |
30 |
O |
Term for acceptance |
RmtInf.Strd [2] .TaxRmt.AdmstnZone |
Added field. |
31 |
O |
End time of acceptance |
RmtInf.Strd [3] .TaxRmt.Dt |
Added field. |
32 |
R |
Commission amount |
Chrgs.Rcrd.Amt@Ccy |
|
33 |
R |
Transaction amount |
Amt @ Ccy |
|
34 |
O |
Transit account enrollment notification number |
SplmtryData.Envlp.Notif.Nuved |
|
35 |
O |
Date of notification NUVED |
SplmtryData.Envlp.Notif.Dtuv |
Date in ISO format: YYYY-MM-DD. |
36 |
O |
End date of submission of documents |
SplmtryData.Envlp.Notif.Dtcpd |
Date in ISO format: YYYY-MM-DD. |
37 |
O |
Start date of violation |
SplmtryData.Envlp.Notif.Bviol |
Date in ISO format: YYYY-MM-DD. |
38 |
O |
CP Document ID |
SplmtryData.Envlp.NumSB |
|
39 |
O |
Payment code (110) |
Tax.Rcrd.Tp |
|
40 |
O |
Income type code (20) |
AmtDtls.PrtryAmt.Tp |
|
41 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0, if the Income type code (20) |
Collection order
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry |
||||
1 |
R |
Transaction amount |
Amt@ Ccy |
< AmtCcy = "USD">1500.00<. Amt> |
2 |
R |
Transaction currency |
Amt @Ccy |
<AmtCcy= " USD"> 1500.00 <.Amt> |
3 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
4 |
R |
Date of operation |
BookgDt.Dt |
- |
5 |
R |
Domain ISO Transaction Codification |
BkTxCd.Domn.Cd |
see operation type correspondence table |
6 |
R |
Transaction typen (Family ISO Transaction Codification) |
BkTxCd.Domn.Fmly.Cd |
see operation type correspondence table |
7 |
O |
Subfamily ISO Transaction Codification |
BkTxCd.Domn.Fmly.SubFmlyCd |
see operation type correspondence table |
8 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see operation type correspondence table |
9 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls |
||||
1 |
R |
Document number |
Refs.EndToEndId |
|
2 |
R |
Sum (7) |
Amt@ Ccy |
- |
3 |
R |
Payer’s name |
RltdPties.Dbtr.Nm |
- |
4 |
O |
Tax ID of the payer |
RltdPties.Dbtr.Id.OrgId.Othr.Id |
- |
5 |
O |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN. |
6 |
O |
Payer’s account number |
RltdPties.DbtrAcct.Id.Othr.Id |
- |
7 |
R |
Name of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Nm |
- |
8 |
O |
SWIFT code of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.BICFI |
- |
9 |
O |
BIK of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId.MmbId |
- |
10 |
O |
Correspondent account of the bank sending the payment to the Central Bank |
RltdAgts.DbtrAgt.FinInstnId.Othr.Id |
- |
11 |
O |
Clearing code of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Othr.Issr |
- |
12 |
R |
Recipient’s name |
RltdPties.Cdtr.Nm |
- |
13 |
O |
Recipient’s name* |
RltdPties.Cdtr.PstlAdr.AdrLine |
To be filled in if the recipient’s name is more than 140 characters |
14 |
O |
TIN of the recipient |
RltdPties.Cdtr.Id.OrgId.Othr.Id |
- |
15 |
O |
ISO data type code for the recipient’s TIN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN |
16 |
R |
Beneficiary account number |
RltdPties.CdtrAcct.Id.Othr.Id |
- |
17 |
O |
SWIFT of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.BICFI |
- |
18 |
O |
ISO code of data type for BIK bank |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
- |
19 |
R |
Beneficiary bank name |
RltdAgts.CdtrAgt.FinInstnId.Nm |
- |
20 |
R |
BIK of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.MmbId |
- |
21 |
O |
Beneficiary Bank Clearing Code |
RltdAgts.CdtrAgt.FinInstnId.Othr.Issr |
- |
22 |
R |
Correspondent account of the bank executing the payment in the Central Bank |
RltdAgts.CdtrAgt.FinInstnId.Othr.Id |
- |
23 |
R |
Order of payment |
Purp.Prtry |
- |
24 |
O |
Code (22) |
RmtInf.Strd.CdtrRefInf.Ref |
- |
25 |
R |
Purpose of payment |
RmtInf.Ustrd [1] |
- |
26 |
O |
Purpose of payment* |
RmtInf.Ustrd [2] |
To be filled in if the purpose of the payment is more than 140 characters |
27 |
R |
Date of receipt of the document in the bank |
SplmtryData.Envlp.DocRcvDt |
- |
28 |
R |
Date of debiting from the payer’s account |
SplmtryData.Envlp.DocWrOffDt |
- |
29 |
R |
Type of payment |
SplmtryData.Envlp.PmtType |
- |
30 |
O |
Notification number of crediting to transit account (added field) |
SplmtryData.Envlp.Notif.Nuved |
|
31 |
O |
NUVED Notice Date (added field) |
SplmtryData.Envlp.Notif.Dtuv |
Date in ISO format: YYYY-MM-DD |
32 |
O |
End date of submission of documents (added field) |
SplmtryData.Envlp.Notif.Dtcpd |
Date in ISO format: YYYY-MM-DD |
33 |
O |
Start date of violation (added field) |
SplmtryData.Envlp.Notif.Bviol |
Date in ISO format: YYYY-MM-DD |
34 |
O |
CP document ID (added field) |
SplmtryData.Envlp.NumSB |
|
35 |
O |
Payment code (110) |
Tax.Rcrd.Tp |
|
36 |
O |
Income type code (20) |
AmtDtls.PrtryAmt.Tp |
|
37 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0, if the Income type code (20) |
38 |
O |
Taxpayer status (101) |
Tax.Rcrd.DbtrSts |
- |
39 |
O |
Payer’s checkpoint (102) |
Tax.Dbtr.TaxTp |
- |
40 |
O |
Recipient’s checkpoint (103) |
Tax.Cdtr.TaxTp |
|
41 |
O |
KBK (104) |
Tax.Rcrd.CtgyDtls |
- |
42 |
O |
OKTMO (105) |
Tax.AdmstnZn |
- |
43 |
O |
Basis of tax payment (106) |
Tax.Rcrd.Ctgy |
- |
44 |
O |
Year of tax period (107) |
Tax.Rcrd.Prd.Yr |
- |
45 |
O |
Type of tax period (107) |
Tax.Rcrd.Prd.Tp |
Can be one of the following values: |
46 |
O |
Date of tax period (107) |
Tax.Rcrd.Prd.FrToDt.FrDt |
- |
47 |
O |
Date of tax period (107) |
Tax.Rcrd.Prd.FrToDt.ToDt |
Indicated to comply with the format. |
48 |
O |
Customs Code (107) |
Tax.Cdtr.RegnId |
- |
49 |
O |
Tax payment number (108) |
Tax.RefNb |
- |
50 |
O |
Date of tax document (109) |
Tax.Dt, values "0" or "00" are specified in Tax.Mtd |
- |
Memorial warrant
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry |
||||
1 |
R |
Transaction amount |
Amt@ Ccy |
< AmtCcy = "USD">1500.00</Amt> |
2 |
R |
Transaction currency |
Amt @Ccy |
<AmtCcy= " USD"> 1500.00 </Amt> |
3 |
R |
Debit / Credit |
CdtDbtInd |
Constant "DBIT" or "CRDT" |
4 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
5 |
R |
Date of operation |
BookgDt.Dt |
|
6 |
R |
Domain ISO Transaction Codification |
BkTxCd.Domn.Cd |
see table of correspondence of the type of operation |
7 |
R |
Transaction typen (Family ISO Transaction Codification) |
BkTxCd.Domn.Fmly.Cd |
see table of correspondence of the type of operation |
8 |
O |
Subfamily ISO Transaction Codification |
BkTxCd.Domn.Fmly.SubFmlyCd |
see table of correspondence of the type of operation |
9 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see operation type correspondence table |
10 |
O |
Ruble equivalent of the amount to be paid |
AmtDtls.PrtryAmt.Amt@Ccy |
In this case, Ccy = RUR |
11 |
O |
Type description |
AmtDtls.PrtryAmt.Tp |
"Operation Amount in Rubles" |
12 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls |
||||
1 |
R |
Document number |
Refs.EndToEndId |
|
2 |
R |
Amount |
Amt @ Ccy |
- |
3 |
R |
Payer’s name |
RltdPties.Dbtr.Nm |
|
4 |
O |
Payer’s name* |
RltdPties.Dbtr.PstlAdr.AdrLine |
To be filled in if the name of the payer is more than 140 characters. |
5 |
O |
TIN / KIO of the payer |
RltdPties.Dbtr.Id.OrgId.Othr.Id |
|
6 |
O |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN. |
7 |
O |
Payer’s account number |
RltdPties.DbtrAcct.Id.Othr.Id |
|
8 |
R |
Recipient’s name |
RltdPties.Cdtr.Nm |
|
9 |
O |
Recipient’s name* |
RltdPties.Cdtr.PstlAdr.AdrLine |
To be filled in if the name of the recipient is more than 140 characters. |
10 |
O |
TIN / KIO of the recipient |
RltdPties.Cdtr.Id.OrgId.Othr.Id |
|
11 |
O |
SWIFT of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.BICFI |
|
12 |
O |
BIK of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
13 |
O |
Beneficiary Bank Clearing Code |
RltdAgts.CdtrAgt.FinInstnId.Othr.Issr |
|
14 |
O |
Correspondent account of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.Othr.Id |
|
15 |
O |
ISO data type code for the recipient’s TIN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN. |
16 |
R |
Beneficiary account number |
RltdPties.CdtrAcct.Id.Othr.Id |
|
17 |
O |
SWIFT of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.BICFI |
|
18 |
O |
BIK of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
19 |
O |
Correspondent account of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Othr.Id |
|
20 |
O |
Clearing code of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Othr.Issr |
|
21 |
O |
SWIFT of the beneficiary’s bank |
RltdAgts.CdtrAgt.FinInstnId.BICFI |
|
22 |
O |
Beneficiary Bank Clearing Code |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
|
23 |
O |
Beneficiary bank name |
RltdAgts.CdtrAgt.FinInstnId.Nm |
|
24 |
O |
Beneficiary bank name* |
RltdAgts.CdtrAgt.FinInstnId.PstlAdr.AdrLine |
|
25 |
R |
Purpose of payment |
RmtInf.Ustrd [1] |
|
26 |
R |
Purpose of payment* |
RmtInf.Ustrd [2] |
To be filled in if the purpose of the payment is more than 140 characters. |
27 |
O |
Order of payment |
Purp.Prtry |
|
28 |
O |
Compiled by |
RltdAgts.DbtrAgt.FinInstnId.Nm |
- |
29 |
O |
Name of the payer’s bank* |
RltdAgts.DbtrAgt.FinInstnId.PstlAdr.AdrLine |
|
30 |
O |
Loan amount |
SplmtryData.Envlp.CrdtSum |
- |
31 |
O |
Notification number of crediting to transit account |
SplmtryData.Envlp.Notif.Nuved |
|
32 |
O |
NUVED Notice Date |
SplmtryData.Envlp.Notif.Dtuv |
Date in ISO format: YYYY-MM-DD. |
33 |
O |
End date of submission of documents |
SplmtryData.Envlp.Notif.Dtcpd |
Date in ISO format: YYYY-MM-DD. |
34 |
O |
Start date of violation |
SplmtryData.Envlp.Notif.Bviol |
Date in ISO format: YYYY-MM-DD. |
35 |
O |
CP document ID |
SplmtryData.Envlp.NumSB |
|
36 |
O |
Payment code (110) |
Tax.Rcrd.Tp |
|
37 |
O |
Income type code (20) |
AmtDtls.PrtryAmt.Tp |
|
38 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0 if the Income type code (20) |
Payment order
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry |
||||
1 |
R |
Transaction amount |
Amt@ Ccy |
- |
2 |
R |
Operation type |
Amt @Ccy |
- |
3 |
R |
Debit / Credit |
CdtDbtInd |
"DBIT" / "CRDT" |
4 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
5 |
R |
Date of operation |
BookgDt.Dt |
- |
6 |
O |
Decommissioned from the account. boards. |
ValDt.Dt |
- |
7 |
R |
Transaction code |
BkTxCd.Domn.Cd |
see table of correspondence of the type of operation |
8 |
R |
Transaction type |
BkTxCd.Domn.Fmly.Cd |
see table of correspondence of the type of operation |
9 |
O |
Transaction subtype |
BkTxCd.Domn.Fmly.SubFmlyCd |
see table of correspondence of the type of operation |
10 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see table of correspondence of the type of operation |
11 |
О |
Ruble equivalent of the amount to be paid |
AmtDtls.PrtryAmt.Amt@Ccy |
Amt - amount |
12 |
O |
Type description |
AmtDtls.PrtryAmt.Tp |
"Operation Amount in Rubles" |
13 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls |
||||
1 |
R |
PAYMENT ORDER N (3) |
Refs.EndToEndId |
|
2 |
R |
Sum (7) |
Amt @ Ccy |
- |
3 |
R |
Payer (8) |
RltdPties.Dbtr.Nm |
|
4 |
O |
Payer (8)* |
RltdPties.Dbtr.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
5 |
O |
Payer’s INN (60) |
RltdPties.Dbtr.Id.OrgId.Othr.Id |
|
6 |
O |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying TIN. |
7 |
O |
Payer’s account number (9) |
RltdPties.DbtrAcct.Id.Othr.Id |
|
8 |
O |
SWIFT of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.BICFI |
|
9 |
O |
Payer’s bank clearing code |
RltdAgts.DbtrAgt.FinInstnId.Othr.Issr |
|
10 |
O |
BIC of the payer’s bank (11) |
RltdAgts.DbtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
11 |
O |
Payer’s bank account (12) |
RltdAgts.DbtrAgt.FinInstnId.Othr.Id |
|
12 |
O |
Payer’s bank (10) |
RltdAgts.DbtrAgt.FinInstnId.Nm |
|
13 |
O |
Payer’s bank (10)* |
RltdAgts.DbtrAgt.FinInstnId.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
14 |
R |
Recipient (16) |
RltdPties.Cdtr.Nm |
|
15 |
O |
Recipient (16)* |
RltdPties.Cdtr.PstlAdr.AdrLine |
Filled in if the name is more than 140 characters |
16 |
O |
Beneficiary’s INN (61) |
RltdPties.Cdtr.Id.OrgId.Othr.Id |
|
17 |
O |
ISO data type code for the recipient’s TIN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Mandatory when specifying the TIN. |
18 |
R |
Beneficiary account number (17) |
RltdPties.CdtrAcct.Id.Othr.Id |
|
19 |
O |
BIC of the beneficiary’s bank (14) |
RltdAgts.CdtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
20 |
O |
Beneficiary’s bank SWIFT |
RltdAgts.CdtrAgt.FinInstnId.BICFI |
|
21 |
O |
Beneficiary bank clearing code |
RltdAgts.CdtrAgt.FinInstnId.Othr.Issr |
|
22 |
O |
Beneficiary’s bank account (15) |
RltdAgts.CdtrAgt.FinInstnId.Othr.Id |
|
23 |
О |
Beneficiary’s bank (13) |
RltdAgts.CdtrAgt.FinInstnId.Nm |
|
24 |
O |
Beneficiary’s bank (13)* |
RltdAgts.CdtrAgt.FinInstnId.PstlAdr.AdrLine |
|
25 |
O |
KPP of the recipient (103) |
Tax.Cdtr.TaxTp |
|
26 |
O |
Payer’s checkpoint (102) |
Tax.Dbtr.TaxTp |
|
27 |
R |
Purpose of payment |
RmtInf.Ustrd[1] |
|
28 |
O |
Purpose of payment* |
RmtInf.Ustrd[2] |
|
29 |
O |
Code (22) |
RmtInf.Strd [1] .CdtrRefInf.Ref |
|
30 |
R |
Order of payment (21) |
Purp.Prtry |
|
31 |
R |
Commission Amount |
Chrgs.Rcrd.Amt@Ccy |
|
32 |
R |
Transaction amount |
Amt @ Ccy |
|
33 |
O |
Transit account enrollment notification number |
SplmtryData.Envlp.Notif.Nuved |
|
34 |
O |
Date of notification NUVED |
SplmtryData.Envlp.Notif.Dtuv |
Date in ISO format: YYYY-MM-DD. |
35 |
O |
End date of submission of documents |
SplmtryData.Envlp.Notif.Dtcpd |
Date in ISO format: YYYY-MM-DD. |
36 |
O |
Start date of violation |
SplmtryData.Envlp.Notif.Bviol |
Date in ISO format: YYYY-MM-DD. |
37 |
O |
CP Document ID |
SplmtryData.Envlp.NumSB |
|
38 |
O |
Payment code (110) |
Tax.Rcrd.Tp |
|
39 |
O |
Income type code (20) |
AmtDtls.PrtryAmt.Tp |
|
40 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0 if the Income type code (20) |
41 |
O |
Taxpayer status (101) |
Tax.Rcrd.DbtrSts |
|
42 |
O |
KBK (104) |
Tax.Rcrd.CtgyDtls |
|
43 |
O |
OKTMO (105) |
Tax.AdmstnZn |
|
44 |
O |
Basis of tax payment (106) |
Tax.Rcrd.Ctgy |
|
45 |
O |
Year of tax period (107) |
Tax.Rcrd.Prd.Yr |
|
46 |
O |
Tax period type (107) |
Tax.Rcrd.Prd.Tp |
Can be one of the following values: |
47 |
O |
Date of the tax period (107) |
Tax.Rcrd.Prd.FrToDt.FrDt |
R831 (in the format "YYYY-MM-DD"), if the R831 value corresponds to the format "DD.MM.YYYY" |
48 |
O |
Date of the tax period (107) |
Tax.Rcrd.Prd.FrToDt.ToDt |
Indicated to comply with the format. |
49 |
O |
Customs authority code (107) |
Tax.Cdtr.RegnId |
|
50 |
O |
Tax payment number (108) |
Tax.RefNb |
|
51 |
O |
Date of tax document (109) |
Tax.Dt, values "0" or "00" are specified in Tax.Mtd |
Bank order
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry |
||||
1 |
R |
Transaction amount |
Amt@ Ccy |
< AmtCcy = "USD">1500.00</Amt> |
2 |
R |
Transaction currency |
Amt @Ccy |
<AmtCcy= " USD"> 1500.00 </Amt> |
3 |
R |
Indicator Debit ('DBIT') / Credit ('CRDT') |
CdtDbtInd |
|
4 |
R |
Operation status: |
Sts |
For interim statement 'PDNG'. |
5 |
R |
Date of operation |
BookgDt.Dt |
|
6 |
R |
Transaction code |
BkTxCd.Domn.Cd |
see table of correspondence of the type of operation |
7 |
R |
Transaction typen |
BkTxCd.Domn.Fmly.Cd |
see table of correspondence of the type of operation |
8 |
O |
Transaction subtype |
BkTxCd.Domn.Fmly.SubFmlyCd |
see table of correspondence of the type of operation |
9 |
R |
Operation code |
BkTxCd.Prtry.Cd |
see operation type correspondence table |
10 |
O |
Ruble equivalent of the amount to be paid |
AmtDtls.PrtryAmt.Amt@Ccy |
Ccy in this case is equal to RUR |
11 |
O |
Type description |
AmtDtls.PrtryAmt.Tp |
"Operation Amount in Rubles" |
12 |
O |
Debtor code |
AcctSvcrRef |
5 characters |
Description | Path | Comment Example |
||
---|---|---|---|---|
Document.BkToCstmrStmt.Stmt.Ntry.NtryDtls.TxDtls |
||||
1 |
R |
ISO data type code for the payer’s TIN |
RltdPties.Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Constant 'TXID' |
2 |
O |
TIN / KIO of the payer |
RltdPties.Dbtr.Id.OrgId.Othr.Id |
|
3 |
O / R |
ISO data type code for the recipient’s TIN |
RltdPties.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Pazameter is required when specifying TIN. |
4 |
O |
TIN / KIO of the recipient |
RltdPties.Cdtr.Id.OrgId.Othr.Id |
|
5 |
R |
Purpose of payment |
RmtInf.Ustrd [1] |
There can be more than one field |
6 |
O |
Purpose of payment* |
RmtInf.Ustrd [2] |
|
7 |
R |
Payer’s name |
RltdPties.Dbtr.Nm |
|
8 |
O |
Payer’s name |
RltdPties.Dbtr.PstlAdr.AdrLine |
To be filled in if the name of the payer is more than 140 characters |
9 |
R |
Recipient’s name |
RltdPties.Cdtr.Nm |
|
10 |
O |
Recipient’s name* |
RltdPties.Cdtr.PstlAdr.AdrLine |
To be filled in when the recipient’s name is more than 140 characters |
11 |
R |
Document number |
Refs.EndToEndId |
|
12 |
O |
Payer’s account number |
RltdPties.DbtrAcct.Id.Othr.Id |
|
13 |
R |
Beneficiary account number |
RltdPties.CdtrAcct.Id.Othr.Id |
|
14 |
O |
Payer’s bank account |
RltdAgts.DbtrAgt.FinInstnId.Othr.Id |
|
15 |
O |
Name of the payer’s bank |
RltdAgts.DbtrAgt.FinInstnId.Nm |
|
16 |
O |
Name of the payer’s bank* |
RltdAgts.DbtrAgt.FinInstnId.PstlAdr.AdrLine |
|
17 |
R |
Order of payment |
Purp.Prtry |
|
18 |
O |
Payment code (110) |
Tax.Rcrd.Tp |
|
19 |
O |
Income type code (20) |
AmtDtls.PrtryAmt.Tp |
|
20 |
O |
Amount (constant) |
AmtDtls.PrtryAmt.Amt@Ccy |
Filled in with a value of 0 if the Income type code (20) |
Table of correspondence of the type of operation with a collection of ISO documents
Code | Type of operation | Domain Code Set | Family Code Set | Sub-Family Code Set |
---|---|---|---|---|
01 |
Currency transfer Payment order |
PMNT |
ICDT - debit |
NTAV |
02 |
Payment Request |
PMNT |
CHRG |
NTAV |
06 |
Collection order |
PMNT |
ICCN - debit |
NTAV |
08 |
Letter of Credit |
PMNT |
DRFT |
NTAV |
17 |
Bank Order |
PMNT |
RDDT |
NTAV |
04 |
Announcement for Cash Deposit |
PMNT |
CNTR |
NTAV |
03 |
Outlet Cash Order |
PMNT |
ICHQ |
NTAV |
04 |
Receipt cash order |
PMNT |
RCHQ |
NTAV |
09 |
Memorial Warrant |
PMNT |
MDOP - Debit |
COMM |
16 |
Payment Order |
DERV |
OSWP |
SWPP |
Documents whose operation type is not: "01", "02", "06", "08", "16", "17" are parsed as a memorial order with the operation type "09".
Answer
If the request is successful, the service returns an XML document that matches the camt.053.001.05 format. Otherwise, the service returns one of the following messages:
HTTP Code | Type | Body | Description |
---|---|---|---|
200 |
OK |
The request is still being processed. Try later |
Statement has not been generated yet. Please contact later. |
401 |
Err |
Wrong username or password |
Invalid username or password |
401 |
Err |
User was not found |
User not found |
403 |
Err |
User is disabled |
User blocked |
500 |
Err |
Warrant service error |
Power of attorney verification service is not responding |
502 |
Err |
Bad Gateway |
Wrong gateway |
503 |
Err |
Service Unavailable |
Service unavailable |
504 |
Err |
Gateway Timeout |
Gateway not responding |
500 |
Err |
Internal Error |
Internal application error |
400 |
Err |
Request has not been not found by MsgId |
Request not found by MsgId |
500 |
Err |
The statement is not final and has incorrect closing date: <current business date> |
The statement is not final and cannot be generated |
500 |
Err |
The request has not been processed due to errors. Please contact the service support. |
The statement was not generated due to errors (for all invoices from the request). Contact technical support |
Statement example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.053.001.05">
<BkToCstmrStmt>
<GrpHdr>
<MsgId>e584449c1e094e7190abfde65bd33c91</MsgId>
<CreDtTm>2021-03-18T15:01:30.385+03:00</CreDtTm>
</GrpHdr>
<Stmt>
<Id>25efb2a4c4ef4fa6a0a981ac35f56ac2</Id>
<CreDtTm>2021-03-18T15:01:30.385+03:00</CreDtTm>
<FrToDt>
<FrDtTm>2021-03-18T00:00:00Z</FrDtTm>
<ToDtTm>2021-03-18T00:00:00Z</ToDtTm>
</FrToDt>
<Acct>
<Id>
<Othr>
<Id>40701810601850000354</Id>
</Othr>
</Id>
<Ccy>RUR</Ccy>
<Ownr>
<Nm>ООО "Альфа-Форекс"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7708294216</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Ownr>
<Svcr>
<FinInstnId>
<BICFI>ALFARUMMXXX</BICFI>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>ДО "ЦЕНТР ОБСЛУЖИВ.КРУПНЫХ КОРПОР.КЛИЕНТОВ" г.МОСКВА АО"АЛЬФА-БАНК"</Nm>
<PstlAdr>
<AdrLine>107078,Россия, г.Москва, ул.Маши Порываевой д.34</AdrLine>
</PstlAdr>
<Othr>
<Id>7728168971</Id>
</Othr>
</FinInstnId>
</Svcr>
</Acct>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>OPBD</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">103719670.32</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2021-03-18</Dt>
</Dt>
<Avlbty>
<Dt>
<ActlDt>2021-03-18</ActlDt>
</Dt>
<Amt Ccy="RUR">103719670.32</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
</Avlbty>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>CLBD</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">103719672.78</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2021-03-18</Dt>
</Dt>
<Avlbty>
<Dt>
<ActlDt>2021-03-18</ActlDt>
</Dt>
<Amt Ccy="RUR">103719672.78</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
</Avlbty>
</Bal>
<TxsSummry>
<TtlCdtNtries>
<Sum>2.46</Sum>
</TtlCdtNtries>
<TtlDbtNtries>
<Sum>0.00</Sum>
</TtlDbtNtries>
</TxsSummry>
<Ntry>
<Amt Ccy="RUR">1.23</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Sts>PDNG</Sts>
<BookgDt>
<Dt>2021-03-18</Dt>
</BookgDt>
<ValDt>
<Dt>2021-03-18</Dt>
</ValDt>
<BkTxCd>
<Domn>
<Cd>PMNT</Cd>
<Fmly>
<Cd>RCDT</Cd>
<SubFmlyCd>NTAV</SubFmlyCd>
</Fmly>
</Domn>
</BkTxCd>
<NtryDtls>
<TxDtls>
<Refs>
<EndToEndId>84798</EndToEndId>
</Refs>
<Amt Ccy="RUR">1.23</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Chrgs>
<Rcrd>
<Amt Ccy="RUR">0.00</Amt>
<Br>CRED</Br>
<Agt>
<FinInstnId/>
</Agt>
</Rcrd>
</Chrgs>
<RltdPties>
<Dbtr>
<Nm>Муравев Иван Евгеньевич</Nm>
<Id>
<OrgId>
<Othr>
<Id>500909451727</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<Othr>
<Id>40817810415170000004</Id>
</Othr>
</Id>
</DbtrAcct>
<Cdtr>
<Nm>ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСВЕННОСТЬЮ "АЛЬФА-ФОРЕКС"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7708294216</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<Othr>
<Id>40701810601850000354</Id>
</Othr>
</Id>
</CdtrAcct>
</RltdPties>
<RltdAgts>
<DbtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК" г Москва</Nm>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</FinInstnId>
</DbtrAgt>
<CdtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК" г Москва</Nm>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</FinInstnId>
</CdtrAgt>
<IntrmyAgt1>
<FinInstnId/>
</IntrmyAgt1>
</RltdAgts>
<Purp>
<Prtry>5</Prtry>
</Purp>
<RmtInf>
<Ustrd>Перевод по договору 1751-19/РМ Специальный раздел НС $$99982810014870001318$$</Ustrd>
<Strd>
<RfrdDocInf>
<RltdDt>2021-03-18</RltdDt>
</RfrdDocInf>
</Strd>
</RmtInf>
<SplmtryData>
<Envlp>
<NumSB>D851803210000011</NumSB>
</Envlp>
</SplmtryData>
</TxDtls>
</NtryDtls>
</Ntry>
<Ntry>
<Amt Ccy="RUR">1.23</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Sts>PDNG</Sts>
<BookgDt>
<Dt>2021-03-18</Dt>
</BookgDt>
<ValDt>
<Dt>2021-03-18</Dt>
</ValDt>
<BkTxCd>
<Domn>
<Cd>PMNT</Cd>
<Fmly>
<Cd>RCDT</Cd>
<SubFmlyCd>NTAV</SubFmlyCd>
</Fmly>
</Domn>
</BkTxCd>
<NtryDtls>
<TxDtls>
<Refs>
<EndToEndId>84612</EndToEndId>
</Refs>
<Amt Ccy="RUR">1.23</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Chrgs>
<Rcrd>
<Amt Ccy="RUR">0.00</Amt>
<Br>CRED</Br>
<Agt>
<FinInstnId/>
</Agt>
</Rcrd>
</Chrgs>
<RltdPties>
<Dbtr>
<Nm>Муравев Иван Евгеньевич</Nm>
<Id>
<OrgId>
<Othr>
<Id>500909451727</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<Othr>
<Id>40817810415170000004</Id>
</Othr>
</Id>
</DbtrAcct>
<Cdtr>
<Nm>ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСВЕННОСТЬЮ "АЛЬФА-ФОРЕКС"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7708294216</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<Othr>
<Id>40701810601850000354</Id>
</Othr>
</Id>
</CdtrAcct>
</RltdPties>
<RltdAgts>
<DbtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК" г Москва</Nm>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</FinInstnId>
</DbtrAgt>
<CdtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК" г Москва</Nm>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</FinInstnId>
</CdtrAgt>
<IntrmyAgt1>
<FinInstnId/>
</IntrmyAgt1>
</RltdAgts>
<Purp>
<Prtry>5</Prtry>
</Purp>
<RmtInf>
<Ustrd>Перевод по договору 1751-19/РМ Специальный раздел НС $$99982810014870001318$$</Ustrd>
<Strd>
<RfrdDocInf>
<RltdDt>2021-03-18</RltdDt>
</RfrdDocInf>
</Strd>
</RmtInf>
<SplmtryData>
<Envlp>
<NumSB>D851803210000006</NumSB>
</Envlp>
</SplmtryData>
</TxDtls>
</NtryDtls>
</Ntry>
</Stmt>
</BkToCstmrStmt>
</Document>
4. Online balance
Clients have the opportunity to receive the account balance in two formats:
-
Base balance
-
Expanded balance
Request
URI
POST: /API/v1/ISO20022/Statements/AccountBalance - Base balance
POST: /API/v1/ISO20022/Statements/AccountBalanceExtended - Expanded balance
XML scheme
camt.060.001.03
Scheme description
№ | R/O | Description | Link | Comment |
---|---|---|---|---|
Absolute path Document.AcctRptgReq |
||||
1 |
R |
Unique message ID |
GrpHdr.MsgId |
|
2 |
R |
Date and time the message was created |
GrpHdr.CreDtTm |
Date format |
3 |
R |
Unique package ID with request |
RptgReq.Id |
|
4 |
R |
Get data by type Statement |
RptgReq.ReqdMsgNmId |
Constant "HMQSTASCF" |
5 |
R |
Account number |
RptgReq.Acct.Id.Othr.Id |
|
6 |
R |
Name of the company |
RptgReq.AcctOwnr.Pty.Nm |
Online balance request example
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.060.001.03" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<AcctRptgReq>
<GrpHdr>
<MsgId>H2H_TEST_STMT_112368042870656700001</MsgId>
<CreDtTm>2022-05-24T10:00:18</CreDtTm>
</GrpHdr>
<RptgReq>
<Id>H2H_TEST_STMT_112368042870656700001</Id>
<ReqdMsgNmId>HMQSTASCF</ReqdMsgNmId>
<Acct>
<Id>
<Othr>
<Id>40702810200000000083</Id>
</Othr>
</Id>
</Acct>
<AcctOwnr>
<Pty>
<Nm>Общество с ограниченной ответственностью "Тест Альфа-Линк"</Nm>
</Pty>
</AcctOwnr>
</RptgReq>
<SplmtryData>
<Envlp>
<SgntrSt>
</SgntrSt>
</Envlp>
</SplmtryData>
</AcctRptgReq>
</Document>
XML scheme
camt.052.001.05
Scheme description
Description | Link | Comment Example |
|
---|---|---|---|
Absolute path Document.BkToCstmrAcctRpt |
|||
1 |
Unique message ID |
GrpHdr.MsgId |
|
2 |
Date and time the message was created |
GrpHdr.CreDtTm |
Date format YYYY-MM-DDTHH:MM:SS |
Absolute path Document.BkToCstmrAcctRpt.Rpt |
|||
3 |
ID |
Id |
|
4 |
Date and time the message was created |
CreDtTm |
Date format YYYY-MM-DDTHH:MM:SS |
5 |
Account number |
Acct.Id.Othr.Id |
|
6 |
Account currency |
Acct.Ccy |
|
7 |
Name of the account holder |
Acct.Ownr.Nm |
|
8 |
TIN of the account holder |
Acct.Ownr.Id.OrgId.Othr.Id |
|
9 |
ISO data type code |
Acct.Ownr.Id.OrgId.Othr.SchmeNm.Cd |
Constant 'TXID' |
Details of the servicing bank |
|||
10 |
BIC Bank |
Acct.Svcr.FinInstnId.BICFI |
|
11 |
Designation of the Russian settlement system |
Acct.Svcr.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
Constant 'RUCBC' |
12 |
BIC of the bank / branch serving the account |
Acct.Svcr.FinInstnId.ClrSysMmbId.MmbId |
|
13 |
Name of the bank / branch serving the account |
Acct.Svcr.FinInstnId.Nm |
Section with information about balances for the Base Balance
Description | Link | Comment Example |
|
---|---|---|---|
Available balance |
|||
14 |
Balance type (Available) |
Bal[1].Tp.CdOrPrtry.Cd |
Constant "ITAV" |
15 |
Amount |
Bal[1].Amt |
|
16 |
Currency code of the available amount |
Bal[1].Amt@Ccy |
|
17 |
DBIT/CRDT |
Bal[1].CdtDbtInd |
|
18 |
Date of balance |
Bal[1].Dt.Dt |
|
Reserved balance |
|||
19 |
Balance type (Reserved) |
Bal[2].Tp.CdOrPrtry.Cd |
Constant "INFO" |
20 |
Amount |
Bal[2].Amt |
|
21 |
Currency code of the reserved amount |
Bal[2].Amt@Ccy |
|
22 |
DBIT/CRDT |
Bal[2].CdtDbtInd |
|
23 |
Date of balance |
Bal[2].Dt.Dt |
Section with information about balances for Expanded Balance
Description | Link | Comment Example |
|
---|---|---|---|
Incoming balance |
|||
24 |
Balance type (Incoming) |
Bal[1].Tp.CdOrPrtry.Cd |
Constant "OPBD" |
25 |
Incoming balance |
Bal[1].Amt@Ccy |
|
26 |
DBIT/CRDT |
Bal[1].CdtDbtInd |
|
27 |
Date of balance |
Bal[1].Dt.Dt |
|
28 |
Date of balance |
Bal[1].Avlbty.Dt.ActlDt |
|
29 |
Incoming balance in ruble equivalent |
Bal[1].Avlbty.Amt |
|
30 |
Currency code of the incoming balance in ruble equivalent |
Bal[1].Avlbty.Amt@Ccy |
|
31 |
DBIT/CRDT |
Bal[1].Avlbty.CdtDbtInd |
|
Outgoing balance |
|||
32 |
Balance type (Outgoing) |
Bal[2].Tp.CdOrPrtry.Cd |
Constant "CLBD" |
33 |
Outgoing balance |
Bal[2].Amt |
|
34 |
Outgoing balance currency code |
Bal[2].Amt@Ccy |
|
35 |
DBIT/CRDT |
Bal[2].CdtDbtInd |
|
36 |
Date of balance |
Bal[2].Dt.Dt |
|
37 |
Date of balance |
Bal[2].Avlbty.Dt.ActlDt |
|
38 |
Outgoing balance in rubles |
Bal[2].Avlbty.Amt |
|
39 |
Outgoing balance currency code in ruble equivalent |
Bal[2].Avlbty.Amt@Ccy |
|
40 |
DBIT/CRDT |
Bal[2].Avlbty.CdtDbtInd |
|
Available balance |
|||
41 |
Balance type (Available) |
Bal[3].Tp.CdOrPrtry.Cd |
Constant "ITAV" |
42 |
Amount |
Bal[3].Amt |
|
43 |
Available balance currency code |
Bal[3].Amt@Ccy |
|
44 |
DBIT/CRDT |
Bal[3].CdtDbtInd |
|
45 |
Date of balance |
Bal[3].Dt.Dt |
|
Reserved balance |
|||
46 |
Balance type (Reserved) |
Bal[4].Tp.CdOrPrtry.Cd |
Constant "INFO" |
47 |
Reserved balance |
Bal[4].Amt |
|
48 |
Reserved balance currency code |
Bal[4].Amt@Ccy |
|
49 |
DBIT/CRDT |
Bal[4].CdtDbtInd |
|
50 |
Date of balance |
Bal[4].Dt.Dt |
Example base balance
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.052.001.05">
<BkToCstmrAcctRpt>
<GrpHdr>
<MsgId>37f79863e8424f1a92d0632fbd4a71b0</MsgId>
<CreDtTm>2022-05-24T11:50:18.091+03:00</CreDtTm>
</GrpHdr>
<Rpt>
<Id>a83b805424404f0394fbf273807ac75a</Id>
<CreDtTm>2022-05-24T11:50:18.377+03:00</CreDtTm>
<Acct>
<Id>
<Othr>
<Id>40702810200000000083</Id>
</Othr>
</Id>
<Ccy>RUR</Ccy>
<Ownr>
<Nm>ООО "Тест Альфа-Линк"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7013602245</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Ownr>
<Svcr>
<FinInstnId>
<BICFI>ALFARUMMXXX</BICFI>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК"</Nm>
</FinInstnId>
</Svcr>
</Acct>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>ITAV</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">15996923005.30</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>INFO</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">1565224.78</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
</Bal>
</Rpt>
</BkToCstmrAcctRpt>
</Document>
Example expanded balance
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.052.001.05">
<BkToCstmrAcctRpt>
<GrpHdr>
<MsgId>e4d6975f5c6e46fca732fb7597c46fc9</MsgId>
<CreDtTm>2022-05-24T11:57:38.231+03:00</CreDtTm>
</GrpHdr>
<Rpt>
<Id>042100f056b84f8da5ddfcde0a54ccfb</Id>
<CreDtTm>2022-05-24T11:57:38.341+03:00</CreDtTm>
<Acct>
<Id>
<Othr>
<Id>40702810200000000083</Id>
</Othr>
</Id>
<Ccy>RUR</Ccy>
<Ownr>
<Nm>ООО "Тест Альфа-Линк"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7013602245</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Ownr>
<Svcr>
<FinInstnId>
<BICFI>ALFARUMMXXX</BICFI>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО "АЛЬФА-БАНК"</Nm>
</FinInstnId>
</Svcr>
</Acct>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>OPBD</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">15998489805.08</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
<Avlbty>
<Dt>
<ActlDt>2022-05-24</ActlDt>
</Dt>
<Amt Ccy="RUR">15998489805.08</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
</Avlbty>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>CLBD</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">15998489019.08</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
<Avlbty>
<Dt>
<ActlDt>2022-05-24</ActlDt>
</Dt>
<Amt Ccy="RUR">15998489019.08</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
</Avlbty>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>ITAV</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">15996923005.30</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
</Bal>
<Bal>
<Tp>
<CdOrPrtry>
<Cd>INFO</Cd>
</CdOrPrtry>
</Tp>
<Amt Ccy="RUR">1565224.78</Amt>
<CdtDbtInd>CRDT</CdtDbtInd>
<Dt>
<Dt>2022-05-24</Dt>
</Dt>
</Bal>
</Rpt>
</BkToCstmrAcctRpt>
</Document>
5. Payments
URI
POST: /API/v1/ISO20022/Payments
XML scheme
pain.001.001.06
Scheme description
№ | R/O | Description | Link | Comment |
---|---|---|---|---|
Absolute path Document.CstmrCdtTrfInitn.GrpHdr |
||||
1 |
R |
Unique message ID |
MsgId |
Message ID assigned in the external system is specified. |
2 |
R |
Date and time the message was created |
CreDtTm |
Date format YYYY-MM-DDTHH:MM:SS 2018-11-27T17:13:45 |
3 |
R |
Number of transactions in the message |
NbOfTxs |
The total number of payments (CdtTrfTxInf sections) in the message |
4 |
O |
Total amount |
CtrlSum |
Total of all individual amounts included in the message, irrespective of currencies |
5 |
R |
Full name of the company |
InitgPty.Nm |
|
6 |
R |
TIN of the account holder |
InitgPty.Id.OrgId.Othr.Id |
|
7 |
R |
ISO data type code for TIN |
InitgPty.Id.OrgId.Othr.SchmeNm.Cd |
Constant "TXID" |
Absolute path Document.CstmrCdtTrfInitn.PmtInf |
||||
8 |
R |
Unique package ID |
PmtInfId |
The ID of the payments group is specified. The ID must not match the MsgId and other identifiers |
9 |
R |
Payment method |
PmtMtd |
Constant "TRF" |
10 |
R |
Date of document |
ReqdExctnDt |
Used if there is no Pmtlnf.CdtTrfTxInf.RmtInf.Strd.RfrdDocInf.RltdDt |
11 |
R |
Name of the payer (8) |
Dbtr.Nm |
|
12 |
O |
Name of the payer (8) |
Dbtr.CtctDtls.Nm |
Should be filled if the name of the payer is more than 140 characters. |
13 |
R |
TIN of the payer (60) |
Dbtr.Id.OrgId.Othr.Id |
|
14 |
R |
ISO data type code for TIN |
Dbtr.Id.OrgId.Othr.SchmeNm.Cd |
Constant "TXID" |
15 |
R |
Payer’s account (9) |
DbtrAcct.Id.Othr.Id |
|
16 |
R |
Clearing system code |
DbtrAgt.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
Constant "RUCBC" |
17 |
R |
BIC of the payer’s bank (11) |
DbtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
18 |
R |
Name of the payer’s bank (10) |
DbtrAgt.FinInstnId.Nm |
|
19 |
R |
The payer’s bank account (12) |
DbtrAgtAcct.Id.Othr.Id |
|
20 |
R |
Unique payment id |
CdtTrfTxInf.PmtId.InstrId |
ID of the original payment |
21 |
R |
Document number |
CdtTrfTxInf.PmtId.EndToEndId |
Integer up to 6 characters.The uniqueness of the number during the day is checked based on the uniqueness of the group of parameters: payment date, payment number, payer’s account, recipient’s account, payment amount. |
22 |
R |
Type of payment (5) |
CdtTrfTxInf.PmtTpInf.SvcLvl.Cd |
Accepted values: |
23 |
R |
Document amount |
CdtTrfTxInf.Amt.InstdAmt |
|
24 |
R |
Currency code |
CdtTrfTxInf.Amt.InstdAmt@Ccy |
|
25 |
R |
Clearing system code |
CdtTrfTxInf.CdtrAgt.FinInstnId.ClrSysMmbId.ClrSysId.Cd |
Constant "RUCBC" |
26 |
R |
BIC of the recipient’s bank (14) |
CdtTrfTxInf.CdtrAgt.FinInstnId.ClrSysMmbId.MmbId |
|
27 |
R |
Name of the recipient’s bank (13) |
CdtTrfTxInf.CdtrAgt.FinInstnId.Nm |
|
28 |
O |
Account of the recipient’s bank (15) |
CdtTrfTxInf.CdtrAgtAcct.Id.Othr.Id |
|
29 |
R |
Name of the recipient (16) |
CdtTrfTxInf.Cdtr.Nm |
|
30 |
О |
Name of the recipient (16) |
CdtTrfTxInf.Cdtr.CtctDtls.Nm |
It is filled in if the name of the recipient is more than 140 characters. |
31 |
R |
Recipient address |
CdtTrfTxInf.Cdtr.PstlAdr.AdrLine |
|
32 |
R |
Recipient’s TIN (61) |
CdtTrfTxInf.Cdtr.Id.OrgId.Othr.Id |
|
33 |
R |
ISO data type code for TIN |
CdtTrfTxInf.Cdtr.Id.OrgId.Othr.SchmeNm.Cd |
Constant "TXID" |
34 |
O |
Recipient’s account (17) |
CdtTrfTxInf.CdtrAcct.Id.Othr.Id |
|
35 |
R |
The order of payment (21) |
CdtTrfTxInf.Purp.Prtry |
|
36 |
O |
ISO data type code for income |
CdtTrfTxInf.RgltryRptg.Dtls.Tp |
Constant "PTCD" |
37 |
O |
Code of the type of income (20) |
CdtTrfTxInf.RgltryRptg.Dtls.Cd |
You also need to fill in the mtInf.CdtTrfTxInf.RgltryRptg.Dtls.Tp = "PTCD" = "PTCD"
Code "1" - when transferring funds that are wages and (or) other income, in respect of which Article 99 of the Federal Law No. 229-FZ of 2.10.2007 establishes restrictions on the amount of deduction. If there is a writ of execution, specify the amount you have collected in the "Purpose of payment (24)" field. + Code " 2 " - when transferring funds that are income, for which, in accordance with Article 101 of the Federal Law of 2.10. 2007 N 229-FZ, foreclosure cannot be levied, except for income to which, in accordance with part 2 of Article 101 of the Federal Law of 2.10.2007 N 229-FZ, restrictions on foreclosure are not applied. + Code "3" - when transferring funds that are income, to which, in accordance with part 2 of Article 101 of Federal Law No. 229-FZ of 2.10. 2007, restrictions on foreclosure are not applied. If there is a writ of execution, specify the amount you have collected in the "Purpose of payment (24)" field. Please note that for income with code 3, penalties can only be made for alimony obligations against minors or for obligations to compensate for damage due to the death of the breadwinner. + In other cases, the code is not specified + How can I specify the collected amount in the "Purpose of payment (24)" field? If you have made a deduction from the funds transferred to an individual that make up the income specified in Article 99 or 101 of the Federal Law "On Enforcement Proceedings", then in the field "Purpose of payment (24)" specify the amount collected in the format://VCS / / rubles-kopecks//. For example, //VZS//100000-00//. + Law and Order + Detailed information is provided in Federal Law No. 12-FZ of 21.02.2019 "On Amendments to the Federal Law "On Enforcement Proceedings", Instruction of the Bank of Russia No. 5286-U of 14.10.2019 "On the Procedure for Specifying the Income Type Code in Money Transfer Orders + |
38 |
O |
Payer’s Tax Registration Reason Code (KPP) (102) |
CdtTrfTxInf.Tax.Dbtr.TaxTp |
|
39 |
O |
Recipient’s Tax Registration Reason Code (KPP) (103) |
CdtTrfTxInf.Tax.Cdtr.TaxTp |
|
Budget details of the payment order All budget details become mandatory when filling out field 101 |
||||
40 |
O |
OKTMO (105) |
CdtTrfTxInf.Tax.AdmstnZn |
|
41 |
O |
Tax document number (108) |
CdtTrfTxInf.Tax.RefNb |
|
42 |
O |
Date of the tax document (109) |
CdtTrfTxInf.Tax.Dt |
The values "0" or "00" must be specified in PmtInf.CdtTrfTxInf.Tax.Mtd |
43 |
O |
Payment code (110) |
CdtTrfTxInf.Tax.Rcrd.Tp |
To correctly fill in the "Payment code (110)" field, determine the type of income that an individual will receive. the person as a result of the transfer. If your payment does not fall under the list from the Resolution, you do not need to specify the code. The code 1 is put down in case of payments to the account of an individual. persons: 1. Temporary disability benefits (only for citizens exposed to radiation); 2.Maternity benefits; 3.A one-time allowance for women who have registered with medical organizations in the early stages of pregnancy; 4.One-time allowance at the birth of a child; 5. Monthly child care allowance. All types of income falling under code 1 are listed in parts 5.5 and 5.6 of Article 30.5 of the Federal Law "On the National Payment System". In other cases, the code is not specified. If the field is filled in incorrectly, there may be claims from individuals and / or regulatory authorities. Detailed information is provided in Article 30.5 of the Law of the Russian Federation No. 161-FZ of 27.06.2011 "On the National Payment System", Decree of the Government of the Russian Federation No. 1466 of 01.12.2018 "On Approval of the List of Other Payments at the Expense of the Budgets of the Budgetary System of the Russian Federation for the Purposes of Applying Parts 5 and 5.1 of Article 30.5 of the Federal Law "On the National Payment System" |
44 |
O |
Code of the basis of the tax payment (106) |
CdtTrfTxInf.Tax.Rcrd.Ctgy |
|
45 |
O |
Budget classification code (104) |
CdtTrfTxInf.Tax.Rcrd.CtgyDtls |
|
46 |
O |
The status of the originator of the document (101) |
CdtTrfTxInf.Tax.Rcrd.DbtrSts |
|
Details "Tax period code (107)": the code of the customs authority, the indicator of the tax period, the date of payment of taxes. |
||||
47 |
O |
Year of the tax period |
CdtTrfTxInf.Tax.Rcrd.Prd.Yr |
|
48 |
O |
Tax period in encoding ISO20022 |
CdtTrfTxInf.Tax.Rcrd.Prd.Tp |
MM-MS; |
49 |
O |
Date of payment of taxes |
CdtTrfTxInf.Tax.Rcrd.Prd.FrToDt.FrDt |
The processing algorithm is given below |
50 |
O |
End of the period (not used) |
CdtTrfTxInf.Tax.Rcrd.Prd.FrToDt.ToDt |
Not used, specified only to comply with the format. |
51 |
O |
Code of the customs authority |
CdtTrfTxInf.Tax.Cdtr.RegnId |
|
52 |
O |
Information to the recipient |
CdtTrfTxInf.RmtInf.Ustrd[1..2] |
|
53 |
O |
Record type |
CdtTrfTxInf.RmtInf.Strd.RfrdDocInf.Tp.CdOrPrtry.Prtry |
Constant "POD" |
54 |
R |
Document date (4) |
CdtTrfTxInf.RmtInf.Strd.RfrdDocInf.RltdDt |
YYYY-MM-DD |
55 |
О |
Payment code (22) |
CdtTrfTxInf.RmtInf.Strd.CdtrRefInf.Ref |
|
56 |
О |
Information from sender to the recipient |
CdtTrfTxInf.RmtInf.Strd.AddtlRmtInf[1..2] |
The algorithm for processing the parameter " Tax period code (107)"
Processing on the client side
The tax period code is specified in the following tags:
-
FrDt - PmtInf.CdtTrfTxInf.Tax.Rcrd.Prd.FrToDt.FrDt - date of the tax period
-
Yr - PmtInf.CdtTrfTxInf.Tax.Rcrd.Prd.Yr - year of the tax period
-
Tp - PmtInf.CdtTrfTxInf.Tax.Rcrd.Prd.Tp - tax period
-
RegnId - PmtInf.CdtTrfTxInf.Tax.Cdtr.RegnId - code of the tax authority
(ToDt - Not used, specified to comply with the format)
The code consists of 10 characters, all values are separated by dots: XX.YY.ZZZZ
XX. - payment frequency.
YY. - ordinal number of the period. For monthly payments the ordinal number of the month is 1 to 12, for quarterly payments - the number of the quarter from 1 to 4, for semiannual payments - 01 and 02 semiannual. For annual payments always - 00;
ZZZZ - the year to which the tax payment relates.
-
If XX. = {МС.,КВ.,ПЛ.,ГД.}
МС | КВ | ПЛ | ГД | |
---|---|---|---|---|
Tp |
MM + {01-12} (YY) |
QTR + {1-4} (YY without zero) |
HLF + {1,2} (YY without zero) |
Not specified |
FrDt |
Not specified |
|||
Yr |
ZZZZ |
-
If the period is a specific date, the field CdtTrfTxInf.Tax.Rcrd.Prd.FrToDt.FrDt, the rest do not count.
-
If there is only a tax authority code, it is specified in the PmtInf.CdtTrfTxInf.Tax.Cdtr.RegnId
Example:
Tp |
FrDt |
Yr |
RegnId |
|
12.03.2016 |
12.03.2016 |
|||
ГД.00.2016 |
2016 |
|||
ПЛ.01.2015 |
HLF1 |
2015 |
||
КВ.03.2016 |
QTR3 |
2016 |
||
МС.10.2014 |
MM10 |
2014 |
||
10001010 |
10001010 |
Processing on the bank side
If FrDt contains a value, then it is necessary to convert FrDt to the format DD. MM.YYYY. Otherwise:
-
If Tp starts with 'MM', then the tax period code = 'МС.' +substring(Tp, 3, 2)+YEAR (Yr);
-
If Tp starts with 'QR', the tax period code = 'КВ. 0' +substring(Tp, 4, 1)+YEAR (Yr);
-
If Tp starts with 'HLF', the tax period code = 'ПЛ. 0' +substring(Tp, 4, 1)+YEAR (Yr);
-
If Tp is not specified, then the tax period code = 'ГД. 00.' +YEAR (Yr).
Otherwise, if RegnId contains a value, then the tax period code = RegnId. If RegnId, FrDt, Yr, Tp are not filled in, then the tax period code = 0.
Where:
- FrDt - PmtInf.CdtTrfTxInf.Tax.Rcrd.Prd.FrToDt.FrDt - date of the tax period
- Yr - PmtInf. CdtTrfTxInf. Tax.Rcrd.Prd.Yr - year of the tax period
- Tp - PmtInf.CdtTrfTxInf.Tax.Rcrd.Prd.Tp - tax period
- RegnId - PmtInf.CdtTrfTxInf.Tax.Cdtr.RegnId - code of the tax authority
(ToDt - Not used, specified to comply with the format)
Example:
12.03.2016
ГД.00.2016
ПЛ.01.2015
КВ.03.2016
МС.10.2014
10001010
Answer
The response is an XML document corresponding to the scheme pain. 002.001.06.
HTTP code | Type | Body |
---|---|---|
200 |
OK |
- |
401 |
Err |
Wrong username or password |
401 |
Err |
User was not found |
500 |
Err |
Warrant service error |
403 |
Err |
User is disabled |
403 |
Err |
User does not have permission |
406 |
Err |
Signature is missing |
403 |
Err |
Certificate is not valid |
403 |
Err |
Signer’s warrant is expired |
403 |
Err |
Signer’s warrant is disabled |
403 |
Err |
Number of signatures is not enough for this operation type |
403 |
Err |
Certificate is disabled |
403 |
Err |
The signer certificate is not valid (revoked or not active) |
406 |
Err |
Signature value is not valid |
406 |
Err |
Internal sign check state error |
502 |
Err |
Bad Gateway |
503 |
Err |
Service Unavailable |
504 |
Err |
Gateway Timeout |
500 |
Err |
Internal Error |
409 |
Err |
MsgId is not unique |
400 |
Err |
XML does not match schema |
Example of a payment with a signature
<?xml version="1.0" encoding="UTF-8"?><Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.06">
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>TEST_MSG_2021-08-18-141541737</MsgId>
<CreDtTm>2021-08-26T14:10:41.727+03:00</CreDtTm>
<NbOfTxs>1</NbOfTxs>
<CtrlSum>100.00</CtrlSum>
<InitgPty>
<Nm>ООО "Тест Альфа-Линк"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7013602245</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>TEST_MSG_2021-08-18-141541737</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<ReqdExctnDt>2021-08-26</ReqdExctnDt>
<Dbtr>
<Nm>ООО "Тест Альфа-Линк"</Nm>
<Id>
<OrgId>
<Othr>
<Id>7013602245</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Dbtr>
<DbtrAcct>
<Id>
<Othr>
<Id>40702810200000000083</Id>
</Othr>
</Id>
</DbtrAcct>
<DbtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО АЛЬФА-БАНК</Nm>
</FinInstnId>
</DbtrAgt>
<DbtrAgtAcct>
<Id>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</Id>
</DbtrAgtAcct>
<CdtTrfTxInf>
<PmtId>
<InstrId>TEST_MSG_2021-08-18-141541737</InstrId>
<EndToEndId>141547</EndToEndId>
</PmtId>
<PmtTpInf>
<SvcLvl>
<Cd>NURG</Cd>
</SvcLvl>
</PmtTpInf>
<Amt>
<InstdAmt Ccy="RUR">100</InstdAmt>
</Amt>
<CdtrAgt>
<FinInstnId>
<ClrSysMmbId>
<ClrSysId>
<Cd>RUCBC</Cd>
</ClrSysId>
<MmbId>044525593</MmbId>
</ClrSysMmbId>
<Nm>АО АЛЬФА-БАНК</Nm>
</FinInstnId>
</CdtrAgt>
<CdtrAgtAcct>
<Id>
<Othr>
<Id>30101810200000000593</Id>
</Othr>
</Id>
</CdtrAgtAcct>
<Cdtr>
<Nm>ООО "Тест Альфа-Линк Получатель"</Nm>
<PstlAdr>
<AdrLine>г Москва ул. Московская, 1</AdrLine>
</PstlAdr>
<Id>
<OrgId>
<Othr>
<Id>4689269939</Id>
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</Cdtr>
<CdtrAcct>
<Id>
<Othr>
<Id>40702810300000000132</Id>
</Othr>
</Id>
</CdtrAcct>
<Purp>
<Prtry>5</Prtry>
</Purp>
<RgltryRptg>
<Dtls>
<Tp>PTCD</Tp>
<Cd>3</Cd>
</Dtls>
</RgltryRptg>
<RmtInf>
<Ustrd>тестирование</Ustrd>
<Ustrd>h2h</Ustrd>
<Strd>
<RfrdDocInf>
<Tp>
<CdOrPrtry>
<Prtry>POD</Prtry>
</CdOrPrtry>
</Tp>
<RltdDt>2021-08-26</RltdDt>
</RfrdDocInf>
<CdtrRefInf>
<Ref>0</Ref>
</CdtrRefInf>
<AddtlRmtInf>тестирование h2h</AddtlRmtInf>
</Strd>
</RmtInf>
</CdtTrfTxInf>
</PmtInf>
<SplmtryData>
<Envlp>
<SgntrSt>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="sigID1"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102012-gostr34112012-256"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34112012-256"/><ds:DigestValue>qhGYqvIvdyMlKwKyJzPz8QpsLdzJGJBEUakH/nipCcc=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>jhv2MNb8YoBtT8OZqWEpdc81p5sNzy1z5U8f9B+joVsGDXVvgjpkF11FndFXdkKw2mIGnfA+cZtzC4NRby8DpQ==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>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</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature></SgntrSt>
</Envlp>
</SplmtryData>
</CstmrCdtTrfInitn>
</Document>
Example of a payment status pain. 002.001. 06
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.06">
<CstmrPmtStsRpt>
<GrpHdr>
<MsgId>3c402c01c9b849a0ac5c0434299aecc1</MsgId>
<CreDtTm>2019-01-30T16:13:24.665+03:00</CreDtTm>
<InitgPty>
<Id>
<OrgId>
<AnyBIC>ALFARUMM</AnyBIC>
<Othr>
<Id>044525593</Id>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<OrgnlGrpInfAndSts>
<OrgnlMsgId>0b94215ea5604a5ab00aad436dad0900</OrgnlMsgId>
<OrgnlMsgNmId>pain.001.001.06</OrgnlMsgNmId>
<OrgnlCreDtTm>2019-01-29T15:25:53.000+03:00</OrgnlCreDtTm>
<GrpSts>RCVD</GrpSts>
</OrgnlGrpInfAndSts>
<OrgnlPmtInfAndSts>
<OrgnlPmtInfId>PKG31d00a62a203465095f93ed1c924ca67</OrgnlPmtInfId>
<PmtInfSts>RCVD</PmtInfSts>
<TxInfAndSts>
<OrgnlInstrId>PMTec020f8f93884a8baad2361eaf13f70b</OrgnlInstrId>
<TxSts>ACTC</TxSts>
</TxInfAndSts>
</OrgnlPmtInfAndSts>
</CstmrPmtStsRpt>
</Document>
6. Payroll
URI
POST: /API/v1/ISO20022/Payroll
XML scheme
pain.008.001.05
Scheme description
№ | R/O | Description | Link | Comment |
---|---|---|---|---|
Absolute path Document.CstmrDrctDbtInitn.GrpHdr |
||||
1 |
R |
Unique message ID |
MsgId |
|
2 |
R |
Date and time the message was created |
CreDtTm |
Date format YYYY-MM-DDTHH:MM:SS |
3 |
R |
Number of individual transactions contained in the payroll |
NbOfTxs |
|
4 |
R |
Total of all individual amounts included in the payroll |
CtrlSum |
|
5 |
R |
Name of the company |
InitgPty.Nm |
|
6 |
R |
TIN of the company |
InitgPty.Id.OrgId.Othr[1].Id |
|
7 |
R |
ISO data type code for TIN |
InitgPty.Id.OrgId.Othr[1].SchmeNm.Cd |
Constant 'TXID' |
8 |
R |
Account number |
InitgPty.Id.OrgId.Othr[2].Id |
|
9 |
R |
ISO code |
InitgPty.Id.OrgId.Othr[2].SchmeNm.Cd |
Constant "ACC" |
Absolute path Document.CstmrDrctDbtInitn.PmtInf |
||||
10 |
R |
Unique payroll ID |
PmtInfId |
|
11 |
R |
PaymentMethod |
PmtMtd |
Constant "DD" |
12 |
R |
Registry number |
NbOfTxs |
max. length 11 |
13 |
R |
Date of formation |
ReqdColltnDt |
|
14 |
R |
Number of the payroll project contract |
Cdtr.Nm |
|
15 |
R |
Type of enrollment |
CdtrAcct.Id.Othr.Id |
|
16 |
R |
BIK of the bank indicated in the payroll project |
CdtrAgt.FinInstnId.Nm |
|
17 |
R |
Line number in the payroll |
DrctDbtTxInf.PmtId.InstrId |
max. length 7 |
18 |
R |
ID line in payroll |
DrctDbtTxInf.PmtId.EndToEndId |
|
19 |
R |
Amount payable to employee |
DrctDbtTxInf.InstdAmt |
|
20 |
R |
Numeric currency code |
DrctDbtTxInf.InstdAmt@Ccy |
At the moment, payroll are formed only in rubles (code - 643) |
21 |
R |
Payroll bank branch |
DrctDbtTxInf.DbtrAgt.FinInstnId.Nm |
It is possible to specify a constant '0000'. |
22 |
R |
Branch of the bank salary project |
DrctDbtTxInf.DbtrAgt.FinInstnId.Othr.Id |
Constant '0000'. max. length 4 |
23 |
O |
BIK of the bank where the account is opened, in case it differs from the bank of the salary project |
DrctDbtTxInf.DbtrAgt.BrnchId.Id |
|
24 |
R |
Employee’s last name |
DrctDbtTxInf.Dbtr.PstlAdr.Dept |
max. length 30 |
25 |
R |
Employee’s name |
DrctDbtTxInf.Dbtr.PstlAdr.SubDept |
max. length 30 |
26 |
O |
Employee’s middle name |
DrctDbtTxInf.Dbtr.PstlAdr.StrtNm |
max. length 30 |
27 |
R |
Employee account number |
DrctDbtTxInf.DbtrAcct.Id.Othr.Id |
Answer
The response is an XML document corresponding to the scheme pain. 002.001.06.
Response code table:
HTTP code | Type | Body | Comment |
---|---|---|---|
200 |
OK |
- |
Request was accepted without errors. |
401 |
Err |
Wrong username or password |
|
401 |
Err |
User was not found |
|
403 |
Err |
User is disabled |
|
401 |
Err |
Signer is not allowed to sign this operation type |
|
500 |
Err |
Warrant service error |
|
403 |
Err |
User does not have permission |
|
406 |
Err |
Signature is missing |
|
403 |
Err |
Certificate is not valid |
|
403 |
Err |
Signer’s warrant is expired |
|
403 |
Err |
Signer’s warrant is disabled |
|
403 |
Err |
Number of signatures is not enough for this operation type |
|
403 |
Err |
Certificate is disabled |
|
403 |
Err |
The signer certificate is not valid (revoked or not active) |
|
406 |
Err |
Signature value is not valid |
|
406 |
Err |
Internal sign check state error |
|
502 |
Err |
Bad Gateway |
|
503 |
Err |
Service Unavailable |
|
504 |
Err |
Gateway Timeout |
|
500 |
Err |
Internal Error |
|
409 |
Err |
MsgId is not unique |
|
400 |
Err |
XML does not match schema |
Example payroll
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>7421w6f13a01983593e8dffb71fa6d15</MsgId> <!-- Unique message ID -->
<CreDtTm>2022-03-30T12:00:00+03:00</CreDtTm> <!-- Date and time the message was created -->
<NbOfTxs>2</NbOfTxs> <!--Number of individual transactions contained in the payroll-->
<CtrlSum>200.00</CtrlSum> <!--Total of all individual amounts included in the payroll-->
<InitgPty>
<Nm>Общество с ограниченной ответственностью "Тест Альфа-Линк ЗУП"</Nm> <!-- Name of the company -->
<Id>
<OrgId>
<Othr>
<Id>0664010623</Id> <!-- TIN of the company -->
<SchmeNm>
<Cd>TXID</Cd>
</SchmeNm>
</Othr>
<Othr>
<Id>40702810800000000111</Id> <!-- Account number -->
<SchmeNm>
<Cd>ACC</Cd>
</SchmeNm>
</Othr>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId>7421w6f13a01983593e8dffb71fa6d15</PmtInfId> <!-- Unique payroll ID -->
<PmtMtd>DD</PmtMtd> <!-- Constant -->
<NbOfTxs>1</NbOfTxs> <!-- Registry number -->
<ReqdColltnDt>2022-03-30</ReqdColltnDt> <!-- Date of formation -->
<Cdtr>
<Nm>00753Z</Nm> <!-- Number of the payroll project contract -->
</Cdtr>
<CdtrAcct>
<Id>
<Othr>
<Id>01</Id> <!-- Type of enrollment -->
</Othr>
</Id>
</CdtrAcct>
<CdtrAgt>
<FinInstnId>
<Nm>044525593</Nm> <!-- BIK of the bank indicated in the payroll project -->
</FinInstnId>
</CdtrAgt>
<DrctDbtTxInf>
<PmtId>
<InstrId>1</InstrId> <!-- Line number in the payroll -->
<EndToEndId>7421w6f13a01983593e8dffb71fa6d15</EndToEndId> <!-- ID line in payroll -->
</PmtId>
<InstdAmt Ccy="RUB">100.00</InstdAmt> <!-- Amount payable to employee + Numeric currency code -->
<DbtrAgt>
<FinInstnId>
<Nm>0000</Nm> <!-- Payroll bank branch -->
<Othr>
<Id>0000</Id> <!-- Branch of the bank salary project -->
</Othr>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<PstlAdr>
<!-- Employee's last name -->
<Dept>Матросова</Dept>
<!-- Employee's first name -->
<SubDept>Алина</SubDept>
<!-- Employee's middle name -->
<StrtNm>Николаевна</StrtNm>
</PstlAdr>
</Dbtr>
<DbtrAcct>
<Id>
<Othr>
<Id>40817810904980000006</Id> <!-- Employee account number -->
</Othr>
</Id>
</DbtrAcct>
</DrctDbtTxInf>
<DrctDbtTxInf>
<PmtId>
<InstrId>2</InstrId> <!-- Line number in the payroll -->
<EndToEndId>7421w6f13a01983593e8dffb71fa6d16</EndToEndId> <!-- ID line in payroll -->
</PmtId>
<InstdAmt Ccy="RUB">100.00</InstdAmt> <!-- Amount payable to employee + Numeric currency code -->
<DbtrAgt>
<FinInstnId>
<Nm>0000</Nm> <!-- Payroll bank branch -->
<Othr>
<Id>0000</Id> <!-- Branch of the bank salary project -->
</Othr>
</FinInstnId>
</DbtrAgt>
<Dbtr>
<PstlAdr>
<!-- Employee's last name -->
<Dept>Печкин</Dept>
<!-- Employee's first name -->
<SubDept>Евгений</SubDept>
<!-- Employee's middle name -->
<StrtNm>Алексеевич</StrtNm>
</PstlAdr>
</Dbtr>
<DbtrAcct>
<Id>
<Othr>
<Id>40817810504980000011</Id> <!-- Employee account number -->
</Othr>
</Id>
</DbtrAcct>
</DrctDbtTxInf>
</PmtInf>
<SplmtryData>
<Envlp>
<SgntrSt>
</SgntrSt>
</Envlp>
</SplmtryData>
</CstmrDrctDbtInitn>
</Document>
Electronic signature
An electronic signature is generated by the algorithm ГОСТ R 34.10-2012 (256 and 512 bits) according to the XMLDSig standard. The Signature section, which contains the XMLDSig-generated EP, is placed in the SgntrSt section inside the SplmtryData section, which is designed to accommodate arbitrary data. Each Signature section contains a link to the section to be signed (s) inside the xml document. The message must be fully signed, including the section
<SplmtryData>
<Envlp>
<SgntrSt>
</SgntrSt>
</Envlp>
</SplmtryData>
General recommendations for generating an XMLDSig signature:
1) You can use a certified combination of the cryptographic provider CryptoPro CSP and the API from Java to it CryptoPro JavaCSP, but you must specify JavaCSP in your software
2)You can use CryptoPro JCP 2.0. There is .jar with examples: samples.jar samples-sources.jar including xmlSign in its distribution.
When you sign with two keys, you should sign only the data. When you sign with the second signature, the first signature is not signed
To avoid the "UnrecoverableKeyException: Get Key failed" error, you need to transfer the keys and certificate from the * .pfx repository to the HDImageStore repository (this will be a folder with 6 * .key files), which Java distinguishes with installed CryptoPro (more details https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=8271)
Examples of implementation and signed documents: https://github.com/Host-to-Host-Instructions/iso20022-signature
Signature Formation Example
<CstmrCdtTrfInitn>
...
<SplmtryData>
<Envlp>
<SgntrSt>
<Signature хmlns="http://www.w3.org/2000/09/xmldsig#">
{ЭП #1 …}
</Signature>
<Signature хmlns="http://www.w3.org/2000/09/xmldsig#">
{ЭП #2 …}
</Signature>
</SgntrSt>
</Envlp>
</SplmtryData>
</CstmrCdtTrfInitn>
Example request summary extract with signature
<?xml version="1.0" encoding="UTF-8"?>
<p:Document xmlns:p="urn:iso:std:iso:20022:tech:xsd:camt.060.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:camt.060.001.03">
<p:AcctRptgReq>
<p:GrpHdr>
<p:MsgId>MSG_20170830_test_55</p:MsgId>
<p:CreDtTm>2017-05-26T12:00:00</p:CreDtTm>
</p:GrpHdr>
<p:RptgReq>
<p:Id>REQ_20170830_test_55</p:Id>
<p:ReqdMsgNmId>HMQSTASCF</p:ReqdMsgNmId>
<p:Acct>
<p:Id>
<p:Othr>
<p:Id>40702810200000000083</p:Id>
</p:Othr>
</p:Id>
</p:Acct>
<p:AcctOwnr>
<p:Pty>
<p:Nm>ООО "Тест Альфа-Линк"</p:Nm>
</p:Pty>
</p:AcctOwnr>
<p:RptgPrd>
<p:FrToDt>
<p:FrDt>2017-02-23</p:FrDt>
<p:ToDt>2017-02-23</p:ToDt>
</p:FrToDt>
<p:FrToTm>
<p:FrTm>00:00:00</p:FrTm>
<p:ToTm>24:00:00</p:ToTm>
</p:FrToTm>
<p:Tp>ALLL</p:Tp>
</p:RptgPrd>
</p:RptgReq>
<p:RptgReq>
<p:Id>REQ_20170830_test_56</p:Id>
<p:ReqdMsgNmId>HMQSTASCF</p:ReqdMsgNmId>
<p:Acct>
<p:Id>
<p:Othr>
<p:Id>40702810100000000921</p:Id>
</p:Othr>
</p:Id>
</p:Acct>
<p:AcctOwnr>
<p:Pty>
<p:Nm>ООО "Тест Альфа-Линк"</p:Nm>
</p:Pty>
</p:AcctOwnr>
<p:RptgPrd>
<p:FrToDt>
<p:FrDt>2017-02-23</p:FrDt>
<p:ToDt>2017-02-23</p:ToDt>
</p:FrToDt>
<p:FrToTm>
<p:FrTm>00:00:00</p:FrTm>
<p:ToTm>24:00:00</p:ToTm>
</p:FrToTm>
<p:Tp>ALLL</p:Tp>
</p:RptgPrd>
</p:RptgReq>
<p:SplmtryData>
<p:Envlp>
<SgntrSt>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="sigID1">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34102012-gostr34112012-256"/>
<ds:Reference URI="">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="urn:ietf:params:xml:ns:cpxmlsec:algorithms:gostr34112012-256"/>
<ds:DigestValue>Xv/EW5v1khoK3nKbs3GVK5JtFW6Ij4sl7i17Vk+zkhA=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>dPJn/pPMbY3If7iThchSUnhLiCv40FMiOkxxBtQ3gKtCAi2xvHq0u17xsLCQr5nVW13PG02+8SsKF0ohqv+gug==</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>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</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
</SgntrSt>
</p:Envlp>
</p:SplmtryData>
</p:AcctRptgReq>
</p:Document>
Getting test certificates
To issue test certificates, you can:
-
Follow the link: https://www.cryptopro.ru/certsrv/certrqma.asp
-
Answer "yes" to the message: do I allow this operation?
-
Fill in all fields (Latin letters are used):
-
Name - for whom the certificate is issued
-
E-mail
-
Organization
-
Division
-
City
-
State
-
Country (RU)
-
Key usage: Signature
-
User-specified container name
-
-
Click "Issue"
-
CryptoPro CSP window will appear with a choice of media. Choose the storage path (if the key is installed on the computer, you must select the "Personal" folder).
-
Biological sensor: It is necessary to randomly move the mouse cursor inside the window until the loading lane is filled.
-
Click "Install this certificate"
-
Enter the password.
-
A folder with keys should be saved on the media.
To upload the public key of the certificate it is necessary:
-
Open the Certificates program from CryptoPro
-
Go to "Certificates - Current User" → "Personal" → "Certificates"
-
Find the certificate by name
-
Open the "Certificate Export Wizard" (Right-click on the certificate and go to "All tasks" → "Export…")
-
Click the "Next" button. Select "No, do not export the private key" and click "Next"
-
Select the item "Files X.509 (.CER) in DER encoding" and click "Next"
-
Click browse, specify the directory where the file will be saved, specify the file name, click "Save" and click "Next"
-
Click the "Done" button
-
The export was successfully completed.
-
Send the public key in the archive .zip to the address akopyltsova@alfabank.ru with the theme "Connecting to the Host-to-host test stand"