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 :
Small and medium business | Business Central, N...
Unanswered

Dynamics 365 BC - Using the REST API to receive and invoice a PO (Microsoft.NAV.receiveAndInvoice)

(0) ShareShare
ReportReport
Posted on by
I am trying to use the /receive and invoice/ bound action to do multiple partial invoicings against the same PO.
Based on the discussion here, it looks like I need to modify the PO first to define the data that will be present on the invoice that gets created. However, the vendorInvoiceNumber property is not exposed on the PO so it is not possible to do the action more than once, as second attempts will return the following error:
{
    /error/: {
        /code/: /Application_DialogException/,
        /message/: /Purchase Invoice XXXXX already exists for this vendor.  CorrelationId:  4e3044d5-5c8b-4d69-bc3a-8db1dc533e3f./
    }
}
 
Are you aware of the proper way to do this exclusively through the standard REST API?
I have the same question (2)

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,386 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,774 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,515

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans