Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.
FlexiCapture for Invoices uses rules to validate invoices automatically. Upon validation, an invoice is assigned a status and a list of issued errors and warnings is generated, enabling the Operator to decide whether the invoice needs to be verified manually. While verifying an invoice in the document editor, the Operator sees the list of errors detected by the rules and can use this list to navigate and review the defective fields.ABBYY FlexiCapture for Invoices already includes predefined validation rules for invoices commonly used in different countries. For more information, see Available rules. Users can modify or remove existing rules and create new custom rules.
Features specific to rules in FlexiCapture for Invoices
For detailed instructions on working with rules in FlexiCapture, see Rule validation.Rules in FlexiCapture for Invoices have the following specific features:
To make a rule affect the status of a document, the rule must have a corresponding prefix in its name. Rules with names prefixed with (Exception) or (Rejected) change the status of an invoice to Exception or Rejected if the rule detects errors in that invoice.
Rules may be applied to a certain set of countries
To implement this feature, use conditions for applying rules. For more information, see Rule validation.Rules detect the country of an invoice based on the country of the business unit to which the invoice has been issued.If a certain kind of validation is relevant only to particular countries, only the relevant countries should be specified in the rule conditions. Conversely, if invoices from all countries must be validated except one particular country, be sure to exclude that country in the rule conditions (the condition must apply the rule only if the country of the business unit is not the same as the name of the excepted country).
In the Document Definition Properties dialog box, click the Rules tab and then click the Filter… button.
2
Select the country field
In the Filter dialog box, select If this condition is true and then select the Invoice Layout\BU\Country field, which defines the country of the business unit.
3
Set the condition
Select the Overlaps with set condition from the drop-down list.
4
Choose the countries
Use the Select… button to specify the required countries in the field below. A Field Value dialog box opens, where you select the countries for which to display the rules. For Germany, for example, select DE.
5
Apply the filter
Click OK.
The list now displays all the rules that are applied to invoices of the country you specified in the filter.
The condition that triggers a rule is shown in the Apply rule column.
You can use the following filtering criteria to find a rule:
Rule name
The name of a field referred to by the rule
The condition that triggers the rule
1
Open the filter
In the Document Definition Properties dialog box, click the Rules tab and then click the Filter… button.
2
Specify the criteria
In the Filter dialog box, you can select the name of the rule you want to find (the names are listed alphabetically), select a field referred to by the rule, or specify the condition that triggers the rule.
For detailed instructions on using the filter, see Rule validation.
From the Document Definition menu, select Document Definition Properties….
2
Open the Rules tab
In the dialog box that opens, click the Rules tab.
3
Show all rules
In the Show rules list, select owned by Document Definition and its children.
4
Select the field
Select the field where the rule is stored. This may affect the operation of some rules (for example, how its error messages are generated). If you have doubts as to which field to choose, select the topmost node, that is, Invoice Layout.
5
Add a new rule
Click New Rule….
6
Choose the rule type
In the dialog box that opens, select one of the standard rule types, or select Script, which allows you to write your own rule.
For detailed information about each rule type and for instructions on how to create them, see Rule validation.
The following steps are specific to creating rules in FlexiCapture for Invoices:
1
Specify the rule properties
After you select a rule type, specify:
Name – The name should reflect the kind of validation the rule performs. Errors issued by the rule are displayed to the Operator in the format Rule name: Error message. To make the rule affect the status of invoices, prefix its name with (Exception) or (Rejected), depending on the status you want assigned to an invoice if the rule detects an error.
Severity – Severity flags help the Operator review the errors and warnings and decide which invoices to verify manually. Data export can also depend on the severity flag. For example, you can:
Export documents that have no rule errors but have rule warnings to your working database.
Export documents that have rule errors to an exceptions folder.
Prohibit the export of documents with errors altogether.
For more information about setting up export based on the severity of a rule, see Rule validation.
Rule is enabled – Whether the rule is enabled after it is created.
2
Specify the condition for applying the rule
Typically, this condition is defined by the value of the Invoice Layout\BU\Country field. By default, the rule is always applied (Apply rule = always). To apply the rule only under certain conditions:
From the Apply rule list, select on condition.
Click Edit… to modify the condition.
Select the field whose value triggers the rule (Invoice Layout\BU\Country).
Specify the condition and, if applicable, allowed and prohibited values.
Example 1. The rule must be applied to German invoices. Select the Belongs to set condition, click Add, and add the value DE.Example 2. The rule must be applied to all invoices except German and French invoices. Select the Does not belong to set condition, click Add, and add the values DE and FR.
Clear the box in the Enabled column next to the rule. Alternatively, double-click the rule to open its Properties dialog box and clear the Enabled rule option on the General tab.
If you are certain that you no longer need a rule, you can delete it. To delete a rule:
Select the rule by clicking its name in the list and click Delete.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"ABBYY Documentation","description":"Public documentation for ABBYY products","colors":{"primary":"#ff2038","light":"#ff2038","dark":"#ff2038"},"logo":{"light":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","dark":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","href":"/home"},"favicon":"https://mintcdn.com/abbyy/Bmjdl5TjCaidPxKi/favicon.png?fit=max\u0026auto=format\u0026n=Bmjdl5TjCaidPxKi\u0026q=85\u0026s=a48bd110e79a8b2cca62fe532aae9ad7","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://www.abbyy.com","label":"Website"}],"primary":{"type":"button","label":"Get Started","href":"/vantage/getting-started/overview"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/abbyy","x":"https://x.com/ABBYY_Software"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.abbyy.com/privacy"},{"label":"Legal","href":"https://www.abbyy.com/legal"},{"label":"Cookie Policy","href":"https://www.abbyy.com/cookie-policy"},{"label":"Do Not Sell","href":"https://abbyy-privacy.my.onetrust.com/webform/89584c5c-03d1-431e-81d2-37c2205d3b5b/a1068ab4-f849-4a25-8b80-c65119915ec3"}]}]},"search":{"prompt":"Search documentation..."},"integrations":{"gtm":{"tagId":"GTM-PC7TQHPL"}},"contextual":{"options":["copy","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"home"},{"language":"de","href":"de/home"},{"language":"es","href":"es/home"},{"language":"fr","href":"fr/home"},{"language":"ja","href":"ja/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"abbyy","hasAudioNarration":false,"actualSubdomain":"abbyy","customDomains":["docs.abbyy.com"],"gitSource":{"type":"github","owner":"abbyyproduct","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af33e681661757f0de2fd26","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"de","tag":"FlexiCapture","count":2068},{"language":"es","tag":"FlexiCapture","count":2068},{"language":"en","tag":"FlexiCapture","count":2068},{"language":"fr","tag":"FlexiCapture","count":2068},{"language":"ja","tag":"FlexiCapture","count":2068},{"language":"de","tag":"FineReader Engine","count":1541},{"language":"es","tag":"FineReader Engine","count":1541},{"language":"en","tag":"FineReader Engine","count":1541},{"language":"fr","tag":"FineReader Engine","count":1541},{"language":"ja","tag":"FineReader Engine","count":1541},{"language":"de","tag":"API-Referenz","count":1155},{"language":"es","tag":"Referencia de la API","count":1155},{"language":"en","tag":"API Reference","count":1155},{"language":"fr","tag":"Référence de l’API","count":1155},{"language":"ja","tag":"APIリファレンス","count":1155},{"language":"de","tag":"Vantage","count":846},{"language":"es","tag":"Vantage","count":846},{"language":"en","tag":"Vantage","count":846},{"language":"fr","tag":"Vantage","count":846},{"language":"ja","tag":"Vantage","count":846},{"language":"de","tag":"Entwicklung \u0026 Integrationen","count":799},{"language":"es","tag":"Desarrolladores e integraciones","count":799},{"language":"en","tag":"Developer \u0026 Integrations","count":799},{"language":"fr","tag":"Développement \u0026 intégrations","count":799},{"language":"ja","tag":"開発と連携","count":799},{"language":"de","tag":"Projekteinrichtung \u0026 Design","count":741},{"language":"es","tag":"Configuración y diseño del proyecto","count":741},{"language":"en","tag":"Project Setup \u0026 Design","count":741},{"language":"fr","tag":"Configuration du projet \u0026 conception","count":741},{"language":"ja","tag":"プロジェクト設定と設計","count":741},{"language":"de","tag":"Programmierhandbuch","count":606},{"language":"es","tag":"Guía del programador","count":606},{"language":"en","tag":"Programmer's Guide","count":606},{"language":"de","tag":"Advanced Designer","count":520},{"language":"es","tag":"Advanced Designer","count":520},{"language":"en","tag":"Advanced Designer","count":520},{"language":"fr","tag":"Advanced Designer","count":520},{"language":"ja","tag":"Advanced Designer","count":520},{"language":"de","tag":"Skills","count":516},{"language":"en","tag":"Skills","count":516},{"language":"es","tag":"Habilidades","count":514},{"language":"fr","tag":"Compétences","count":514},{"language":"ja","tag":"Skill","count":514},{"language":"fr","tag":"Guide du développeur","count":431},{"language":"de","tag":"Skriptreferenz","count":392},{"language":"es","tag":"Referencia de scripts","count":392},{"language":"ja","tag":"スクリプトリファレンス","count":392},{"language":"en","tag":"Connectors","count":365},{"language":"fr","tag":"Connecteurs","count":365},{"language":"ja","tag":"FlexiLayout Studio","count":345}],"searchSettings":{"isFiltersEnabled":true,"maxResults":10}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"footer{margin-top:auto;padding:2rem 0;border-top:1px solid var(--border-color);width:100%;clear:both;position:relative;z-index:1}body{display:flex;flex-direction:column;min-height:100vh}main{flex:1}footer a{color:var(--text-secondary);text-decoration:none;transition:color 0.2s ease}footer a:hover{color:var(--primary);text-decoration:underline}footer>div{max-width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}footer .footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;margin-top:1rem}@media (min-width: 1024px){footer{margin-left:0;padding-left:1rem}}.abbyy-stripe{background-image:linear-gradient(45deg, #dfebfd, #dfebfd 10px, #ecf3fe 10px, #ecf3fe 20px)}.dark .abbyy-stripe{background-image:linear-gradient(45deg, rgb(30 41 59 / 0.45), rgb(30 41 59 / 0.45) 10px, rgb(15 23 42 / 0.45) 10px, rgb(15 23 42 / 0.45) 20px)}.abbyy-btn-primary{background-color:#ff2038}.abbyy-btn-primary:hover{background-color:#e01c32}.abbyy-btn-primary:focus{--tw-ring-color: rgb(255 32 56 / 0.35)}.abbyy-link-primary{color:#ff2038}.abbyy-link-primary:hover{color:#e01c32}.dark .abbyy-link-primary{color:#ff4d60}.abbyy-eyebrow{color:#0b4aaa}.dark .abbyy-eyebrow{color:#93b8ec}.docs-home{max-width:80rem;margin:0 auto;padding:2.5rem 1.25rem 8rem}@media (min-width: 1024px){.docs-home{padding-left:2.5rem;padding-right:2.5rem}}.docs-home h1{font-size:2rem;font-weight:800;margin-top:1.5rem;margin-bottom:0.75rem;color:#0f172a;letter-spacing:-0.025em}@media (min-width: 640px){.docs-home h1{font-size:2.5rem}}.docs-home>p:first-of-type{color:#374151;font-size:1.0625rem;line-height:1.75;margin-bottom:2rem}.docs-home h2{font-size:1.375rem;font-weight:700;margin-top:2.5rem;margin-bottom:0.5rem;color:#0f172a}.docs-home a.link,.docs-home p a,.docs-home [data-as=\"p\"] a{color:#0f172a!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:3px!important}.dark .docs-home a.link,.dark .docs-home p a,.dark .docs-home [data-as=\"p\"] a{color:#f1f5f9!important}.docs-home>p{color:#374151;font-size:1rem;line-height:1.75;margin-bottom:1.75rem}.docs-home .card-group{gap:0.75rem!important;margin-top:0.75rem!important;max-width:64rem}.docs-home .card [data-component-part=\"card-content-container\"]{padding:1.25rem 1.5rem!important}.docs-home .card [data-component-part=\"card-title\"]{margin-top:0.5rem!important;font-weight:600!important;font-size:0.9375rem!important;color:#0f172a}.docs-home .card [data-component-part=\"card-content\"]{font-size:0.8125rem!important;line-height:1.5!important;color:#475569}.docs-home .card [data-component-part=\"card-cta\"]{margin-top:0.75rem!important}.docs-home .learn-more{display:block;margin-top:0.5rem;font-size:0.8125rem;color:var(--primary);font-weight:500}.dark .docs-home h1,.dark .docs-home h2{color:#f1f5f9}.dark .docs-home>p,.dark .docs-home .card [data-component-part=\"card-content\"]{color:#94a3b8}.dark .docs-home .card [data-component-part=\"card-title\"]{color:#f1f5f9}@media (max-width: 768px){footer .footer-links{flex-direction:column;gap:0.75rem}footer{padding:1.5rem 1rem}}"}],"page":{"pagePath":"flexi-capture/invoice-reader/ir-setting-rules","slug":"/flexi-capture/invoice-reader/ir-setting-rules","pageMetadata":{"title":"Rules","description":"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.","keywords":["validation rules","create a rule","rule conditions","Rules tab","(Rejected) prefix","(Exception) prefix","rule filter","country-specific rules","invoice validation","ABBYY FlexiCapture for Invoices"],"href":"/flexi-capture/invoice-reader/ir-setting-rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,Step,Steps}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`FlexiCapture for Invoices uses rules to validate invoices automatically. Upon validation, an invoice is assigned a status and a list of issued errors and warnings is generated, enabling the Operator to decide whether the invoice needs to be verified manually. While verifying an invoice in the document editor, the Operator sees the list of errors detected by the rules and can use this list to navigate and review the defective fields.`}),`\n`,_jsxs(_components.p,{children:[`ABBYY FlexiCapture for Invoices already includes predefined validation rules for invoices commonly used in different countries. For more information, see `,_jsx(_components.a,{href:`/flexi-capture/invoice-reader/ir-rules`,children:`Available rules`}),`. Users can modify or remove existing rules and create new custom rules.`]}),`\n`,_jsx(Heading,{level:`2`,id:`features-specific-to-rules-in-flexicapture-for-invoices`,children:`Features specific to rules in FlexiCapture for Invoices`}),`\n`,_jsxs(_components.p,{children:[`For detailed instructions on working with rules in FlexiCapture, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]}),`\n`,_jsx(_components.p,{children:`Rules in FlexiCapture for Invoices have the following specific features:`}),`\n`,_jsx(Heading,{level:`3`,id:`rules-may-affect-the-status-of-a-document`,children:`Rules may affect the status of a document`}),`\n`,_jsxs(_components.p,{children:[`To make a rule affect the status of a document, the rule must have a corresponding prefix in its name. Rules with names prefixed with `,_jsx(_components.strong,{children:`(Exception)`}),` or `,_jsx(_components.strong,{children:`(Rejected)`}),` change the status of an invoice to `,_jsx(_components.strong,{children:`Exception`}),` or `,_jsx(_components.strong,{children:`Rejected`}),` if the rule detects errors in that invoice.`]}),`\n`,_jsx(Heading,{level:`3`,id:`rules-may-be-applied-to-a-certain-set-of-countries`,children:`Rules may be applied to a certain set of countries`}),`\n`,_jsxs(_components.p,{children:[`To implement this feature, use conditions for applying rules. For more information, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]}),`\n`,_jsx(_components.p,{children:`Rules detect the country of an invoice based on the country of the business unit to which the invoice has been issued.`}),`\n`,_jsx(_components.p,{children:`If a certain kind of validation is relevant only to particular countries, only the relevant countries should be specified in the rule conditions. Conversely, if invoices from all countries must be validated except one particular country, be sure to exclude that country in the rule conditions (the condition must apply the rule only if the country of the business unit is not the same as the name of the excepted country).`}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-list-of-rules`,children:`Use the list of rules`}),`\n`,_jsx(Heading,{level:`3`,id:`view-the-complete-list-of-rules`,children:`View the complete list of rules`}),`\n`,_jsx(_components.p,{children:`To view all the rules set up for the project:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Document Definition properties`,children:_jsxs(_components.p,{children:[`From the `,_jsx(_components.strong,{children:`Document Definition`}),` menu, select `,_jsx(_components.strong,{children:`Document Definition Properties…`}),`.`]})}),_jsx(Step,{title:`Open the Rules tab`,children:_jsxs(_components.p,{children:[`In the dialog box that opens, click the `,_jsx(_components.strong,{children:`Rules`}),` tab.`]})}),_jsx(Step,{title:`Show all rules`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Show rules`}),` list, select `,_jsx(_components.strong,{children:`owned by Document Definition and its children`}),`.`]})})]}),`\n`,_jsx(_components.p,{children:`To view all the rules that are applied to invoices from a particular country (for example, Germany), use the filter.`}),`\n`,_jsx(Heading,{level:`3`,id:`set-up-a-filter`,children:`Set up a filter`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the filter`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Document Definition Properties`}),` dialog box, click the `,_jsx(_components.strong,{children:`Rules`}),` tab and then click the `,_jsx(_components.strong,{children:`Filter…`}),` button.`]})}),_jsx(Step,{title:`Select the country field`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Filter`}),` dialog box, select `,_jsx(_components.strong,{children:`If this condition is true`}),` and then select the `,_jsx(_components.strong,{children:`Invoice Layout\\\\BU\\\\Country`}),` field, which defines the country of the business unit.`]})}),_jsx(Step,{title:`Set the condition`,children:_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`Overlaps with set`}),` condition from the drop-down list.`]})}),_jsx(Step,{title:`Choose the countries`,children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.strong,{children:`Select…`}),` button to specify the required countries in the field below. A `,_jsx(_components.strong,{children:`Field Value`}),` dialog box opens, where you select the countries for which to display the rules. For Germany, for example, select `,_jsx(_components.strong,{children:`DE`}),`.`]})}),_jsx(Step,{title:`Apply the filter`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`OK`}),`.`]})})]}),`\n`,_jsx(_components.p,{children:`The list now displays all the rules that are applied to invoices of the country you specified in the filter.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The condition that triggers a rule is shown in the `,_jsx(_components.strong,{children:`Apply rule`}),` column.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`find-a-rule-in-the-list`,children:`Find a rule in the list`}),`\n`,_jsx(_components.p,{children:`You can use the following filtering criteria to find a rule:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Rule name`}),`\n`,_jsx(_components.li,{children:`The name of a field referred to by the rule`}),`\n`,_jsx(_components.li,{children:`The condition that triggers the rule`}),`\n`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the filter`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Document Definition Properties`}),` dialog box, click the `,_jsx(_components.strong,{children:`Rules`}),` tab and then click the `,_jsx(_components.strong,{children:`Filter…`}),` button.`]})}),_jsx(Step,{title:`Specify the criteria`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Filter`}),` dialog box, you can select the name of the rule you want to find (the names are listed alphabetically), select a field referred to by the rule, or specify the condition that triggers the rule.`]})})]}),`\n`,_jsxs(_components.p,{children:[`For detailed instructions on using the filter, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-new-rules`,children:`Create new rules`}),`\n`,_jsx(_components.p,{children:`To create a new rule:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Document Definition properties`,children:_jsxs(_components.p,{children:[`From the `,_jsx(_components.strong,{children:`Document Definition`}),` menu, select `,_jsx(_components.strong,{children:`Document Definition Properties…`}),`.`]})}),_jsx(Step,{title:`Open the Rules tab`,children:_jsxs(_components.p,{children:[`In the dialog box that opens, click the `,_jsx(_components.strong,{children:`Rules`}),` tab.`]})}),_jsx(Step,{title:`Show all rules`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Show rules`}),` list, select `,_jsx(_components.strong,{children:`owned by Document Definition and its children`}),`.`]})}),_jsx(Step,{title:`Select the field`,children:_jsxs(_components.p,{children:[`Select the field where the rule is stored. This may affect the operation of some rules (for example, how its error messages are generated). If you have doubts as to which field to choose, select the topmost node, that is, `,_jsx(_components.strong,{children:`Invoice Layout`}),`.`]})}),_jsx(Step,{title:`Add a new rule`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`New Rule…`}),`.`]})}),_jsx(Step,{title:`Choose the rule type`,children:_jsxs(_components.p,{children:[`In the dialog box that opens, select one of the standard rule types, or select `,_jsx(_components.strong,{children:`Script`}),`, which allows you to write your own rule.`]})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For detailed information about each rule type and for instructions on how to create them, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]})}),`\n`,_jsx(_components.p,{children:`The following steps are specific to creating rules in FlexiCapture for Invoices:`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Specify the rule properties`,children:[_jsx(_components.p,{children:`After you select a rule type, specify:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Name`}),` – The name should reflect the kind of validation the rule performs. Errors issued by the rule are displayed to the Operator in the format `,_jsx(_components.strong,{children:`Rule name: Error message.`}),` To make the rule affect the status of invoices, prefix its name with `,_jsx(_components.strong,{children:`(Exception)`}),` or `,_jsx(_components.strong,{children:`(Rejected)`}),`, depending on the status you want assigned to an invoice if the rule detects an error.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Severity`}),` – Severity flags help the Operator review the errors and warnings and decide which invoices to verify manually. Data export can also depend on the severity flag. For example, you can:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Export documents that have no rule errors but have rule warnings to your working database.`}),`\n`,_jsx(_components.li,{children:`Export documents that have rule errors to an exceptions folder.`}),`\n`,_jsx(_components.li,{children:`Prohibit the export of documents with errors altogether.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more information about setting up export based on the severity of a rule, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rule is enabled`}),` – Whether the rule is enabled after it is created.`]}),`\n`]}),`\n`]})]}),_jsxs(Step,{title:`Specify the condition for applying the rule`,children:[_jsxs(_components.p,{children:[`Typically, this condition is defined by the value of the `,_jsx(_components.strong,{children:`Invoice Layout\\\\BU\\\\Country`}),` field. By default, the rule is always applied (`,_jsx(_components.strong,{children:`Apply rule = always`}),`). To apply the rule only under certain conditions:`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`From the `,_jsx(_components.strong,{children:`Apply rule`}),` list, select `,_jsx(_components.strong,{children:`on condition`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Edit…`}),` to modify the condition.`]}),`\n`,_jsxs(_components.li,{children:[`Select the field whose value triggers the rule (`,_jsx(_components.strong,{children:`Invoice Layout\\\\BU\\\\Country`}),`).`]}),`\n`,_jsx(_components.li,{children:`Specify the condition and, if applicable, allowed and prohibited values.`}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example 1.`}),` The rule must be applied to German invoices. Select the `,_jsx(_components.strong,{children:`Belongs to set`}),` condition, click `,_jsx(_components.strong,{children:`Add`}),`, and add the value `,_jsx(_components.strong,{children:`DE`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example 2.`}),` The rule must be applied to all invoices except German and French invoices. Select the `,_jsx(_components.strong,{children:`Does not belong to set`}),` condition, click `,_jsx(_components.strong,{children:`Add`}),`, and add the values `,_jsx(_components.strong,{children:`DE`}),` and `,_jsx(_components.strong,{children:`FR`}),`.`]})]}),_jsx(Step,{title:`Set up the rule`,children:_jsxs(_components.p,{children:[`For detailed information, see `,_jsx(_components.a,{href:`/flexi-capture/templates/rules`,children:`Rule validation`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`disable-or-delete-a-rule`,children:`Disable or delete a rule`}),`\n`,_jsx(_components.p,{children:`To disable a previously set up rule:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Find the rule`,children:_jsxs(_components.p,{children:[`Find the rule in the list. For more information, see `,_jsx(_components.a,{href:`#find-a-rule-in-the-list`,children:`Find a rule in the list`}),`.`]})}),_jsx(Step,{title:`Clear the Enabled option`,children:_jsxs(_components.p,{children:[`Clear the box in the `,_jsx(_components.strong,{children:`Enabled`}),` column next to the rule. Alternatively, double-click the rule to open its `,_jsx(_components.strong,{children:`Properties`}),` dialog box and clear the `,_jsx(_components.strong,{children:`Enabled rule`}),` option on the `,_jsx(_components.strong,{children:`General`}),` tab.`]})})]}),`\n`,_jsx(_components.p,{children:`If you are certain that you no longer need a rule, you can delete it. To delete a rule:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Find the rule`,children:_jsxs(_components.p,{children:[`Find the rule in the list. For more information, see `,_jsx(_components.a,{href:`#find-a-rule-in-the-list`,children:`Find a rule in the list`}),`.`]})}),_jsx(Step,{title:`Delete it`,children:_jsxs(_components.p,{children:[`Select the rule by clicking its name in the list and click `,_jsx(_components.strong,{children:`Delete`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Rules","description":"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.","keywords":["validation rules","create a rule","rule conditions","Rules tab","(Rejected) prefix","(Exception) prefix","rule filter","country-specific rules","invoice validation","ABBYY FlexiCapture for Invoices"],"href":"/flexi-capture/invoice-reader/ir-setting-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Features specific to rules in FlexiCapture for Invoices","slug":"features-specific-to-rules-in-flexicapture-for-invoices","depth":2,"children":[{"title":"Rules may affect the status of a document","slug":"rules-may-affect-the-status-of-a-document","depth":3,"children":[]},{"title":"Rules may be applied to a certain set of countries","slug":"rules-may-be-applied-to-a-certain-set-of-countries","depth":3,"children":[]}]},{"title":"Use the list of rules","slug":"use-the-list-of-rules","depth":2,"children":[{"title":"View the complete list of rules","slug":"view-the-complete-list-of-rules","depth":3,"children":[]},{"title":"Set up a filter","slug":"set-up-a-filter","depth":3,"children":[]},{"title":"Find a rule in the list","slug":"find-a-rule-in-the-list","depth":3,"children":[]}]},{"title":"Create new rules","slug":"create-new-rules","depth":2,"children":[]},{"title":"Disable or delete a rule","slug":"disable-or-delete-a-rule","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/abbyy/1facc084b5289853/images/vantage/scanning-station/breadcrumbs.js"],"subdomain":"abbyy","siteName":"ABBYY Documentation","title":"Rules - ABBYY Documentation","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/flexi-capture/invoice-reader/ir-setting-rules","matchLevel":0},"de":{"href":"/de/flexi-capture/invoice-reader/ir-setting-rules","matchLevel":1},"es":{"href":"/es/flexi-capture/invoice-reader/ir-setting-rules","matchLevel":1},"fr":{"href":"/fr/flexi-capture/invoice-reader/ir-setting-rules","matchLevel":1},"ja":{"href":"/ja/flexi-capture/invoice-reader/ir-setting-rules","matchLevel":1}}},"lastModified":"2026-08-27T18:23:54.492Z","originalFileLocation":"flexi-capture/invoice-reader/ir-setting-rules.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rules - ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=How+to+set+up+an+invoice+capture+project\u0026amp;title=Rules\u0026amp;description=Create%2C+filter%2C+and+disable+validation+rules+in+ABBYY+FlexiCapture+for+Invoices%2C+including+status-changing+prefixes+and+country-specific+rule+conditions.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=91c931c88f22f9ece3a7ee0a4baf9a2e4f2319f95e952b73d5d777eaf9366eab\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Rules - ABBYY Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=How+to+set+up+an+invoice+capture+project\u0026amp;title=Rules\u0026amp;description=Create%2C+filter%2C+and+disable+validation+rules+in+ABBYY+FlexiCapture+for+Invoices%2C+including+status-changing+prefixes+and+country-specific+rule+conditions.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=91c931c88f22f9ece3a7ee0a4baf9a2e4f2319f95e952b73d5d777eaf9366eab\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff2038\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/flexi-capture/invoice-reader/ir-setting-rules.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.abbyy.com/de/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.abbyy.com/es/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.abbyy.com/fr/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.abbyy.com/ja/flexi-capture/invoice-reader/ir-setting-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.abbyy.com/#organization\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.abbyy.com#website\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules#webpage\",\"url\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\",\"name\":\"Rules\",\"description\":\"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\",\"dateModified\":\"2026-08-27T18:23:54.492Z\",\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ABBYY FlexiCapture for Invoices\",\"item\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-title-topic\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up an invoice capture project\",\"item\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-how-to-adjust-project\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Rules\",\"item\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules#article\",\"headline\":\"Rules\",\"name\":\"Rules\",\"description\":\"Create, filter, and disable validation rules in ABBYY FlexiCapture for Invoices, including status-changing prefixes and country-specific rule conditions.\",\"url\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.abbyy.com/flexi-capture/invoice-reader/ir-setting-rules#webpage\"},\"dateModified\":\"2026-08-27T18:23:54.492Z\",\"keywords\":\"validation rules, create a rule, rule conditions, Rules tab, (Rejected) prefix, (Exception) prefix, rule filter, country-specific rules, invoice validation, ABBYY FlexiCapture for Invoices\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"}}]}\u003c/script>","agentPointerHref":"/flexi-capture/invoice-reader/ir-setting-rules.md","siteName":"ABBYY Documentation","nav":{"languages":[{"language":"en","products":[{"product":"Home","description":"ABBYY Documentation Portal","pages":[{"title":"Home","href":"/home"}]},{"product":"Vantage","description":"AI-powered Intelligent Document Processing","pages":[{"title":"Vantage","href":"/vantage/introduction"}]},{"product":"Vantage Self-Hosted","description":"Customer-hosted deployment of ABBYY Vantage on Kubernetes","versions":[{"version":"2.7"},{"version":"3.0"}],"pages":[{"title":"Vantage Self-Hosted","href":"/vantage/self-hosted/v3.0/introduction"}]},{"product":"FineParser","description":"Docker-native document parsing for AI pipelines","pages":[{"title":"FineParser","href":"/fine-parser/getting-started/introduction"}]},{"product":"FineReader Engine","description":"OCR SDK for developers","pages":[{"title":"FineReader Engine","href":"/fine-reader/engine/introduction"}]},{"product":"FlexiCapture","description":"ABBYY FlexiCapture: design, capture, scan, process, verify, administer, and integrate intelligent document processing.","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/flexi-capture/overview/hub"}]},{"tab":"Project Setup \u0026 Design","menu":[{"item":"Project Setup","icon":"diagram-project","description":"Configure projects, Document Definitions, workflows, and export on the capture platform.","pages":[{"title":"Project Setup","href":"/flexi-capture/admin-guide/architecture-ag"}]},{"item":"FlexiLayout Studio","icon":"shapes","description":"Author flexible layouts to capture data from unstructured documents.","pages":[{"title":"FlexiLayout Studio","href":"/flexi-capture/fls/introducing"}]},{"item":"Form Designer","icon":"table-cells","description":"Design machine-readable fixed forms for ABBYY FlexiCapture.","pages":[{"title":"Form Designer","href":"/flexi-capture/form-designer/about-program"}]}],"pages":[{"title":"Project Setup \u0026 Design","href":"/flexi-capture/admin-guide/architecture-ag"}]},{"tab":"Operator Guides","menu":[{"item":"Stations \u0026 Web Clients","icon":"user-check","description":"Operator guides for the verification, web, and mobile stations.","pages":[{"title":"Stations \u0026 Web Clients","href":"/flexi-capture/verificator-edit-images"}]},{"item":"Scanning Station","icon":"scanner-image","description":"Scan, import, and submit documents into FlexiCapture for processing.","pages":[{"title":"Scanning Station","href":"/flexi-capture/scanning-station/about-program"}]},{"item":"Invoice Processing","icon":"file-invoice","description":"Capture and verify invoices with FlexiCapture for Invoices, on-premises or in the cloud.","groups":[{"group":"ABBYY FlexiCapture for Invoices","pages":[{"title":"ABBYY FlexiCapture for Invoices","href":"/flexi-capture/invoice-reader/ir-title-topic"},{"title":"Features of ABBYY FlexiCapture for Invoices","href":"/flexi-capture/invoice-reader/newfeaturesinvoices"},{"group":"How to capture invoices","pages":[{"title":"How to capture invoices","href":"/flexi-capture/invoice-reader/ir-invoices-input"},{"title":"Adding and recognizing images","href":"/flexi-capture/invoice-reader/ir-image-adding-and-recognition"},{"group":"Verification","pages":[{"title":"Verification","href":"/flexi-capture/invoice-reader/ir-verification"},{"title":"Invoice statuses","href":"/flexi-capture/invoice-reader/ir-ver-status"},{"title":"Correcting recognition errors","href":"/flexi-capture/invoice-reader/ir-correcting"},{"title":"Looking up vendors and business units in the database","href":"/flexi-capture/invoice-reader/ir-data-set-using"},{"title":"Verification of line items","href":"/flexi-capture/invoice-reader/ir-matching-line-items"},{"title":"Training during invoice capture","href":"/flexi-capture/invoice-reader/ir-operator-training"}]},{"title":"Exporting data","href":"/flexi-capture/invoice-reader/ir-data-export"}]},{"group":"How to set up an invoice capture project","pages":[{"title":"How to set up an invoice capture project","href":"/flexi-capture/invoice-reader/ir-how-to-adjust-project"},{"title":"Country and language settings","href":"/flexi-capture/invoice-reader/ir-country-and-language-setting"},{"group":"Connecting vendor and business unit databases","pages":[{"title":"Using vendor and business unit databases","href":"/flexi-capture/invoice-reader/ir-db-connection"},{"title":"Preparing vendor and business unit databases","href":"/flexi-capture/invoice-reader/ir-preparing-db"},{"title":"Updating data sets","href":"/flexi-capture/invoice-reader/ir-data-set-update"},{"title":"Normalization of values in data sets","href":"/flexi-capture/invoice-reader/ir-normalization"}]},{"title":"Data export settings","href":"/flexi-capture/invoice-reader/ir-data-export-setting"},{"title":"The status of documents in ABBYY FlexiCapture for Invoices projects","description":"Manage invoice statuses in ABBYY FlexiCapture for Invoices: how Valid, Exception, and Rejected statuses are assigned, disabled, and used in export.","href":"/flexi-capture/invoice-reader/ir-status"},{"title":"Rules","href":"/flexi-capture/invoice-reader/ir-setting-rules"},{"group":"Capturing additional invoice fields","pages":[{"title":"Capturing additional invoice fields","description":"Capture invoice fields beyond the default set in ABBYY FlexiCapture for Invoices by enabling predefined fields, training, or custom FlexiLayouts.","href":"/flexi-capture/invoice-reader/ir-optional-fields-extraction"},{"title":"Additional fields","href":"/flexi-capture/invoice-reader/ir-additional-fields"},{"title":"Custom fields","href":"/flexi-capture/invoice-reader/ir-custom-fields"},{"title":"Special features of ABBYY FlexiLayout Studio for creating additional FlexiLayouts","href":"/flexi-capture/invoice-reader/ir-fls-special-facilities"},{"title":"How results from different FlexiLayouts are merged","href":"/flexi-capture/invoice-reader/ir-mechanism"}]},{"title":"Purchase order matching","href":"/flexi-capture/invoice-reader/ir-po-matching"},{"title":"Enabling additional program features for operators","href":"/flexi-capture/invoice-reader/ir-advanced-options-activation"},{"title":"Using multiple Document Definitions","href":"/flexi-capture/invoice-reader/ir-doc-definition"},{"title":"Editing invoice processing settings in XML files","href":"/flexi-capture/invoice-reader/ir-invoice-settings-xml"},{"title":"Updating the built-in Document Definition","href":"/flexi-capture/invoice-reader/update-doc-def"},{"title":"Selecting the right tax system","href":"/flexi-capture/tax-systems"},{"title":"Address parsing","href":"/flexi-capture/invoice-reader/ir-address-parsing"}]},{"group":"Specifications","pages":[{"title":"Specifications","href":"/flexi-capture/invoice-reader/ir-specifications"},{"title":"Supported countries and languages","href":"/flexi-capture/invoice-reader/ir-supported-languages-and-countries"},{"title":"Captured fields","href":"/flexi-capture/invoice-reader/ir-extractable-fields"},{"title":"Detecting the main fields","href":"/flexi-capture/invoice-reader/ir-search-fields"},{"group":"Data Sets","pages":[{"title":"Data sets used to improve detection","href":"/flexi-capture/invoice-reader/ir-columns"},{"title":"BusinessUnits data set","href":"/flexi-capture/invoice-reader/ir-columns-bu"},{"title":"Vendors data set","href":"/flexi-capture/invoice-reader/ir-columns-vendors"},{"title":"PurchaseOrders data set","href":"/flexi-capture/invoice-reader/ir-columns-po"},{"title":"PurchaseOrdersItems data set","href":"/flexi-capture/invoice-reader/ir-columns-po-items"},{"title":"GLCodes data set","href":"/flexi-capture/invoice-reader/ir-columns-gl-codes"},{"title":"CostCenters data set","href":"/flexi-capture/invoice-reader/ir-columns-cost-centers"}]},{"title":"Available rules","href":"/flexi-capture/invoice-reader/ir-rules"},{"title":"Keywords","href":"/flexi-capture/invoice-reader/ir-language-keywords"},{"title":"Extended regular expressions","href":"/flexi-capture/invoice-reader/ir-regular-expression-ext"},{"title":"Glossary","href":"/flexi-capture/invoice-reader/ir-glossary"}]},{"group":"Capture receipts","pages":[{"title":"Capture receipts","href":"/flexi-capture/ir-receipt"},{"title":"Image preprocessing","href":"/flexi-capture/ir-receipt-image-preprocessing"},{"title":"Supported countries for receipts","href":"/flexi-capture/ir-receipt-supported-countries"},{"title":"Captured fields for receipts","href":"/flexi-capture/ir-receipt-extractable-fields"},{"title":"Validation rules for receipts","href":"/flexi-capture/ir-receipt-rules"},{"title":"Use a data set to improve detection for receipts","href":"/flexi-capture/ir-receipt-data-set"}]},{"group":"Capture purchase orders","pages":[{"title":"Capture purchase orders","href":"/flexi-capture/ir-orders"},{"title":"Supported countries for purchase orders","href":"/flexi-capture/ir-orders-supported-countries"},{"title":"Captured fields for purchase orders","href":"/flexi-capture/ir-orders-extractable-fields"},{"title":"Validation rules for purchase orders","href":"/flexi-capture/ir-orders-rules"},{"group":"Use data sets to improve detection","pages":[{"title":"Use data sets to improve detection for purchase orders","href":"/flexi-capture/ir-orders-data-sets"},{"title":"BusinessUnits data set","href":"/flexi-capture/ir-po-columns-bu"},{"title":"Variants data set","href":"/flexi-capture/ir-po-columns-variants"},{"title":"Articles data set","href":"/flexi-capture/ir-po-columns-articles"}]},{"title":"Additional options for purchase orders","href":"/flexi-capture/ir-orders-features"}]},{"group":"Capture commercial invoices","pages":[{"title":"Capture commercial invoices","href":"/flexi-capture/ir-commercial-invoices"},{"title":"Captured fields for commercial invoices","href":"/flexi-capture/ir-commercial-invoices-extractable-fields"},{"title":"Validation rules for commercial invoices","href":"/flexi-capture/ir-commercial-invoices-rules"},{"group":"Use data sets to improve detection","pages":[{"title":"Use data sets to improve detection for commercial invoices","href":"/flexi-capture/ir-commercial-invoices-data-sets"},{"title":"Variants data set","href":"/flexi-capture/ir-ci-columns-vendors"},{"title":"BusinessUnits data set","href":"/flexi-capture/ir-ci-columns-bu"}]},{"title":"Additional options for commercial invoices","href":"/flexi-capture/ir-commercial-invoices-features"}]},{"group":"Training ABBYY FlexiCapture for Invoices","pages":[{"title":"Training ABBYY FlexiCapture for Invoices","href":"/flexi-capture/invoice-reader/ir-admin-training"},{"title":"Training while processing documents","href":"/flexi-capture/invoice-reader/ir-training-during-setup"},{"title":"Training done by project administrators","href":"/flexi-capture/invoice-reader/ir-training-doc-variants"},{"title":"Training with clustering","href":"/flexi-capture/ir-clustering"},{"title":"Transferring training results into another project","href":"/flexi-capture/invoice-reader/ir-import-training"},{"title":"Field training limitations","href":"/flexi-capture/limitations"}]}]},{"group":"ABBYY FlexiCapture for Invoices Cloud","pages":[{"title":"ABBYY FlexiCapture for Invoices Cloud","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-intro"},{"title":"Process invoices via the API","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-quick-start"},{"group":"Tutorial","pages":[{"title":"Tutorial","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-tutorial"},{"title":"Extraction of main invoice fields","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-extraction"},{"title":"Verification of extracted data","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-verification"},{"title":"Improve capture quality","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-improving-quality"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api"},{"title":"Authentication","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-auth"},{"group":"File","pages":[{"title":"File","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-file"},{"title":"Upload","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-upload-file"},{"title":"Download","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-download-file"},{"title":"Get metadata","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-get-file-metadata"},{"title":"Delete","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-delete-file"}]},{"group":"Task","pages":[{"title":"Task","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-task"},{"title":"Run","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-run-task"},{"title":"Get","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-get-task"},{"title":"Delete","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-delete-task"}]},{"group":"Invoice Master Data","pages":[{"title":"Invoice Master Data","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-master-data"},{"title":"Create business unit","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-create-bu"},{"title":"Update business unit","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-update-bu"},{"title":"Get business unit","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-get-bu"},{"title":"Remove business unit by region","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-remove-b-uby-reg"},{"title":"Remove business unit by ID","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-remove-b-uby-id"},{"title":"Create vendor","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-create-vendor"},{"title":"Update vendor","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-update-vendor"},{"title":"Get vendor","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-get-vendor"},{"title":"Remove vendor by region","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-remove-vendor-by-reg"},{"title":"Remove vendor by ID","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-remove-vendor-by-id"}]},{"group":"Training","pages":[{"title":"Training","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-training"},{"title":"Train","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-train-model"},{"title":"Layout","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-get-layout"}]},{"title":"Request errors","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-errors"}]},{"title":"Migrate to version 2 of the API","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-api-migration"},{"group":"Specification","pages":[{"title":"Specification","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-specification"},{"title":"Supported languages and countries","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-languages"},{"title":"Captured fields","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-fields"},{"title":"Supported formats","href":"/flexi-capture/cloud/cloud-f-cfor-invoices-formats"}]}]}]}]},{"tab":"Administration","menu":[{"item":"Administration Guide","icon":"gears","description":"Deploy, license, secure, and maintain ABBYY FlexiCapture.","pages":[{"title":"Administration Guide","href":"/flexi-capture/install-setup/install-main"}]},{"item":"Performance Guide","icon":"gauge-high","description":"Architecture, scaling, and performance test results.","pages":[{"title":"Performance Guide","href":"/flexi-capture/performance-guide/pg-introduction"}]},{"item":"Troubleshooting","icon":"wrench","description":"Diagnose installation, integration, and processing problems.","pages":[{"title":"Troubleshooting","href":"/flexi-capture/troubleshooting-guide/tg-introduction"}]},{"item":"Administration and Monitoring Console","icon":"chart-line","description":"Monitor processing and manage the ABBYY FlexiCapture site.","pages":[{"title":"Administration and Monitoring Console","href":"/flexi-capture/web-stations/monitoring-console/start-page"}]},{"item":"Cloud","icon":"cloud","description":"Administer ABBYY FlexiCapture Cloud SaaS.","pages":[{"title":"Cloud","href":"/flexi-capture/introduction-cloud"}]}],"pages":[{"title":"Administration","href":"/flexi-capture/install-setup/install-main"}]},{"tab":"Developer \u0026 Integrations","menu":[{"item":"Programmer's Guide","icon":"code","description":"Integrate external systems with the Application Server Web Services API.","pages":[{"title":"Programmer's Guide","href":"/flexi-capture/api/overview/api"}]},{"item":"Scripting Reference","icon":"file-code","description":"Object model reference for scripts in Document Definitions and processing stages.","pages":[{"title":"Scripting Reference","href":"/flexi-capture/appendix/scripts/scripts"}]},{"item":"Reporting Service","icon":"chart-column","description":"Install and use the ABBYY FlexiCapture Reporting service.","pages":[{"title":"Reporting Service","href":"/flexi-capture/reporting-overview"}]},{"item":"Cloud REST API","icon":"cloud","description":"Process documents programmatically with the FlexiCapture Cloud REST API.","pages":[{"title":"Cloud REST API","href":"/flexi-capture/rest-api"}]},{"item":"Connectors","icon":"plug","description":"Integrate ABBYY FlexiCapture with RPA, ECM, and BPM platforms.","pages":[{"title":"Connectors","href":"/flexi-capture/connectors/ui-path/up-about"}]}],"pages":[{"title":"Developer \u0026 Integrations","href":"/flexi-capture/api/overview/api"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/flexi-capture/release-notes/release-notes"}]}]}]},{"language":"de","pages":[{"title":"de","href":"/de/flexi-capture/invoice-reader/ir-setting-rules"}]},{"language":"es","pages":[{"title":"es","href":"/es/flexi-capture/invoice-reader/ir-setting-rules"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/flexi-capture/invoice-reader/ir-setting-rules"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/flexi-capture/invoice-reader/ir-setting-rules"}]}]},"basePath":"","title":"Rules - ABBYY Documentation","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":[],"chunks":[]}