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

Notifications

Announcements

No record found.

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

    Hello,

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

  • Verified answer
    Community Member Profile Picture
    on at

    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

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans