> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Rules

> Run custom logic after rule checks with the Check Rules event script in ABBYY FlexiCapture, which receives the checked document as a parameter.

## What it does

The handler of this event is used after rule checks.

## Parameters

| **Name** | **Type**                                               | **Access** | **Description**          |
| -------- | ------------------------------------------------------ | ---------- | ------------------------ |
| Document | [IDocument](/flexi-capture/appendix/scripts/idocument) | Read/write | Represents the document. |
