> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/group-validators/untitled-9.md).

# Validate KS RU

Checks the entered data for compliance with the format of the KS (correspondent bank account) of the Russian Federation.

{% hint style="info" %}
In practice, it is better to use it in conjunction with the [Validate BIK RU](/docs/business-logic/block/group-validators/untitled-6.md) block: first, the correctness of the BIK input is checked, then the CC.
{% endhint %}

### Stream connectors&#x20;

* \[Input] In - starts block execution.&#x20;
* \[Output] Out - is activated when the block has finished executing.&#x20;

### Data connectors&#x20;

* \[Input] ks (string) - the value to check for compliance with the format.&#x20;
* \[Input] bik (string) - BIC of the bank, whose KC needs to be checked.&#x20;
* \[Output] is\_valid (boolean) - if the value matches the format, it returns the value True, otherwise - False.
