Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
After you install the Invoice capture solution, it provides default configurations for using it. These default configurations might not fully meet your requirements. In Invoice capture, you can find configurations in System preference.
System preference
AI Builder model – The default model is set to Invoice processing model. This prebuilt model can handle the most common invoices in various languages. However, it can't handle more complex invoice layouts. For those layouts, you can introduce your own models by uploading additional sample invoices, tagging the fields, and training the model. Additionally, you can define new model fields and map them to the fields in Invoice capture. You can transfer these additional captured fields to Dynamics 365 Finance to fulfill specific business requirements. You build a custom invoice model on top of the prebuilt model. However, before you apply it, be aware of the following limitations:
- Key-value pairs aren't returned, and the Map key-value pair fields icon is disabled.
- Confidence scores aren't returned.
- The position of invoice lines isn't returned.
- Only one decimal precision formatting is allowed when a new currency field is defined.
- Currency codes aren't returned. This limitation might affect the derivation of the currency code.
Channel for file upload – The channel that's used to directly upload invoice files.
File filter – Select the file filter to apply additional filtering to incoming files at the application level. In this case, invoice file processing halts at the Received files stage.
Configuration group – The configuration group that's used if a configuration group isn't set at the legal entity or vendor account level during invoice processing.
Use continuous learning – Select this option to turn on the continuous learning feature. The continuous learning feature tries to record patterns between the invoice context and manually selected entities. Immediately after the invoice is successfully transferred, the relationship is recorded and applied to any invoice that arrives in the future and has the same context.
Auto invoice cleanup – Select this option to automatically clean up transferred invoices and voided invoices that are older than 180 days every day. The job deletes both the invoice data and the original invoice file.
Exclude cost invoice lines – Select this option to hide and skip validation of cost invoice lines when cost invoices are transferred to Dynamics 365 Finance as an invoice journal. This option applies only when the target invoice type for cost invoices is set to Invoice journal in Finance.
Enable asynchronous processing – Select this option to process OCR recognition in asynchronous mode. This setting is recommended for environments that process large invoices or high volumes. It uses batch requests to reduce processing time. When you select this option, the system polls for the OCR result after the recognition request is submitted. The system retries up to 12 times before the invoice is marked as failed. If all polling attempts are exhausted, the received file is set to Canceled, and the user can select Retry to resubmit it.
Only accept confirmed purchase orders – Select this option to restrict invoice matching to purchase orders with a status of Confirmed. Invoices that reference unconfirmed purchase orders aren't processed.
Auto-clear invalid lookup values – Select this option to automatically remove captured field values that don't match any entry in their corresponding lookup list. This action prevents invalid values from blocking invoice processing.
Quantity precision – Select the number of decimal places used for invoice line quantity fields. The default value is 2. You can increase this value to 3 for precision-sensitive industries where two decimal places are insufficient.
Manage processing rules
In invoice capture processing, apply different derivation rules to ensure that the invoices are complete and correct. Because some rules aren't applicable to all customers, use 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 invoices of the Cost type in Dynamics 365 Finance. For purchase order invoices, if the currency codes on the derived purchase orders are unique, use those currency codes for the invoices.
User confidence score – Select this parameter to skip the validation of confidence scores.
Validate unit of measure for PO invoice – Select this parameter to ensure the consistency of the unit of measure between the invoice line and its associated purchase order line.
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, calculate the line net amount 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.
Credit note process – Select the Support credit note parameter to automatically classify a document as a credit note if the document header contains terms such as Credit note or Credit memo. When a document is classified as a credit note, the amount and quantity fields are automatically adjusted to negative values if they're positive. You can customize the list of recognized terms by editing the Credit note dictionary field. The default terms are credit note and credit memo, separated by commas.
Remove zero invoice lines – Select this parameter to automatically remove invoice lines where the quantity, unit price, and line net amount are all zero or empty. This prevents empty lines captured by OCR from requiring manual review.
Manage file filters (optional)
By using Manage file filters, administrators can define extra filters for incoming invoice files. The system receives files that don't meet the filter criteria, but they appear in the Received files (Pending) list with a status of Canceled. Clerks can review these 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, the system doesn't receive files that don't meet the criteria.
After you install the Invoice capture solution, a default file filter is available. This file filter is global. If you want a different filter setting, create a file filter and update the default filter.
File filters are flexible and can be applied at different channel levels. When the system receives an invoice document, it first checks the channel for a file filter. If you don't assign a file filter to the channel level, the system uses the file filter at the system level.
File filter settings
Configure the following settings in the file filter:
Accepted file size – Define the minimum and maximum accepted file sizes for invoice documents. The maximum file size can't exceed 20 megabytes (MB).
Supported file types – Select at least one of the following file types that the AI Builder recognition service currently supports:
- PNG
- JPG
- JPEG
- TIF
- TIFF
Supported file names – Use file name rules to filter out files that aren't relevant to invoices. Apply different rules to accept files only when the name contains predefined strings, or to exclude files that contain the defined strings.
Image dimensions – Set the image dimensions to be between 50 x 50 pixels and 10,000 x 10,000 pixels.
PDF dimensions – Set the PDF dimensions to be at most 17 x 17 inches, which is the equivalent of the legal or A3 paper sizes or smaller.
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. You perform and record business activities separately for each legal entity. In Microsoft Power Platform, you link business units, security roles, and users to conform to the role-based security model. This link controls data access through business units and security roles, and accounts payable clerks can 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 products to multiple legal entities, you need to create a vendor account for each legal entity. You can record business activity for each legal entity. In Invoice capture, use the vendor master data to automatically derive the vendor account and help increase the touchless rate in invoice processing.
Sync legal entities
In the Manage legal entities process, you can't manually create legal entities. Instead, sync the legal entities by following these steps.
- Go to Setup > System setup > Manage legal entities.
- Select Sync.
- In the confirmation message box, select OK.
When synchronization finishes, a message shows the number of new legal entities. The list view automatically refreshes to show the new legal entities.
Sync vendors
In Manage vendors, you can sync vendor accounts by using three options:
- Sync all – syncs all vendor accounts. This option can potentially cause a performance problem.
- Sync by legal entity – select one or multiple legal entities and sync the vendors in the selected legal entities.
- Sync by selection – search for 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:
- In Dynamics 365 Finance, go to Accounts payable > Setup > Invoice capture.
- Select the Sync all vendors checkbox next to the onboarded legal entity.