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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Need to extract invoices have been applied against PO

(4) ShareShare
ReportReport
Posted on by 276
Hi team,
 
I am looking for solution to get list of invoices have been applied against PO in d365fo.
 
Can anyone please let me know the best approach.
 
Give me the thoughts pls. Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Paolo Cecchelli Profile Picture
    344 on at
    Hi,
     
    if you just want to know which invoices were created from POs, the the simplest way is to go to "Accounts payable --> Inquiries and reports --> Invoice -->  Invoice Journal" and add the column "Purchase type":
    Purchase type has two values: "Journal" or "Purchase order". Purchase orders are the ones coming from a PO:
    Pay attention that in Invoice journals the column "Purchase order" (the second in the screen) cannot be trusted because is filled only if there is one PO in the invoice, if multiple is blank.
     
    If instead you want to know each invoice line which PO took into account, I do not think that there is a report OOB but what you can do is to go with the table browser on the VendInvoiceTrans and extract from there (fileds important for the extraction are OrigPurchID, InvoiceID, InternalInvoiceID).
    Maybe someone else have better solutions.
     
    Hope it helps
  • CU10121822-0 Profile Picture
    276 on at
    Thanks Paolo,
     
    Can anyone suggest on this... thanks!
  • CU10121822-0 Profile Picture
    276 on at
    Please let me know in query what tables are required to get the respective invoice which belongs to the PO.
     
    Please give me the thoughts. thanks!
  • Suggested answer
    Paolo Cecchelli Profile Picture
    344 on at
    Hi Christina,
     
    maybe I was not clear enough or maybe I am not getting your question :), let me try to rephrase: in the table VendInvoiceTrans table you have the list of all invoice lines and their respective InvoiceId (field InvoiceId) and also the voucher (InternalInvoiceID). You also have another field called OrigPurchID in which you have the PO number. You have to use the lines and you cannot use the Header (VendInvoiceJour) because you could have more than one PO per Invoice.
     
    To get to the table you can use the table browser and add this URL after the environment URL: 
     
    In this way you will see the fields in the table VendInvoiceTrans:
     
    Moreover, if you want to link to the Purchase Order line, in the same table you have the InventtransID that is the unique identifier of the line on the PO that is also on the VendInvoiceTrans:
    - PO line (PurchLine):
    - VendInvoiceTrans:
     
    Hope now is clearer, if not or if this does not fit your need please let us know 
  • André Arnaud de Calavon Profile Picture
    303,093 Super User 2026 Season 1 on at
    Hi,
     
    Can you please clarify if your question is about Dynamics 365 or Dynamics AX? In the body of your question you mentioned Dynamics 365, but the tags contains the category Dynamics AX. That is conflicting.
     
    In case the reply from Paolo is not what you are looking for, can you then please elaborate on your question? Do you need to run a report or query data on a form? Are you probably looking for help on a development task or do you need a list of invoices for a specific PO number? 
  • CU10121822-0 Profile Picture
    276 on at
    Hi Andre,
     
    Yeah it's from D365FO. I am looking for list of invoices for the PO.
     
    Kindly elaborate pls. thanks!
  • André Arnaud de Calavon Profile Picture
    303,093 Super User 2026 Season 1 on at
    Did the first reply from Paolo not answer your question? If not, please elaborate with exact details.
  • Shubham Das Profile Picture
    29 on at
    Hi,
     
    The response from Paolo is the best way to address this. Other possibilities (slightly complex and non-real time is developing reports using Business Performance Analytics).
     
    Thanks,
    Shubham

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans