I am not having success with this answer. We want to capture the item revision letter (REV) for each invoice line. When I add Rev as a Query value it only returns the first one. The term REV is provided on every line. It would be nice if I could specify Item.Rev or Rev[] to infer that it's in the item array.
AnalyzeDocument - Query fields on Items
Hello, I'm using 'AnalyzeDocument' operation of DocumentAI, using the 'prebuilt-invoice' model.
Can I use "Query fields" for invoice lines (items)?
(https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept-query-fields?view=doc-intel-4.0.0)
Azure AI Document Intelligence
3 answers
Sort by: Most helpful
-
-
Azar 29,520 Reputation points MVP Volunteer Moderator
2024-02-20T10:43:49.7466667+00:00 Hi there Marco
Thats a great question and thanks for using QandA platform
Yes, you can use the "Query fields" feature for invoice lines (items) when using the 'prebuilt-invoice' model with the 'AnalyzeDocument' operation of Azure AI Document Intelligence.
This allows you to extract specific fields or information from your documents with ease. By defining queries tailored to the invoice items, you can retrieve relevant data such as item names, quantities, prices, and more. it can also enhances the accuracy and efficiency of extracting structured information from your invoices, streamlining your document processing workflows.
If this helps kindly accept the answer thanks much.
-
VasaviLankipalle-MSFT 18,676 Reputation points Moderator
2024-02-20T15:58:15.3966667+00:00 Hello @Marco , Thanks for using Microsoft Q&A Platform.
Document Intelligence Studio query field extraction is currently available with layout and prebuilt models, excluding the UX.Tax prebuilt models.
Yes, you can use
Query fields
feature withpre-built Invoice
model. This Query Fields feature is currently available with layout and all prebuilt models, excluding the UX.Tax prebuilt models.!I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.