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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans