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 :
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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans