Notifications
Announcements
No record found.
I didn't find endpoint to create purchase orders in Microsoft Dynamics 365 Business Central API doc (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchasereceipt). When I tried to create a purchase order receipt via postman I'm getting the below in response
Hi,
You can only get the Posted Purchase receipt.
You cannot insert data in that entity since it is posted document.
You can refer the below link for Purchase Order API in business central
docs.microsoft.com/.../dynamics_purchaseorder
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much
Hi, I checked all the standard APIs, as shown below, you can create purchaseReceipts and purchaseReceiptLines through API, but not from Purchase Order.
If you really need to create, you need a develop a new Custom API.
Creating and Interacting with an OData V4 Bound Action
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-and-interacting-with-odatav4-bound-action
Or action in API
https://yzhums.com/20111/
PS: API page type cannot be extended by creating a page extension object. Instead, you must create a new API by adding a page object.
More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype
Hope this helps.
Thanks.
ZHU
Try this repo: github.com/.../PostOrdersWebService
Dear Zhu,
I havea a similar issue : i want to post a PO only for Receipt (without Invoice) from Power Automate using your way.
What is the action what I need to run in API?
PS I am really thanksful for your videos as I could learn many useful tricks from them.
yzhums pls see my question above
You need to round the receive bound action as described here if you are using the standard API
learn.microsoft.com/.../dynamics_purchaseorder
If you want to post the purchase order via postman, you can create a custom web service for your codeunit and hit the procedure that calls the 'Purch.-Post' codeunit. You can also use that web service in your power automate http request to trigger the posting of the purchase order.
Regards
Hi, Inge and People Eater are right.
More Details:
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,577
YUN ZHU 888 Super User 2025 Season 2
Jainam M. Kothari 778 Super User 2025 Season 2