Configure the Invoice capture solution

After the Invoice capture solution is installed, default configurations for using it are provided. These default configurations might not fully meet the customer's requirements. In Invoice capture, configurations can be found in System preference.

System preference

  1. AI Builder model – The default model is set to Invoice processing model. This prebuilt model can handle the most common invoices in various languages.

    Note

    In a future release, customers can create their own custom prebuilt models to handle invoices that have more complex layouts. After a model is published, additional mapping is required to map the model fields to the invoice files.

  2. Channel for file upload – A default channel is provided for directly uploading the invoice files.

  3. File filter – Select the file filter to apply additional filtering to incoming files at the application level.

  4. Configuration group – The configuration group that is used if a configuration group isn't set at the legal entity or vendor account level during invoice processing.

  5. Use continuous learning – Select this option to turn on the continuous learning feature.

  6. Auto invoice cleanup - Select this option to automatically clean up the transferred invoices and voided invoices older than 180 days every day.

Manage processing rules

In invoice capture processing, different derivation rules are applied to ensure that the invoices are complete and correct. Because some rules aren't applicable to all customers, the processing uses the following parameters to enable or disable the logic:

  • Format purchase order – Select this parameter to check the number sequence settings in Microsoft Dynamics 365 Finance and format the purchase order number accordingly. This parameter can increase the touchless rate when the purchase order number doesn't follow the format that's set in the number sequence settings.

    Here are some supported format examples:

    • Purchase order number: "125", Format: "########", Formatted purchase order number: "00000125"
    • Purchase order number: "00125", Format: "########", Formatted purchase order number: "00000125"
    • Purchase order number: "125", Format: "USMF-########", Formatted purchase order number: "USMF-00000125"
    • Purchase order number: "PO00125", Format: "########", Formatted purchase order number: "00000125"
    • Purchase order number: "P.O.125", Format: "USMF-########", Formatted purchase order number: "USMF-00000125"
    • Purchase order number: "125", Format: "PO-########", Formatted purchase order number: "PO-00000125"
  • Derive currency code for cost invoice – Select this parameter to automatically derive the currency code from invoice master data in Dynamics 365 Finance. The logic is applied only for cost invoices, because the currency code must be identical to the currency code on the purchase order.

  • Validate total sales tax amount – Select this parameter to validate the consistency between the sales tax amount on the Sales tax card and the total sales tax amount. If there's no sales tax line, the validation logic is skipped.

  • Validate total amount – Select this parameter to confirm alignment between the calculated total invoice amount and the captured total amount.

    • If the line amount has a zero or null value, the line net amount is calculated as Unit price × Quantity.
    • If the total sale tax has a zero or null value, the total sales tax is the sum of the sales tax lines.

    Total amount == Sum (line amount) + Sum (charge lines)ABS(Discount) + Total sales tax

    If there's no invoice line, or if the sum of the line amount is zero, the total amount validation is skipped.

Manage file filters (optional)

Manage file filters lets administrators define additional filters for incoming invoice files. Files that don't meet the filter criteria are received, but they appear in the Received files (Pending) list with a status of Canceled. Clerks can review the files and decide whether to void and obsolete them.

Note

This behavior differs from the behavior that's defined in the flow behind the channel. In that flow, files that don't meet the criteria aren't received.

After the Invoice capture solution is installed, a default file filter is provided. This file filter is global. If you want a different filter setting, you can create a file filter and update the default filter.

File filters are flexible and can be applied at different channel levels. When an invoice document is received, the channel is checked first for a file filter. If no file filter is assigned to the channel level, the file filter at the system level is used.

File filter settings

Configure the following settings in the file filter:

  1. Accepted file size – Define the minimum and maximum accepted file sizes for invoice documents. The maximum file size can't exceed 20 megabytes (MB).

  2. Supported file types – Select at least one of the following file types that are currently supported for AI Builder recognition service:

    • PDF
    • PNG
    • JPG
    • JPEG
    • TIF
    • TIFF
  3. Supported file names – Use file name rules to filter out files that aren't relevant to invoices. Different rules can be applied to accept files only when the name contains predefined strings, or to exclude files that contain the defined strings.

Definition of master data

Invoice capture processing requires two basic data types to classify invoices: legal entities and vendors.

Legal entities are organizations that are registered with legal authorities and defined in Dynamics 365 Finance. Business activities are performed and recorded separately for each legal entity. In Microsoft Power Platform, business units, security roles, and users are linked to conform to the role-based security model. This link controls data access through business units and security roles, and allows Accounts payable clerks to view only the invoices that are assigned to their users.

Vendors are individuals or organizations that supply goods or services to a business. In Dynamics 365 Finance, if a vendor provides services or product to multiple legal entities, a vendor account has to be created for each legal entity and business activity can be recorded. In Invoice capture, the vendor master data is used to automatically derive the vendor account and helps increase the touchless rate in invoice processing.

In the Manage legal entities process, users can't manually create legal entities. Instead, you must sync the legal entities by following these steps.

  1. Go to Setup > System setup > Manage legal entities.
  2. Select Sync.
  3. In the confirmation message box, select OK.

After synchronization is completed, a message shows the number of new legal entities. The list view is automatically refreshed to show the new legal entities.

Sync vendors

In Manage vendors, there are three options to sync the vendor accounts:

  • Sync all – all vendor accounts are synced. This will potentially cause a performance issue.
  • Sync by legal entity – The administrator can select one or multiple legal entities and sync the vendors in the selected legal entities.
  • Sync by selection – Administrators can search and select one or multiple vendors and sync the selected vendors.

An Accounts payable administrator can initiate the vendor synchronization manually or in real time. To enable real-time synchronization, follow these steps.

  1. In Dynamics 365 Finance, go to Accounts payable > Setup > Invoice capture.
  2. Select the Sync all vendors checkbox next to the onboarded legal entity.