I need to notify an issue with the API we tried to use in our application. The issue is, in the Dynamics 365 Business Central, from D365 sandbox from the UI, from the Purchase Order, if we manually put details and perform /Receive And Invoice/ option, the purchase invoice gets created with the details. However, if we use the API for /ReceiveAndInvoice/ (i.e. https:/api.businesscentral.dynamics.com/v2.0/{myinstanceid}/api/v2.0/companies({mycompanyid})/purchaseOrders({purchaseorderguid)/Microsoft.NAV.receiveAndInvoice), it does not error out but even does not create the purchase invoice entry. See below... Looking forward for any solution.

Report
All responses (
Answers (