検証ルール

請求書の文書定義には、請求書をチェックするためにあらかじめ設定された自動検証ルールが含まれています。これらのルールはいずれも、ルールタブ(文書定義の設定ダイアログ内)で、有効にしたり無効にしたりすることができます。カスタムルールを設定することもできます。

注:以下のルールは、一覧表示されているのと同じ順序で適用されます。

ルール 摘要
Suggest weight UoM* 対応するWeight欄やNetWeight欄が入力されている場合、空欄のGrossWeightUoM**NetWeightUoMWeight UoM欄の値を提案します。値は、空欄でないNetWeightUoMGrossWeightUoM欄に基づいて提案されます。
Check Total Weight Script*

Weight欄の値を確認します。

  • GrossWeight**列が埋まっており、Weight欄が空欄であるか、GrossWeight列の値の合計に合致していない場合、ルールは、Weight欄に、すべてのGrossWeight欄の合計を入力することを提案します。
  • Weight欄が埋まっており、GrossWeight列が空欄である場合、GrossWeight列の任意の行に対して、Weight欄の値が提案されます。
Total amount check すべての明細項目のコストとすべての追加費用の合計が、TotalPrice額列(LineItemsグループ)の値の合計をAdditionalCostsグループのAmount欄の値に和して算出した合計請求額に等しいことを確認します。
Separate currency from amount in Total field 認識中に通貨記号と金額がマージされた場合、Total欄の金額から通貨記号を分離します。後者がに入力されていない場合、通貨の値はCurrency欄にコピーされます。
Check item amount LineItemsグループのすべてのエントリについて、QuantityUnit Priceの積がTotal Priceの値に対応していることを確認します。ひとつの値が欠けている場合は、他のふたつの値に基づいて、その値を提案します(QuantityUnit Priceの積からTotal Priceを導くなど)。
Separate currency from amount in LI_UnitPrice field 認識中に通貨記号が金額とマージされた場合、Unit Price欄の金額から通貨記号を分離します。LineItems目グループが入力されていない場合、通貨値は明細項目グループのCurrency欄にコピーされます。
Separate currency from amount in LI_Total Price 認識中に通貨記号が金額とマージされた場合、通貨記号をTotal Price欄の金額から分離します。LineItemsグループが入力されていない場合、通貨値は明細項目グループのCurrency欄にコピーされます。
Hide LineItems currency if Total is empty プライマリの合計欄が入力されていない場合、LineItemsグループのCurrency欄の値を削除します。
Hide currency if Total is empty プライマリの合計欄が入力されていない場合、文書全体のCurrency欄の値を削除します。
Check LineItems currency value LineItems目グループのCurrency欄の値が ISO コードに対応していることを確認します。Currency欄の値が有効な場合は、LineItemsグループのCurrency欄にコピーします。それ以外の場合は、LineItemsグループの各Currency欄について ISO 準拠の置換を提案します。
Vendor must be found in database

請求書で検出されたベンダーが、Variantsデータセットに存在するか、確認します。

データベースを操作するときは、このルールを有効にする必要があります。

Vendor details must be added to database

画像により検知され、データセットに追加された新しいベンダーも、データベースに追加されたかどうか、確認します。

データベースを操作するときは、このルールを有効にする必要があります。

Fill Value from INCOValues

INCO Term向けの検出値を「略語+拡張子」の形式に標準化します。例:

  • FOB:本船積込渡し条件
  • FAS:本船船側渡し条件
Detect national currency 荷受人の国の通貨を検出します。
Copy currency from LineItems プライマリのCurrency欄の値が空欄または無効の場合、有効な通貨の値がLineItemsグループから検出されれば、それをコピーします。
Copy currency from AdditionalCosts プライマリのCurrency欄の値が空欄または無効の場合、有効な通貨の値がAdditionalCostsグループから検出されれば、それをコピーします。
Check currency value Total欄が空欄でない場合、Currency欄の値をチェックします。もしCurrencyに無効な値が含まれている場合は、ISO コード形式の置換値を提案します。
Information about Consignee must be added to database

画像により検出され、データセットに追加された荷受人の新しいビジネスユニットもデータベースに追加されたか、確認します。

データベースを操作するときは、このルールを有効にする必要があります。

Consignee must be found in database

荷受人のビジネスユニットがデータセットから検出されたか、確認します。

データベースを操作するときは、このルールを有効にする必要があります。

Hide currency if Total is empty2 プライマリのTotal欄が入力されていない場合、AdditionalCostsグループのCurrency欄の値を削除します。
Check Additional Costs Currency Total欄が入力されている場合、AdditionalCostsグループのCurrency欄の値を確認します。もしCurrencyに無効な値が含まれている場合は、ISO コード形式の置換を提案します。
Separate money from amount in AdditionalCosts 認識中に通貨記号が金額とマージされた場合、通貨記号をAdditionalCostsグループのAmount欄の金額から分離します。AdditionalCostsグループが入力されていない場合、通貨が、追加費用グループのCurrency欄にコピーされます。

* は、デフォルトで有効になっていないルールを表わします。

** は、デフォルトで有効になっていない欄を表わします。これらの機能を有効にするには、次のようにします。

  1. 該当する欄を、のリストから選択します。
  2. コンテキストメニューで、 プロパティ...を選択します。
  3. 表示されるダイアログボックスで、全般タブに移動し、フィールド値のエクスポート検証時に表示のオプションを選択します。
ルール 摘要
Suggest weight UoM* Suggests values for empty GrossWeightUoM**, NetWeightUoM, and Weight UoM fields if the corresponding Weight and NetWeight fields are filled in. Values are suggested based on non-empty NetWeightUoM and GrossWeightUoM fields.
Check Total Weight Script*

Checks the value of the Weight field.

  • If the GrossWeight** column is not empty and if the Weight field is either empty or does not correspond to the sum of the values in the GrossWeight column, the rule suggests filling in the Weight field with the sum of all GrossWeight fields.
  • If the Weight field is not empty and the GrossWeight column is, the value of the Weight field is suggested for any line from the GrossWeight column.
Total amount check Checks that the sum of all line item costs and all additional charges is equal to the total invoiced amount as calculated by adding the sum of the values in the TotalPrice column (LineItems group) to the value of the Amount field in the AdditionalCosts group.
Separate currency from amount in Total field Splits the currency symbol from the amount in the Total field if a currency symbol was merged with the amount during recognition. The currency value is copied over to the Currency field if the latter is not filled in.
Check item amount Checks that for every entry in the LineItems group, the product of Quantity and Unit Price corresponds to the value of Total Price. If one of the values is missing, suggests a value for it based on the two other values (product of Quantity and Unit Price suggested for Total Price, etc.).
Separate currency from amount in LI_UnitPrice field Splits the currency symbol from the amount in the Unit Price field if a currency symbol was merged with the amount during recognition. The currency value is copied over to the Currency field in the LineItems group if the latter is not filled in.
Separate currency from amount in LI_Total Price Splits the currency symbol from the amount in the Total Price field if a currency symbol was merged with the amount during recognition. The currency value is copied over to the Currency field in the LineItems group if the latter is not filled in.
Hide LineItems currency if Total is empty Deletes the value of the Currency field in the в группе LineItems group if the primary Total field is not filled in.
Hide currency if Total is empty Deletes the value of the Currency field in the entire document if the primary Total field is not filled in.
Check LineItems currency value Checks that the value in the Currency field in the LineItems group corresponds to an ISO code. If the value in the Currency field is valid, copies it over to the Currency field in the LineItems group. Otherwise, suggests ISO-compliant replacements for each Currency field in the LineItems group.
Vendor must be found in database

Checks whether the vendor detected on the invoice is present in the Variants data set.

This rule must be enabled when working with databases.

Vendor details must be added to database

Checks whether a new vendor that was detected on the image and added to the data set was also added to the database.

This rule must be enabled when working with databases.

Fill Value from INCOValues

Standardizes the detected value for INCO Term to the following format: "acronym: expansion". For example:

  • FOB: Free On Board
  • FAS: Free Alongside Ship
Detect national currency Detects the national currency based on the country of the consignee.
Copy currency from LineItems If the value of the primary Currency field is either empty or invalid, copies over a valid currency value from the LineItems group, if one is detected.
Copy currency from AdditionalCosts If the value of the primary Currency field is either empty or invalid, copies over a valid currency value from the AdditionalCosts group, if one is detected.
Check currency value Checks the value of the Currency field if Total is filled in. If Currency contains an invalid value, suggests replacement values in ISO code format.
Information about Consignee must be added to database

Checks whether a new business unit of the consignee detected on the image and added to the data set was also added to the database.

This rule must be enabled when working with databases.

Consignee must be found in database

Checks whether the consignee business unit was detected in the data set.

This rule must be enabled when working with databases.

Hide currency if Total is empty2 Deletes the value of the Currency field in the AdditionalCosts group if the primary Total field is not filled in.
Check Additional Costs Currency Checks the value of the Currency field in the AdditionalCosts group if the Total field is filled in. If Currency contains an invalid value, suggests replacements in ISO code format.
Separate money from amount in AdditionalCosts Splits the currency symbol from the amount in the Amount field in the AdditionalCosts group if a currency symbol was merged with the amount during recognition. The currency is copied over to the Currency field in the  AdditionalCosts group if the latter is not filled in.

* denotes rules not enabled by default.

** denotes fields not enabled by default. To enable these rules, do the following:

  1. Select the appropriate field from the Fields list.  
  2. In the context menu, select Properties....
  3. In the dialog box that will open, navigate to the General tab and select the following options: Export field value, Show on verification.

25.05.2023 7:55:11

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.