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, ...
Unanswered

Issue with Electronic Reporting XML Attachment Mismatch

(0) ShareShare
ReportReport
Posted on by 143

We are experiencing an issue where an incorrect XML file attaches to the invoice header (ProjInvoiceJour) upon posting a Project Invoice.

Here is our current setup:

  • Customer Setup: e-Invoice and e-Invoice Attachment options are activated on the Customer Details.

  • Print Management Setup: We have configured two report entries under Project Invoice Print Management:

    1. The standard report rendering in PDF format.

    2. The Electronic Reporting format rendering in XML format.

The Issue:

  1. Upon posting a Project Invoice, the PDF generates via Print Management and attaches correctly to the invoice journal attachments (ProjInvoiceJour).

  2. However, the XML file attached to the invoice record is incorrect (it references an older invoice, e.g., F100000001, instead of the current invoice being posted).

  3.  When navigating to Electronic Reporting Jobs, the generated XML file log is 100% correct and corresponds to the newly posted invoice ID.

It appears that during the posting transaction, the process attaching the XML file to ProjInvoiceJour fetches an cached DocuRef record instead of linking the newly generated XML output from the current ER execution.

Questions:What is the recommended setup when both PDF and ER XML outputs need to be attached to ProjInvoiceJour simultaneously via Print Management ?

  • CU22041105-0 Profile Picture
    98 on at

    The issue is that PDF and XML are generated through different processes. The XML in Electronic Reporting Jobs can be correct while the attachment on ProjInvoiceJour points to an older invoice.

    Likely fix: configure the ER destination/Print Management so both outputs are generated from the same current project invoice execution, rather than treating the XML job and invoice attachment as separate outputs. Microsoft also confirms that project invoices can generate electronic documents and that ER destinations can control where those outputs go.

    So the key thing to check is the Project Invoice Print Management + ER destination configuration, especially whether an old/cached ER execution is being attached.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans