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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How do I extract the Products within an Invoice?

(0) ShareShare
ReportReport
Posted on by 70

Hello All.

I need to extract information from Invoice and that's easy because I can create a View and perform an Excel Export or use Report function. However, a critical piece of information I need is the Productt in the Invoice and I realise that the Product list is within a Subgrid, therefore the data does not reside in the Invoice entity and thus can't be extract directly using the methods mentioned above.

I am attempting to use FetchXML Builder but I can't link the entities to where the Product data reside. Can anyone help/guide me please. Thank you.

pastedimage1641843032081v1.png

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How do I extract the Products within an Invoice?

    Hello,

    If you want to extract products your primary entity should be invoicedetail.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: How do I extract the Products within an Invoice?

    Hi Partner, 

    There is one entity named invoice line--Line item in an invoice containing detailed billing information for a product.pastedimage1641863983122v1.png

    It has one N:1 relationship with Invoice entity, so you need use it to get product information in invoice entity.

    pastedimage1641864902430v4.png

    Build FetchXML:

    pastedimage1641864873188v3.png

    Also, you can create a report to show related invoice line records for each invoices.

    Use Report Wizard in Dynamics 365 Customer Engagement (on-premises) | Microsoft Docs

    pastedimage1641865560742v5.png

    Result:

    pastedimage1641866005055v6.png

  • Dyname365 Profile Picture
    70 on at
    RE: How do I extract the Products within an Invoice?

    Thank you for the answers and guide.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans