14 Nov’16

D365 Finance and OperationsImplementing OCR Services in Dynamics 365 for Financials


The OCR Service technology with added line item capture functionality can be used in the Dynamics 365 for Financials. OCR stands for Optical Character Recognition which enables the user to scan the invoice document and send it to Lexmark Invoice Capture Service(ICS) for OCR Services. This helps the user to reduce a lot of manual work of entering data into the system and also automates the process of obtaining Vendor invoice data.

In this article, we will see how to set up and implement OCR Services in Dynamics 365 for Financials.


  1. Microsoft Dynamics NAV 2017.
  2. Lexmark ICS login credentials.

Purpose of the Setup:

Our goal is to setup and implement OCR Services in MS Dynamics 365 for Financials.


  1. Setting up OCR Services in Dynamics 365 Financials
    1. The User will have to click the search option Button to the Top Right of the Web Client window.
    2. In the search box, the user has to type OCR Service Setup to open the OCR Service Setup page.
    3. Fig 1.1 Opening the OCR Service Setup page using search option
    4. In the OCR Service Setup page the user will have to will have to enter in the user name, password and authentication key which will be provided to the user once the user has registered to Lexmark Invoice Capture Service(ICS).
    5. Once this is done the user will have to test the connection by selecting the Test Connection button. A dialog box will appear once the connection is tested stating whether the connection is successfully established or not.
    6. The user has to finally check the Enable checkbox to enable the OCR Services for MS Dynamics 365 for Financials.
    7. Fig 1.2 Setting up Credentials for the OCR Service Setup
  2. Setting up Line Items
    In order to capture the line items into purchase invoices in MS Dynamics 365 for Financials the mappings need to be updated by the following steps

    1. In Dynamics 365 for Financials, open the Data Exchange Definition page
    2. The user will have to save a backup of the OCRINVOICE existing mapping by selecting the ‘Export Data Exchange Definition’ option.
    3. After taking a backup of the existing mapping, delete the OCRINVOICE map.
    4. Download the new mapping file by using the following link
    5. The user has to import the new mapping file by selecting the ‘Import Data Exchange’ option.
    6. Fig 2.1 Setting up Line items by changing the mapping of the OCR Service in the Data exchange Definition page
  1. Using OCR Services in MS Dynamics 365 for Financials
    1. The User will click on Incoming Document option or type ‘Incoming Documents’ to open the Incoming document page.
    2. User will have to upload the Document(PDF/Image) that is to be used in the OCR Service by clicking on ‘Create from File’ option which will upload the file to the ‘Main Attachments’ of the Incoming Document in MS Dynamics 365 for Financials.
    3. To Send the document to the OCR Service the user will have to click on the Send to ‘OCR Service’ option.
    4. After waiting for some time till the document processing is completed, User will click in the Receive form OCR Service.
    5. On receiving the OCR Service, the Financial Details gets updated in Incoming Document.
    6. User will Check if the Financial Details received are correct or not
    7. If yes, then user will have to click on Create Document option to create purchase Invoice.
    8. If no, then user will have to click on Correct OCR Data option and make changes to the required fields and then on Click Send OCR Feedback to correct the OCR Service from making similar errors on future incoming documents. User will the create the purchase invoice by clicking on create document option.
    9. Fig. 3.1 Uploading the PDF Document of the Invoice into the Incoming Documents Page

      Fig. 3.2 Sending the Incoming Document to the OCR Service.

      Fig. 3.3 Receiving Financial Information from the OCR Service.
    10. To create a purchase invoice, record the user clicks on the ‘Create Document’ option to generate a purchase invoice record of the OCR read Incoming Document.
    11. Fig. 3.4 Creating Document (i.e. Purchase Invoice) of the OCR read Incoming Document


The OCR Service option in MS Dynamics 365 for Financials helps to speed up the process rapidly of processing invoices more accurately and gives a better result. The OCR Service provided by Lexmark Invoice Capture Service automates the entire process and saves a lot of time that goes in manually entry of data into the system.


Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Performing Update operation in Microsoft Dynamics NAV through Integration in Scribe Online

    13 November’ 2019

    Introduction: Use the Update Block to update existing records in the source or target datastore. While integrating w...

    Read more
  • Adding Microsoft Dynamics NAV Connection in Tibco Scribe Online

    13 November’ 2019

    Introduction: Establishing a connection is an important step before developing a solution for Integration. While integra...

    Read more
  • Time zone Conversion from Microsoft D365 for SSRS Reporting

    6 November’ 2019

    Introduction: Converting Date/Time values according to a time zone is quite challenging task in SSRS Reporting. For D365...

    Read more
  • How to Synchronize Office 365 and Zoho People?

    4 November’ 2019

    If your organization is using Zoho People and Office 365, you will find this article very useful. In this article we are...

    Read more
  • Check Plugin Timeout issues using Tracing in D365 CE

    31 October’ 2019

    In Dynamics plugin implementations, you might have lengthy complex plugins that makes calls to Dynamics several times. I...

    Read more