web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Purchase Invoice OCR Capture

(0) ShareShare
ReportReport
Posted on by 152
Hello Experts,
 
I have created the purchase invoice document through the OCR service. The document that I sent to the OCR service contains a line type as an item, which is recognised by the OCR service, and the item code and details are in the json response from the OCR service. But the invoice document is created with the line type G/L Account instead of item. How can this be done properly with the line type as an item, the same as the scanned document? The Line details are not populating properly. 
 
See the below screen shot for the copy of Purchase invoice document which used to capture by OCR service. 
 
See the below screen shot for the Invoice Document which is created by the OCR service.
 
 
Share your thoughts.
 
Best Regards,
Ranjith 
I have the same question (3)
  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at
    hi
    I believe that you cannot retrieve it from the document, as it is not indicated on the invoice printout whether it is an item or an account.
    so my suggestion is to do a little development that directly sets the type of the row with GL\Account, maybe try to do a get on table 15 or 27 to check if it is an account or an item.
     
    DAniele

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans