> ## 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.

# Validation rules for receipts

> Summarizes the validation rules in the Receipt Document Definition, including amount checks, country and currency lists, and vendor data set rules.

The Receipt Document Definition includes the following preconfigured validation rules. You can disable any of these rules in the settings of the Receipt Document Definition, or create your own [validation rules](/flexi-capture/templates/rules).

| Rule                                                                            | Description                                                                                                                                               |
| ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Expense Type from list**                                                      | Allows users to select an expense type from a drop-down list during verification.                                                                         |
| **Choose Country from list**                                                    | Allows users to select a country from a drop-down list during verification.                                                                               |
| **Choose Currency from list**                                                   | Allows users to select a currency from a drop-down list during verification.                                                                              |
| **Show only for Hotel**                                                         | Displays the **Check-in** and **Check-out** fields if "Hotel" is selected in the **Expense type** field.                                                  |
| **Calculate Tax Amount**                                                        | Calculates the total tax amount.                                                                                                                          |
| **Check if Amounts equals Total**                                               | Checks if LineItems + Tax (if present) = Total. This rule is disabled by default. For this rule to work, both the rule and **LineItems** must be enabled. |
| **Check if Total equals Sum of TotalValue**                                     | Checks if the total amount of the receipt is the sum total of the amounts indicated for the line items.                                                   |
| **Vendor Database Check**<br />**Copy Expense Type**<br />**Copy Company Name** | A set of rules for working with a [vendor data set](/flexi-capture/ir-receipt-data-set).                                                                  |
